| 1 |
typedef unsigned char UChar; |
= |
1 |
typedef unsigned char UChar; |
| 2 |
typedef signed char Char; |
|
2 |
typedef signed char Char; |
| 3 |
typedef char HChar; |
|
3 |
typedef char HChar; |
| 4 |
typedef unsigned short UShort; |
|
4 |
typedef unsigned short UShort; |
| 5 |
typedef short Short; |
|
5 |
typedef short Short; |
| 6 |
typedef unsigned int UInt; |
|
6 |
typedef unsigned int UInt; |
| 7 |
typedef int Int; |
|
7 |
typedef int Int; |
| 8 |
typedef unsigned long long ULong; |
|
8 |
typedef unsigned long long ULong; |
| 9 |
typedef long long Long; |
|
9 |
typedef long long Long; |
| 10 |
typedef UInt U128[4]; |
|
10 |
typedef UInt U128[4]; |
| 11 |
union __anonunion_V128_1 { |
|
11 |
union __anonunion_V128_1 { |
| 12 |
UChar w8[16] ; |
|
12 |
UChar w8[16] ; |
| 13 |
UShort w16[8] ; |
|
13 |
UShort w16[8] ; |
| 14 |
UInt w32[4] ; |
|
14 |
UInt w32[4] ; |
| 15 |
ULong w64[2] ; |
|
15 |
ULong w64[2] ; |
| 16 |
}; |
|
16 |
}; |
| 17 |
typedef union __anonunion_V128_1 V128; |
|
17 |
typedef union __anonunion_V128_1 V128; |
| 18 |
typedef float Float; |
|
18 |
typedef float Float; |
| 19 |
typedef double Double; |
|
19 |
typedef double Double; |
| 20 |
typedef unsigned char Bool; |
|
20 |
typedef unsigned char Bool; |
| 21 |
typedef UInt Addr32; |
|
21 |
typedef UInt Addr32; |
| 22 |
typedef ULong Addr64; |
|
22 |
typedef ULong Addr64; |
| 23 |
typedef unsigned long HWord; |
|
23 |
typedef unsigned long HWord; |
| 24 |
typedef __builtin_va_list __gnuc_va_list; |
|
24 |
typedef __builtin_va_list __gnuc_va_list; |
| 25 |
typedef __gnuc_va_list va_list; |
|
25 |
typedef __gnuc_va_list va_list; |
| 26 |
typedef unsigned long UWord; |
|
26 |
typedef unsigned long UWord; |
| 27 |
typedef long Word; |
|
27 |
typedef long Word; |
| 28 |
typedef UWord Addr; |
|
28 |
typedef UWord Addr; |
| 29 |
typedef UWord AddrH; |
|
29 |
typedef UWord AddrH; |
| 30 |
typedef UWord SizeT; |
|
30 |
typedef UWord SizeT; |
| 31 |
typedef Word SSizeT; |
|
31 |
typedef Word SSizeT; |
| 32 |
typedef Word PtrdiffT; |
|
32 |
typedef Word PtrdiffT; |
| 33 |
typedef Word OffT; |
|
33 |
typedef Word OffT; |
| 34 |
typedef Long Off64T; |
|
34 |
typedef Long Off64T; |
| 35 |
struct __anonstruct_UWordPair_2 { |
|
35 |
struct __anonstruct_UWordPair_2 { |
| 36 |
UWord uw1 ; |
|
36 |
UWord uw1 ; |
| 37 |
UWord uw2 ; |
|
37 |
UWord uw2 ; |
| 38 |
}; |
|
38 |
}; |
| 39 |
typedef struct __anonstruct_UWordPair_2 UWordPair; |
|
39 |
typedef struct __anonstruct_UWordPair_2 UWordPair; |
| 40 |
typedef UInt ThreadId; |
|
40 |
typedef UInt ThreadId; |
| 41 |
struct __anonstruct_SysRes_3 { |
|
41 |
struct __anonstruct_SysRes_3 { |
| 42 |
UWord _val ; |
|
42 |
UWord _val ; |
| 43 |
Bool _isError ; |
|
43 |
Bool _isError ; |
| 44 |
}; |
|
44 |
}; |
| 45 |
typedef struct __anonstruct_SysRes_3 SysRes; |
|
45 |
typedef struct __anonstruct_SysRes_3 SysRes; |
| 46 |
enum __anonenum_IRType_4 { |
|
46 |
enum __anonenum_IRType_4 { |
| 47 |
Ity_INVALID = 69632, |
|
47 |
Ity_INVALID = 69632, |
| 48 |
Ity_I1 = 69633, |
|
48 |
Ity_I1 = 69633, |
| 49 |
Ity_I8 = 69634, |
|
49 |
Ity_I8 = 69634, |
| 50 |
Ity_I16 = 69635, |
|
50 |
Ity_I16 = 69635, |
| 51 |
Ity_I32 = 69636, |
|
51 |
Ity_I32 = 69636, |
| 52 |
Ity_I64 = 69637, |
|
52 |
Ity_I64 = 69637, |
| 53 |
Ity_I128 = 69638, |
|
53 |
Ity_I128 = 69638, |
| 54 |
Ity_F32 = 69639, |
|
54 |
Ity_F32 = 69639, |
| 55 |
Ity_F64 = 69640, |
|
55 |
Ity_F64 = 69640, |
| 56 |
Ity_F128 = 69641, |
|
56 |
Ity_F128 = 69641, |
| 57 |
Ity_V128 = 69642 |
|
57 |
Ity_V128 = 69642 |
| 58 |
} ; |
|
58 |
} ; |
| 59 |
typedef enum __anonenum_IRType_4 IRType; |
|
59 |
typedef enum __anonenum_IRType_4 IRType; |
| 60 |
enum __anonenum_IREndness_5 { |
|
60 |
enum __anonenum_IREndness_5 { |
| 61 |
Iend_LE = 73728, |
|
61 |
Iend_LE = 73728, |
| 62 |
Iend_BE = 73729 |
|
62 |
Iend_BE = 73729 |
| 63 |
} ; |
|
63 |
} ; |
| 64 |
typedef enum __anonenum_IREndness_5 IREndness; |
|
64 |
typedef enum __anonenum_IREndness_5 IREndness; |
| 65 |
enum __anonenum_IRConstTag_6 { |
|
65 |
enum __anonenum_IRConstTag_6 { |
| 66 |
Ico_U1 = 77824, |
|
66 |
Ico_U1 = 77824, |
| 67 |
Ico_U8 = 77825, |
|
67 |
Ico_U8 = 77825, |
| 68 |
Ico_U16 = 77826, |
|
68 |
Ico_U16 = 77826, |
| 69 |
Ico_U32 = 77827, |
|
69 |
Ico_U32 = 77827, |
| 70 |
Ico_U64 = 77828, |
|
70 |
Ico_U64 = 77828, |
| 71 |
Ico_F32 = 77829, |
|
71 |
Ico_F32 = 77829, |
| 72 |
Ico_F32i = 77830, |
|
72 |
Ico_F32i = 77830, |
| 73 |
Ico_F64 = 77831, |
|
73 |
Ico_F64 = 77831, |
| 74 |
Ico_F64i = 77832, |
|
74 |
Ico_F64i = 77832, |
| 75 |
Ico_V128 = 77833 |
|
75 |
Ico_V128 = 77833 |
| 76 |
} ; |
|
76 |
} ; |
| 77 |
typedef enum __anonenum_IRConstTag_6 IRConstTag; |
|
77 |
typedef enum __anonenum_IRConstTag_6 IRConstTag; |
| 78 |
union __anonunion_Ico_7 { |
|
78 |
union __anonunion_Ico_7 { |
| 79 |
Bool U1 ; |
|
79 |
Bool U1 ; |
| 80 |
UChar U8 ; |
|
80 |
UChar U8 ; |
| 81 |
UShort U16 ; |
|
81 |
UShort U16 ; |
| 82 |
UInt U32 ; |
|
82 |
UInt U32 ; |
| 83 |
ULong U64 ; |
|
83 |
ULong U64 ; |
| 84 |
Float F32 ; |
|
84 |
Float F32 ; |
| 85 |
UInt F32i ; |
|
85 |
UInt F32i ; |
| 86 |
Double F64 ; |
|
86 |
Double F64 ; |
| 87 |
ULong F64i ; |
|
87 |
ULong F64i ; |
| 88 |
UShort V128 ; |
|
88 |
UShort V128 ; |
| 89 |
}; |
|
89 |
}; |
| 90 |
struct _IRConst { |
|
90 |
struct _IRConst { |
| 91 |
IRConstTag tag ; |
|
91 |
IRConstTag tag ; |
| 92 |
union __anonunion_Ico_7 Ico ; |
|
92 |
union __anonunion_Ico_7 Ico ; |
| 93 |
}; |
|
93 |
}; |
| 94 |
typedef struct _IRConst IRConst; |
|
94 |
typedef struct _IRConst IRConst; |
| 95 |
struct __anonstruct_IRCallee_8 { |
|
95 |
struct __anonstruct_IRCallee_8 { |
| 96 |
Int regparms ; |
|
96 |
Int regparms ; |
| 97 |
HChar *name ; |
|
97 |
HChar *name ; |
| 98 |
void *addr ; |
|
98 |
void *addr ; |
| 99 |
UInt mcx_mask ; |
|
99 |
UInt mcx_mask ; |
| 100 |
}; |
|
100 |
}; |
| 101 |
typedef struct __anonstruct_IRCallee_8 IRCallee; |
|
101 |
typedef struct __anonstruct_IRCallee_8 IRCallee; |
| 102 |
struct __anonstruct_IRRegArray_9 { |
|
102 |
struct __anonstruct_IRRegArray_9 { |
| 103 |
Int base ; |
|
103 |
Int base ; |
| 104 |
IRType elemTy ; |
|
104 |
IRType elemTy ; |
| 105 |
Int nElems ; |
|
105 |
Int nElems ; |
| 106 |
}; |
|
106 |
}; |
| 107 |
typedef struct __anonstruct_IRRegArray_9 IRRegArray; |
|
107 |
typedef struct __anonstruct_IRRegArray_9 IRRegArray; |
| 108 |
typedef UInt IRTemp; |
|
108 |
typedef UInt IRTemp; |
| 109 |
enum __anonenum_IROp_10 { |
|
109 |
enum __anonenum_IROp_10 { |
| 110 |
Iop_INVALID = 81920, |
|
110 |
Iop_INVALID = 81920, |
| 111 |
Iop_Add8 = 81921, |
|
111 |
Iop_Add8 = 81921, |
| 112 |
Iop_Add16 = 81922, |
|
112 |
Iop_Add16 = 81922, |
| 113 |
Iop_Add32 = 81923, |
|
113 |
Iop_Add32 = 81923, |
| 114 |
Iop_Add64 = 81924, |
|
114 |
Iop_Add64 = 81924, |
| 115 |
Iop_Sub8 = 81925, |
|
115 |
Iop_Sub8 = 81925, |
| 116 |
Iop_Sub16 = 81926, |
|
116 |
Iop_Sub16 = 81926, |
| 117 |
Iop_Sub32 = 81927, |
|
117 |
Iop_Sub32 = 81927, |
| 118 |
Iop_Sub64 = 81928, |
|
118 |
Iop_Sub64 = 81928, |
| 119 |
Iop_Mul8 = 81929, |
|
119 |
Iop_Mul8 = 81929, |
| 120 |
Iop_Mul16 = 81930, |
|
120 |
Iop_Mul16 = 81930, |
| 121 |
Iop_Mul32 = 81931, |
|
121 |
Iop_Mul32 = 81931, |
| 122 |
Iop_Mul64 = 81932, |
|
122 |
Iop_Mul64 = 81932, |
| 123 |
Iop_Or8 = 81933, |
|
123 |
Iop_Or8 = 81933, |
| 124 |
Iop_Or16 = 81934, |
|
124 |
Iop_Or16 = 81934, |
| 125 |
Iop_Or32 = 81935, |
|
125 |
Iop_Or32 = 81935, |
| 126 |
Iop_Or64 = 81936, |
|
126 |
Iop_Or64 = 81936, |
| 127 |
Iop_And8 = 81937, |
|
127 |
Iop_And8 = 81937, |
| 128 |
Iop_And16 = 81938, |
|
128 |
Iop_And16 = 81938, |
| 129 |
Iop_And32 = 81939, |
|
129 |
Iop_And32 = 81939, |
| 130 |
Iop_And64 = 81940, |
|
130 |
Iop_And64 = 81940, |
| 131 |
Iop_Xor8 = 81941, |
|
131 |
Iop_Xor8 = 81941, |
| 132 |
Iop_Xor16 = 81942, |
|
132 |
Iop_Xor16 = 81942, |
| 133 |
Iop_Xor32 = 81943, |
|
133 |
Iop_Xor32 = 81943, |
| 134 |
Iop_Xor64 = 81944, |
|
134 |
Iop_Xor64 = 81944, |
| 135 |
Iop_Shl8 = 81945, |
|
135 |
Iop_Shl8 = 81945, |
| 136 |
Iop_Shl16 = 81946, |
|
136 |
Iop_Shl16 = 81946, |
| 137 |
Iop_Shl32 = 81947, |
|
137 |
Iop_Shl32 = 81947, |
| 138 |
Iop_Shl64 = 81948, |
|
138 |
Iop_Shl64 = 81948, |
| 139 |
Iop_Shr8 = 81949, |
|
139 |
Iop_Shr8 = 81949, |
| 140 |
Iop_Shr16 = 81950, |
|
140 |
Iop_Shr16 = 81950, |
| 141 |
Iop_Shr32 = 81951, |
|
141 |
Iop_Shr32 = 81951, |
| 142 |
Iop_Shr64 = 81952, |
|
142 |
Iop_Shr64 = 81952, |
| 143 |
Iop_Sar8 = 81953, |
|
143 |
Iop_Sar8 = 81953, |
| 144 |
Iop_Sar16 = 81954, |
|
144 |
Iop_Sar16 = 81954, |
| 145 |
Iop_Sar32 = 81955, |
|
145 |
Iop_Sar32 = 81955, |
| 146 |
Iop_Sar64 = 81956, |
|
146 |
Iop_Sar64 = 81956, |
| 147 |
Iop_CmpEQ8 = 81957, |
|
147 |
Iop_CmpEQ8 = 81957, |
| 148 |
Iop_CmpEQ16 = 81958, |
|
148 |
Iop_CmpEQ16 = 81958, |
| 149 |
Iop_CmpEQ32 = 81959, |
|
149 |
Iop_CmpEQ32 = 81959, |
| 150 |
Iop_CmpEQ64 = 81960, |
|
150 |
Iop_CmpEQ64 = 81960, |
| 151 |
Iop_CmpNE8 = 81961, |
|
151 |
Iop_CmpNE8 = 81961, |
| 152 |
Iop_CmpNE16 = 81962, |
|
152 |
Iop_CmpNE16 = 81962, |
| 153 |
Iop_CmpNE32 = 81963, |
|
153 |
Iop_CmpNE32 = 81963, |
| 154 |
Iop_CmpNE64 = 81964, |
|
154 |
Iop_CmpNE64 = 81964, |
| 155 |
Iop_Not8 = 81965, |
|
155 |
Iop_Not8 = 81965, |
| 156 |
Iop_Not16 = 81966, |
|
156 |
Iop_Not16 = 81966, |
| 157 |
Iop_Not32 = 81967, |
|
157 |
Iop_Not32 = 81967, |
| 158 |
Iop_Not64 = 81968, |
|
158 |
Iop_Not64 = 81968, |
| 159 |
Iop_CasCmpEQ8 = 81969, |
|
159 |
Iop_CasCmpEQ8 = 81969, |
| 160 |
Iop_CasCmpEQ16 = 81970, |
|
160 |
Iop_CasCmpEQ16 = 81970, |
| 161 |
Iop_CasCmpEQ32 = 81971, |
|
161 |
Iop_CasCmpEQ32 = 81971, |
| 162 |
Iop_CasCmpEQ64 = 81972, |
|
162 |
Iop_CasCmpEQ64 = 81972, |
| 163 |
Iop_CasCmpNE8 = 81973, |
|
163 |
Iop_CasCmpNE8 = 81973, |
| 164 |
Iop_CasCmpNE16 = 81974, |
|
164 |
Iop_CasCmpNE16 = 81974, |
| 165 |
Iop_CasCmpNE32 = 81975, |
|
165 |
Iop_CasCmpNE32 = 81975, |
| 166 |
Iop_CasCmpNE64 = 81976, |
|
166 |
Iop_CasCmpNE64 = 81976, |
| 167 |
Iop_MullS8 = 81977, |
|
167 |
Iop_MullS8 = 81977, |
| 168 |
Iop_MullS16 = 81978, |
|
168 |
Iop_MullS16 = 81978, |
| 169 |
Iop_MullS32 = 81979, |
|
169 |
Iop_MullS32 = 81979, |
| 170 |
Iop_MullS64 = 81980, |
|
170 |
Iop_MullS64 = 81980, |
| 171 |
Iop_MullU8 = 81981, |
|
171 |
Iop_MullU8 = 81981, |
| 172 |
Iop_MullU16 = 81982, |
|
172 |
Iop_MullU16 = 81982, |
| 173 |
Iop_MullU32 = 81983, |
|
173 |
Iop_MullU32 = 81983, |
| 174 |
Iop_MullU64 = 81984, |
|
174 |
Iop_MullU64 = 81984, |
| 175 |
Iop_Clz64 = 81985, |
|
175 |
Iop_Clz64 = 81985, |
| 176 |
Iop_Clz32 = 81986, |
|
176 |
Iop_Clz32 = 81986, |
| 177 |
Iop_Ctz64 = 81987, |
|
177 |
Iop_Ctz64 = 81987, |
| 178 |
Iop_Ctz32 = 81988, |
|
178 |
Iop_Ctz32 = 81988, |
| 179 |
Iop_CmpLT32S = 81989, |
|
179 |
Iop_CmpLT32S = 81989, |
| 180 |
Iop_CmpLT64S = 81990, |
|
180 |
Iop_CmpLT64S = 81990, |
| 181 |
Iop_CmpLE32S = 81991, |
|
181 |
Iop_CmpLE32S = 81991, |
| 182 |
Iop_CmpLE64S = 81992, |
|
182 |
Iop_CmpLE64S = 81992, |
| 183 |
Iop_CmpLT32U = 81993, |
|
183 |
Iop_CmpLT32U = 81993, |
| 184 |
Iop_CmpLT64U = 81994, |
|
184 |
Iop_CmpLT64U = 81994, |
| 185 |
Iop_CmpLE32U = 81995, |
|
185 |
Iop_CmpLE32U = 81995, |
| 186 |
Iop_CmpLE64U = 81996, |
|
186 |
Iop_CmpLE64U = 81996, |
| 187 |
Iop_CmpNEZ8 = 81997, |
|
187 |
Iop_CmpNEZ8 = 81997, |
| 188 |
Iop_CmpNEZ16 = 81998, |
|
188 |
Iop_CmpNEZ16 = 81998, |
| 189 |
Iop_CmpNEZ32 = 81999, |
|
189 |
Iop_CmpNEZ32 = 81999, |
| 190 |
Iop_CmpNEZ64 = 82000, |
|
190 |
Iop_CmpNEZ64 = 82000, |
| 191 |
Iop_CmpwNEZ32 = 82001, |
|
191 |
Iop_CmpwNEZ32 = 82001, |
| 192 |
Iop_CmpwNEZ64 = 82002, |
|
192 |
Iop_CmpwNEZ64 = 82002, |
| 193 |
Iop_Left8 = 82003, |
|
193 |
Iop_Left8 = 82003, |
| 194 |
Iop_Left16 = 82004, |
|
194 |
Iop_Left16 = 82004, |
| 195 |
Iop_Left32 = 82005, |
|
195 |
Iop_Left32 = 82005, |
| 196 |
Iop_Left64 = 82006, |
|
196 |
Iop_Left64 = 82006, |
| 197 |
Iop_Max32U = 82007, |
|
197 |
Iop_Max32U = 82007, |
| 198 |
Iop_CmpORD32U = 82008, |
|
198 |
Iop_CmpORD32U = 82008, |
| 199 |
Iop_CmpORD64U = 82009, |
|
199 |
Iop_CmpORD64U = 82009, |
| 200 |
Iop_CmpORD32S = 82010, |
|
200 |
Iop_CmpORD32S = 82010, |
| 201 |
Iop_CmpORD64S = 82011, |
|
201 |
Iop_CmpORD64S = 82011, |
| 202 |
Iop_DivU32 = 82012, |
|
202 |
Iop_DivU32 = 82012, |
| 203 |
Iop_DivS32 = 82013, |
|
203 |
Iop_DivS32 = 82013, |
| 204 |
Iop_DivU64 = 82014, |
|
204 |
Iop_DivU64 = 82014, |
| 205 |
Iop_DivS64 = 82015, |
|
205 |
Iop_DivS64 = 82015, |
| 206 |
Iop_DivModU64to32 = 82016, |
|
206 |
Iop_DivModU64to32 = 82016, |
| 207 |
Iop_DivModS64to32 = 82017, |
|
207 |
Iop_DivModS64to32 = 82017, |
| 208 |
Iop_DivModU128to64 = 82018, |
|
208 |
Iop_DivModU128to64 = 82018, |
| 209 |
Iop_DivModS128to64 = 82019, |
|
209 |
Iop_DivModS128to64 = 82019, |
| 210 |
Iop_DivModS64to64 = 82020, |
|
210 |
Iop_DivModS64to64 = 82020, |
| 211 |
Iop_8Uto16 = 82021, |
|
211 |
Iop_8Uto16 = 82021, |
| 212 |
Iop_8Uto32 = 82022, |
|
212 |
Iop_8Uto32 = 82022, |
| 213 |
Iop_8Uto64 = 82023, |
|
213 |
Iop_8Uto64 = 82023, |
| 214 |
Iop_16Uto32 = 82024, |
|
214 |
Iop_16Uto32 = 82024, |
| 215 |
Iop_16Uto64 = 82025, |
|
215 |
Iop_16Uto64 = 82025, |
| 216 |
Iop_32Uto64 = 82026, |
|
216 |
Iop_32Uto64 = 82026, |
| 217 |
Iop_8Sto16 = 82027, |
|
217 |
Iop_8Sto16 = 82027, |
| 218 |
Iop_8Sto32 = 82028, |
|
218 |
Iop_8Sto32 = 82028, |
| 219 |
Iop_8Sto64 = 82029, |
|
219 |
Iop_8Sto64 = 82029, |
| 220 |
Iop_16Sto32 = 82030, |
|
220 |
Iop_16Sto32 = 82030, |
| 221 |
Iop_16Sto64 = 82031, |
|
221 |
Iop_16Sto64 = 82031, |
| 222 |
Iop_32Sto64 = 82032, |
|
222 |
Iop_32Sto64 = 82032, |
| 223 |
Iop_64to8 = 82033, |
|
223 |
Iop_64to8 = 82033, |
| 224 |
Iop_32to8 = 82034, |
|
224 |
Iop_32to8 = 82034, |
| 225 |
Iop_64to16 = 82035, |
|
225 |
Iop_64to16 = 82035, |
| 226 |
Iop_16to8 = 82036, |
|
226 |
Iop_16to8 = 82036, |
| 227 |
Iop_16HIto8 = 82037, |
|
227 |
Iop_16HIto8 = 82037, |
| 228 |
Iop_8HLto16 = 82038, |
|
228 |
Iop_8HLto16 = 82038, |
| 229 |
Iop_32to16 = 82039, |
|
229 |
Iop_32to16 = 82039, |
| 230 |
Iop_32HIto16 = 82040, |
|
230 |
Iop_32HIto16 = 82040, |
| 231 |
Iop_16HLto32 = 82041, |
|
231 |
Iop_16HLto32 = 82041, |
| 232 |
Iop_64to32 = 82042, |
|
232 |
Iop_64to32 = 82042, |
| 233 |
Iop_64HIto32 = 82043, |
|
233 |
Iop_64HIto32 = 82043, |
| 234 |
Iop_32HLto64 = 82044, |
|
234 |
Iop_32HLto64 = 82044, |
| 235 |
Iop_128to64 = 82045, |
|
235 |
Iop_128to64 = 82045, |
| 236 |
Iop_128HIto64 = 82046, |
|
236 |
Iop_128HIto64 = 82046, |
| 237 |
Iop_64HLto128 = 82047, |
|
237 |
Iop_64HLto128 = 82047, |
| 238 |
Iop_Not1 = 82048, |
|
238 |
Iop_Not1 = 82048, |
| 239 |
Iop_32to1 = 82049, |
|
239 |
Iop_32to1 = 82049, |
| 240 |
Iop_64to1 = 82050, |
|
240 |
Iop_64to1 = 82050, |
| 241 |
Iop_1Uto8 = 82051, |
|
241 |
Iop_1Uto8 = 82051, |
| 242 |
Iop_1Uto32 = 82052, |
|
242 |
Iop_1Uto32 = 82052, |
| 243 |
Iop_1Uto64 = 82053, |
|
243 |
Iop_1Uto64 = 82053, |
| 244 |
Iop_1Sto8 = 82054, |
|
244 |
Iop_1Sto8 = 82054, |
| 245 |
Iop_1Sto16 = 82055, |
|
245 |
Iop_1Sto16 = 82055, |
| 246 |
Iop_1Sto32 = 82056, |
|
246 |
Iop_1Sto32 = 82056, |
| 247 |
Iop_1Sto64 = 82057, |
|
247 |
Iop_1Sto64 = 82057, |
| 248 |
Iop_AddF64 = 82058, |
|
248 |
Iop_AddF64 = 82058, |
| 249 |
Iop_SubF64 = 82059, |
|
249 |
Iop_SubF64 = 82059, |
| 250 |
Iop_MulF64 = 82060, |
|
250 |
Iop_MulF64 = 82060, |
| 251 |
Iop_DivF64 = 82061, |
|
251 |
Iop_DivF64 = 82061, |
| 252 |
Iop_AddF32 = 82062, |
|
252 |
Iop_AddF32 = 82062, |
| 253 |
Iop_SubF32 = 82063, |
|
253 |
Iop_SubF32 = 82063, |
| 254 |
Iop_MulF32 = 82064, |
|
254 |
Iop_MulF32 = 82064, |
| 255 |
Iop_DivF32 = 82065, |
|
255 |
Iop_DivF32 = 82065, |
| 256 |
Iop_AddF64r32 = 82066, |
|
256 |
Iop_AddF64r32 = 82066, |
| 257 |
Iop_SubF64r32 = 82067, |
|
257 |
Iop_SubF64r32 = 82067, |
| 258 |
Iop_MulF64r32 = 82068, |
|
258 |
Iop_MulF64r32 = 82068, |
| 259 |
Iop_DivF64r32 = 82069, |
|
259 |
Iop_DivF64r32 = 82069, |
| 260 |
Iop_NegF64 = 82070, |
|
260 |
Iop_NegF64 = 82070, |
| 261 |
Iop_AbsF64 = 82071, |
|
261 |
Iop_AbsF64 = 82071, |
| 262 |
Iop_NegF32 = 82072, |
|
262 |
Iop_NegF32 = 82072, |
| 263 |
Iop_AbsF32 = 82073, |
|
263 |
Iop_AbsF32 = 82073, |
| 264 |
Iop_SqrtF64 = 82074, |
|
264 |
Iop_SqrtF64 = 82074, |
| 265 |
Iop_SqrtF64r32 = 82075, |
|
265 |
Iop_SqrtF64r32 = 82075, |
| 266 |
Iop_SqrtF32 = 82076, |
|
266 |
Iop_SqrtF32 = 82076, |
| 267 |
Iop_CmpF64 = 82077, |
|
267 |
Iop_CmpF64 = 82077, |
| 268 |
Iop_CmpF32 = 82078, |
|
268 |
Iop_CmpF32 = 82078, |
| 269 |
Iop_CmpF128 = 82079, |
|
269 |
Iop_CmpF128 = 82079, |
| 270 |
Iop_F64toI16S = 82080, |
|
270 |
Iop_F64toI16S = 82080, |
| 271 |
Iop_F64toI32S = 82081, |
|
271 |
Iop_F64toI32S = 82081, |
| 272 |
Iop_F64toI64S = 82082, |
|
272 |
Iop_F64toI64S = 82082, |
| 273 |
Iop_F64toI32U = 82083, |
|
273 |
Iop_F64toI32U = 82083, |
| 274 |
Iop_I16StoF64 = 82084, |
|
274 |
Iop_I16StoF64 = 82084, |
| 275 |
Iop_I32StoF64 = 82085, |
|
275 |
Iop_I32StoF64 = 82085, |
| 276 |
Iop_I64StoF64 = 82086, |
|
276 |
Iop_I64StoF64 = 82086, |
| 277 |
Iop_I64UtoF64 = 82087, |
|
277 |
Iop_I64UtoF64 = 82087, |
| 278 |
Iop_I64UtoF32 = 82088, |
|
278 |
Iop_I64UtoF32 = 82088, |
| 279 |
Iop_I32UtoF64 = 82089, |
|
279 |
Iop_I32UtoF64 = 82089, |
| 280 |
Iop_F32toI16S = 82090, |
|
280 |
Iop_F32toI16S = 82090, |
| 281 |
Iop_F32toI32S = 82091, |
|
281 |
Iop_F32toI32S = 82091, |
| 282 |
Iop_F32toI64S = 82092, |
|
282 |
Iop_F32toI64S = 82092, |
| 283 |
Iop_I16StoF32 = 82093, |
|
283 |
Iop_I16StoF32 = 82093, |
| 284 |
Iop_I32StoF32 = 82094, |
|
284 |
Iop_I32StoF32 = 82094, |
| 285 |
Iop_I64StoF32 = 82095, |
|
285 |
Iop_I64StoF32 = 82095, |
| 286 |
Iop_F32toF64 = 82096, |
|
286 |
Iop_F32toF64 = 82096, |
| 287 |
Iop_F64toF32 = 82097, |
|
287 |
Iop_F64toF32 = 82097, |
| 288 |
Iop_ReinterpF64asI64 = 82098, |
|
288 |
Iop_ReinterpF64asI64 = 82098, |
| 289 |
Iop_ReinterpI64asF64 = 82099, |
|
289 |
Iop_ReinterpI64asF64 = 82099, |
| 290 |
Iop_ReinterpF32asI32 = 82100, |
|
290 |
Iop_ReinterpF32asI32 = 82100, |
| 291 |
Iop_ReinterpI32asF32 = 82101, |
|
291 |
Iop_ReinterpI32asF32 = 82101, |
| 292 |
Iop_F64HLtoF128 = 82102, |
|
292 |
Iop_F64HLtoF128 = 82102, |
| 293 |
Iop_F128HItoF64 = 82103, |
|
293 |
Iop_F128HItoF64 = 82103, |
| 294 |
Iop_F128LOtoF64 = 82104, |
|
294 |
Iop_F128LOtoF64 = 82104, |
| 295 |
Iop_AddF128 = 82105, |
|
295 |
Iop_AddF128 = 82105, |
| 296 |
Iop_SubF128 = 82106, |
|
296 |
Iop_SubF128 = 82106, |
| 297 |
Iop_MulF128 = 82107, |
|
297 |
Iop_MulF128 = 82107, |
| 298 |
Iop_DivF128 = 82108, |
|
298 |
Iop_DivF128 = 82108, |
| 299 |
Iop_NegF128 = 82109, |
|
299 |
Iop_NegF128 = 82109, |
| 300 |
Iop_AbsF128 = 82110, |
|
300 |
Iop_AbsF128 = 82110, |
| 301 |
Iop_SqrtF128 = 82111, |
|
301 |
Iop_SqrtF128 = 82111, |
| 302 |
Iop_I32StoF128 = 82112, |
|
302 |
Iop_I32StoF128 = 82112, |
| 303 |
Iop_I64StoF128 = 82113, |
|
303 |
Iop_I64StoF128 = 82113, |
| 304 |
Iop_F32toF128 = 82114, |
|
304 |
Iop_F32toF128 = 82114, |
| 305 |
Iop_F64toF128 = 82115, |
|
305 |
Iop_F64toF128 = 82115, |
| 306 |
Iop_F128toI32S = 82116, |
|
306 |
Iop_F128toI32S = 82116, |
| 307 |
Iop_F128toI64S = 82117, |
|
307 |
Iop_F128toI64S = 82117, |
| 308 |
Iop_F128toF64 = 82118, |
|
308 |
Iop_F128toF64 = 82118, |
| 309 |
Iop_F128toF32 = 82119, |
|
309 |
Iop_F128toF32 = 82119, |
| 310 |
Iop_AtanF64 = 82120, |
|
310 |
Iop_AtanF64 = 82120, |
| 311 |
Iop_Yl2xF64 = 82121, |
|
311 |
Iop_Yl2xF64 = 82121, |
| 312 |
Iop_Yl2xp1F64 = 82122, |
|
312 |
Iop_Yl2xp1F64 = 82122, |
| 313 |
Iop_PRemF64 = 82123, |
|
313 |
Iop_PRemF64 = 82123, |
| 314 |
Iop_PRemC3210F64 = 82124, |
|
314 |
Iop_PRemC3210F64 = 82124, |
| 315 |
Iop_PRem1F64 = 82125, |
|
315 |
Iop_PRem1F64 = 82125, |
| 316 |
Iop_PRem1C3210F64 = 82126, |
|
316 |
Iop_PRem1C3210F64 = 82126, |
| 317 |
Iop_ScaleF64 = 82127, |
|
317 |
Iop_ScaleF64 = 82127, |
| 318 |
Iop_SinF64 = 82128, |
|
318 |
Iop_SinF64 = 82128, |
| 319 |
Iop_CosF64 = 82129, |
|
319 |
Iop_CosF64 = 82129, |
| 320 |
Iop_TanF64 = 82130, |
|
320 |
Iop_TanF64 = 82130, |
| 321 |
Iop_2xm1F64 = 82131, |
|
321 |
Iop_2xm1F64 = 82131, |
| 322 |
Iop_RoundF64toInt = 82132, |
|
322 |
Iop_RoundF64toInt = 82132, |
| 323 |
Iop_RoundF32toInt = 82133, |
|
323 |
Iop_RoundF32toInt = 82133, |
| 324 |
Iop_MAddF32 = 82134, |
|
324 |
Iop_MAddF32 = 82134, |
| 325 |
Iop_MSubF32 = 82135, |
|
325 |
Iop_MSubF32 = 82135, |
| 326 |
Iop_MAddF64 = 82136, |
|
326 |
Iop_MAddF64 = 82136, |
| 327 |
Iop_MSubF64 = 82137, |
|
327 |
Iop_MSubF64 = 82137, |
| 328 |
Iop_MAddF64r32 = 82138, |
|
328 |
Iop_MAddF64r32 = 82138, |
| 329 |
Iop_MSubF64r32 = 82139, |
|
329 |
Iop_MSubF64r32 = 82139, |
| 330 |
Iop_Est5FRSqrt = 82140, |
|
330 |
Iop_Est5FRSqrt = 82140, |
| 331 |
Iop_RoundF64toF64_NEAREST = 82141, |
|
331 |
Iop_RoundF64toF64_NEAREST = 82141, |
| 332 |
Iop_RoundF64toF64_NegINF = 82142, |
|
332 |
Iop_RoundF64toF64_NegINF = 82142, |
| 333 |
Iop_RoundF64toF64_PosINF = 82143, |
|
333 |
Iop_RoundF64toF64_PosINF = 82143, |
| 334 |
Iop_RoundF64toF64_ZERO = 82144, |
|
334 |
Iop_RoundF64toF64_ZERO = 82144, |
| 335 |
Iop_TruncF64asF32 = 82145, |
|
335 |
Iop_TruncF64asF32 = 82145, |
| 336 |
Iop_RoundF64toF32 = 82146, |
|
336 |
Iop_RoundF64toF32 = 82146, |
| 337 |
Iop_CalcFPRF = 82147, |
|
337 |
Iop_CalcFPRF = 82147, |
| 338 |
Iop_Add16x2 = 82148, |
|
338 |
Iop_Add16x2 = 82148, |
| 339 |
Iop_Sub16x2 = 82149, |
|
339 |
Iop_Sub16x2 = 82149, |
| 340 |
Iop_QAdd16Sx2 = 82150, |
|
340 |
Iop_QAdd16Sx2 = 82150, |
| 341 |
Iop_QAdd16Ux2 = 82151, |
|
341 |
Iop_QAdd16Ux2 = 82151, |
| 342 |
Iop_QSub16Sx2 = 82152, |
|
342 |
Iop_QSub16Sx2 = 82152, |
| 343 |
Iop_QSub16Ux2 = 82153, |
|
343 |
Iop_QSub16Ux2 = 82153, |
| 344 |
Iop_HAdd16Ux2 = 82154, |
|
344 |
Iop_HAdd16Ux2 = 82154, |
| 345 |
Iop_HAdd16Sx2 = 82155, |
|
345 |
Iop_HAdd16Sx2 = 82155, |
| 346 |
Iop_HSub16Ux2 = 82156, |
|
346 |
Iop_HSub16Ux2 = 82156, |
| 347 |
Iop_HSub16Sx2 = 82157, |
|
347 |
Iop_HSub16Sx2 = 82157, |
| 348 |
Iop_Add8x4 = 82158, |
|
348 |
Iop_Add8x4 = 82158, |
| 349 |
Iop_Sub8x4 = 82159, |
|
349 |
Iop_Sub8x4 = 82159, |
| 350 |
Iop_QAdd8Sx4 = 82160, |
|
350 |
Iop_QAdd8Sx4 = 82160, |
| 351 |
Iop_QAdd8Ux4 = 82161, |
|
351 |
Iop_QAdd8Ux4 = 82161, |
| 352 |
Iop_QSub8Sx4 = 82162, |
|
352 |
Iop_QSub8Sx4 = 82162, |
| 353 |
Iop_QSub8Ux4 = 82163, |
|
353 |
Iop_QSub8Ux4 = 82163, |
| 354 |
Iop_HAdd8Ux4 = 82164, |
|
354 |
Iop_HAdd8Ux4 = 82164, |
| 355 |
Iop_HAdd8Sx4 = 82165, |
|
355 |
Iop_HAdd8Sx4 = 82165, |
| 356 |
Iop_HSub8Ux4 = 82166, |
|
356 |
Iop_HSub8Ux4 = 82166, |
| 357 |
Iop_HSub8Sx4 = 82167, |
|
357 |
Iop_HSub8Sx4 = 82167, |
| 358 |
Iop_Sad8Ux4 = 82168, |
|
358 |
Iop_Sad8Ux4 = 82168, |
| 359 |
Iop_CmpNEZ16x2 = 82169, |
|
359 |
Iop_CmpNEZ16x2 = 82169, |
| 360 |
Iop_CmpNEZ8x4 = 82170, |
|
360 |
Iop_CmpNEZ8x4 = 82170, |
| 361 |
Iop_I32UtoFx2 = 82171, |
|
361 |
Iop_I32UtoFx2 = 82171, |
| 362 |
Iop_I32StoFx2 = 82172, |
|
362 |
Iop_I32StoFx2 = 82172, |
| 363 |
Iop_FtoI32Ux2_RZ = 82173, |
|
363 |
Iop_FtoI32Ux2_RZ = 82173, |
| 364 |
Iop_FtoI32Sx2_RZ = 82174, |
|
364 |
Iop_FtoI32Sx2_RZ = 82174, |
| 365 |
Iop_F32ToFixed32Ux2_RZ = 82175, |
|
365 |
Iop_F32ToFixed32Ux2_RZ = 82175, |
| 366 |
Iop_F32ToFixed32Sx2_RZ = 82176, |
|
366 |
Iop_F32ToFixed32Sx2_RZ = 82176, |
| 367 |
Iop_Fixed32UToF32x2_RN = 82177, |
|
367 |
Iop_Fixed32UToF32x2_RN = 82177, |
| 368 |
Iop_Fixed32SToF32x2_RN = 82178, |
|
368 |
Iop_Fixed32SToF32x2_RN = 82178, |
| 369 |
Iop_Max32Fx2 = 82179, |
|
369 |
Iop_Max32Fx2 = 82179, |
| 370 |
Iop_Min32Fx2 = 82180, |
|
370 |
Iop_Min32Fx2 = 82180, |
| 371 |
Iop_PwMax32Fx2 = 82181, |
|
371 |
Iop_PwMax32Fx2 = 82181, |
| 372 |
Iop_PwMin32Fx2 = 82182, |
|
372 |
Iop_PwMin32Fx2 = 82182, |
| 373 |
Iop_CmpEQ32Fx2 = 82183, |
|
373 |
Iop_CmpEQ32Fx2 = 82183, |
| 374 |
Iop_CmpGT32Fx2 = 82184, |
|
374 |
Iop_CmpGT32Fx2 = 82184, |
| 375 |
Iop_CmpGE32Fx2 = 82185, |
|
375 |
Iop_CmpGE32Fx2 = 82185, |
| 376 |
Iop_Recip32Fx2 = 82186, |
|
376 |
Iop_Recip32Fx2 = 82186, |
| 377 |
Iop_Recps32Fx2 = 82187, |
|
377 |
Iop_Recps32Fx2 = 82187, |
| 378 |
Iop_Rsqrte32Fx2 = 82188, |
|
378 |
Iop_Rsqrte32Fx2 = 82188, |
| 379 |
Iop_Rsqrts32Fx2 = 82189, |
|
379 |
Iop_Rsqrts32Fx2 = 82189, |
| 380 |
Iop_Neg32Fx2 = 82190, |
|
380 |
Iop_Neg32Fx2 = 82190, |
| 381 |
Iop_Abs32Fx2 = 82191, |
|
381 |
Iop_Abs32Fx2 = 82191, |
| 382 |
Iop_CmpNEZ8x8 = 82192, |
|
382 |
Iop_CmpNEZ8x8 = 82192, |
| 383 |
Iop_CmpNEZ16x4 = 82193, |
|
383 |
Iop_CmpNEZ16x4 = 82193, |
| 384 |
Iop_CmpNEZ32x2 = 82194, |
|
384 |
Iop_CmpNEZ32x2 = 82194, |
| 385 |
Iop_Add8x8 = 82195, |
|
385 |
Iop_Add8x8 = 82195, |
| 386 |
Iop_Add16x4 = 82196, |
|
386 |
Iop_Add16x4 = 82196, |
| 387 |
Iop_Add32x2 = 82197, |
|
387 |
Iop_Add32x2 = 82197, |
| 388 |
Iop_QAdd8Ux8 = 82198, |
|
388 |
Iop_QAdd8Ux8 = 82198, |
| 389 |
Iop_QAdd16Ux4 = 82199, |
|
389 |
Iop_QAdd16Ux4 = 82199, |
| 390 |
Iop_QAdd32Ux2 = 82200, |
|
390 |
Iop_QAdd32Ux2 = 82200, |
| 391 |
Iop_QAdd64Ux1 = 82201, |
|
391 |
Iop_QAdd64Ux1 = 82201, |
| 392 |
Iop_QAdd8Sx8 = 82202, |
|
392 |
Iop_QAdd8Sx8 = 82202, |
| 393 |
Iop_QAdd16Sx4 = 82203, |
|
393 |
Iop_QAdd16Sx4 = 82203, |
| 394 |
Iop_QAdd32Sx2 = 82204, |
|
394 |
Iop_QAdd32Sx2 = 82204, |
| 395 |
Iop_QAdd64Sx1 = 82205, |
|
395 |
Iop_QAdd64Sx1 = 82205, |
| 396 |
Iop_PwAdd8x8 = 82206, |
|
396 |
Iop_PwAdd8x8 = 82206, |
| 397 |
Iop_PwAdd16x4 = 82207, |
|
397 |
Iop_PwAdd16x4 = 82207, |
| 398 |
Iop_PwAdd32x2 = 82208, |
|
398 |
Iop_PwAdd32x2 = 82208, |
| 399 |
Iop_PwMax8Sx8 = 82209, |
|
399 |
Iop_PwMax8Sx8 = 82209, |
| 400 |
Iop_PwMax16Sx4 = 82210, |
|
400 |
Iop_PwMax16Sx4 = 82210, |
| 401 |
Iop_PwMax32Sx2 = 82211, |
|
401 |
Iop_PwMax32Sx2 = 82211, |
| 402 |
Iop_PwMax8Ux8 = 82212, |
|
402 |
Iop_PwMax8Ux8 = 82212, |
| 403 |
Iop_PwMax16Ux4 = 82213, |
|
403 |
Iop_PwMax16Ux4 = 82213, |
| 404 |
Iop_PwMax32Ux2 = 82214, |
|
404 |
Iop_PwMax32Ux2 = 82214, |
| 405 |
Iop_PwMin8Sx8 = 82215, |
|
405 |
Iop_PwMin8Sx8 = 82215, |
| 406 |
Iop_PwMin16Sx4 = 82216, |
|
406 |
Iop_PwMin16Sx4 = 82216, |
| 407 |
Iop_PwMin32Sx2 = 82217, |
|
407 |
Iop_PwMin32Sx2 = 82217, |
| 408 |
Iop_PwMin8Ux8 = 82218, |
|
408 |
Iop_PwMin8Ux8 = 82218, |
| 409 |
Iop_PwMin16Ux4 = 82219, |
|
409 |
Iop_PwMin16Ux4 = 82219, |
| 410 |
Iop_PwMin32Ux2 = 82220, |
|
410 |
Iop_PwMin32Ux2 = 82220, |
| 411 |
Iop_PwAddL8Ux8 = 82221, |
|
411 |
Iop_PwAddL8Ux8 = 82221, |
| 412 |
Iop_PwAddL16Ux4 = 82222, |
|
412 |
Iop_PwAddL16Ux4 = 82222, |
| 413 |
Iop_PwAddL32Ux2 = 82223, |
|
413 |
Iop_PwAddL32Ux2 = 82223, |
| 414 |
Iop_PwAddL8Sx8 = 82224, |
|
414 |
Iop_PwAddL8Sx8 = 82224, |
| 415 |
Iop_PwAddL16Sx4 = 82225, |
|
415 |
Iop_PwAddL16Sx4 = 82225, |
| 416 |
Iop_PwAddL32Sx2 = 82226, |
|
416 |
Iop_PwAddL32Sx2 = 82226, |
| 417 |
Iop_Sub8x8 = 82227, |
|
417 |
Iop_Sub8x8 = 82227, |
| 418 |
Iop_Sub16x4 = 82228, |
|
418 |
Iop_Sub16x4 = 82228, |
| 419 |
Iop_Sub32x2 = 82229, |
|
419 |
Iop_Sub32x2 = 82229, |
| 420 |
Iop_QSub8Ux8 = 82230, |
|
420 |
Iop_QSub8Ux8 = 82230, |
| 421 |
Iop_QSub16Ux4 = 82231, |
|
421 |
Iop_QSub16Ux4 = 82231, |
| 422 |
Iop_QSub32Ux2 = 82232, |
|
422 |
Iop_QSub32Ux2 = 82232, |
| 423 |
Iop_QSub64Ux1 = 82233, |
|
423 |
Iop_QSub64Ux1 = 82233, |
| 424 |
Iop_QSub8Sx8 = 82234, |
|
424 |
Iop_QSub8Sx8 = 82234, |
| 425 |
Iop_QSub16Sx4 = 82235, |
|
425 |
Iop_QSub16Sx4 = 82235, |
| 426 |
Iop_QSub32Sx2 = 82236, |
|
426 |
Iop_QSub32Sx2 = 82236, |
| 427 |
Iop_QSub64Sx1 = 82237, |
|
427 |
Iop_QSub64Sx1 = 82237, |
| 428 |
Iop_Abs8x8 = 82238, |
|
428 |
Iop_Abs8x8 = 82238, |
| 429 |
Iop_Abs16x4 = 82239, |
|
429 |
Iop_Abs16x4 = 82239, |
| 430 |
Iop_Abs32x2 = 82240, |
|
430 |
Iop_Abs32x2 = 82240, |
| 431 |
Iop_Mul8x8 = 82241, |
|
431 |
Iop_Mul8x8 = 82241, |
| 432 |
Iop_Mul16x4 = 82242, |
|
432 |
Iop_Mul16x4 = 82242, |
| 433 |
Iop_Mul32x2 = 82243, |
|
433 |
Iop_Mul32x2 = 82243, |
| 434 |
Iop_Mul32Fx2 = 82244, |
|
434 |
Iop_Mul32Fx2 = 82244, |
| 435 |
Iop_MulHi16Ux4 = 82245, |
|
435 |
Iop_MulHi16Ux4 = 82245, |
| 436 |
Iop_MulHi16Sx4 = 82246, |
|
436 |
Iop_MulHi16Sx4 = 82246, |
| 437 |
Iop_PolynomialMul8x8 = 82247, |
|
437 |
Iop_PolynomialMul8x8 = 82247, |
| 438 |
Iop_QDMulHi16Sx4 = 82248, |
|
438 |
Iop_QDMulHi16Sx4 = 82248, |
| 439 |
Iop_QDMulHi32Sx2 = 82249, |
|
439 |
Iop_QDMulHi32Sx2 = 82249, |
| 440 |
Iop_QRDMulHi16Sx4 = 82250, |
|
440 |
Iop_QRDMulHi16Sx4 = 82250, |
| 441 |
Iop_QRDMulHi32Sx2 = 82251, |
|
441 |
Iop_QRDMulHi32Sx2 = 82251, |
| 442 |
Iop_Avg8Ux8 = 82252, |
|
442 |
Iop_Avg8Ux8 = 82252, |
| 443 |
Iop_Avg16Ux4 = 82253, |
|
443 |
Iop_Avg16Ux4 = 82253, |
| 444 |
Iop_Max8Sx8 = 82254, |
|
444 |
Iop_Max8Sx8 = 82254, |
| 445 |
Iop_Max16Sx4 = 82255, |
|
445 |
Iop_Max16Sx4 = 82255, |
| 446 |
Iop_Max32Sx2 = 82256, |
|
446 |
Iop_Max32Sx2 = 82256, |
| 447 |
Iop_Max8Ux8 = 82257, |
|
447 |
Iop_Max8Ux8 = 82257, |
| 448 |
Iop_Max16Ux4 = 82258, |
|
448 |
Iop_Max16Ux4 = 82258, |
| 449 |
Iop_Max32Ux2 = 82259, |
|
449 |
Iop_Max32Ux2 = 82259, |
| 450 |
Iop_Min8Sx8 = 82260, |
|
450 |
Iop_Min8Sx8 = 82260, |
| 451 |
Iop_Min16Sx4 = 82261, |
|
451 |
Iop_Min16Sx4 = 82261, |
| 452 |
Iop_Min32Sx2 = 82262, |
|
452 |
Iop_Min32Sx2 = 82262, |
| 453 |
Iop_Min8Ux8 = 82263, |
|
453 |
Iop_Min8Ux8 = 82263, |
| 454 |
Iop_Min16Ux4 = 82264, |
|
454 |
Iop_Min16Ux4 = 82264, |
| 455 |
Iop_Min32Ux2 = 82265, |
|
455 |
Iop_Min32Ux2 = 82265, |
| 456 |
Iop_CmpEQ8x8 = 82266, |
|
456 |
Iop_CmpEQ8x8 = 82266, |
| 457 |
Iop_CmpEQ16x4 = 82267, |
|
457 |
Iop_CmpEQ16x4 = 82267, |
| 458 |
Iop_CmpEQ32x2 = 82268, |
|
458 |
Iop_CmpEQ32x2 = 82268, |
| 459 |
Iop_CmpGT8Ux8 = 82269, |
|
459 |
Iop_CmpGT8Ux8 = 82269, |
| 460 |
Iop_CmpGT16Ux4 = 82270, |
|
460 |
Iop_CmpGT16Ux4 = 82270, |
| 461 |
Iop_CmpGT32Ux2 = 82271, |
|
461 |
Iop_CmpGT32Ux2 = 82271, |
| 462 |
Iop_CmpGT8Sx8 = 82272, |
|
462 |
Iop_CmpGT8Sx8 = 82272, |
| 463 |
Iop_CmpGT16Sx4 = 82273, |
|
463 |
Iop_CmpGT16Sx4 = 82273, |
| 464 |
Iop_CmpGT32Sx2 = 82274, |
|
464 |
Iop_CmpGT32Sx2 = 82274, |
| 465 |
Iop_Cnt8x8 = 82275, |
|
465 |
Iop_Cnt8x8 = 82275, |
| 466 |
Iop_Clz8Sx8 = 82276, |
|
466 |
Iop_Clz8Sx8 = 82276, |
| 467 |
Iop_Clz16Sx4 = 82277, |
|
467 |
Iop_Clz16Sx4 = 82277, |
| 468 |
Iop_Clz32Sx2 = 82278, |
|
468 |
Iop_Clz32Sx2 = 82278, |
| 469 |
Iop_Cls8Sx8 = 82279, |
|
469 |
Iop_Cls8Sx8 = 82279, |
| 470 |
Iop_Cls16Sx4 = 82280, |
|
470 |
Iop_Cls16Sx4 = 82280, |
| 471 |
Iop_Cls32Sx2 = 82281, |
|
471 |
Iop_Cls32Sx2 = 82281, |
| 472 |
Iop_Shl8x8 = 82282, |
|
472 |
Iop_Shl8x8 = 82282, |
| 473 |
Iop_Shl16x4 = 82283, |
|
473 |
Iop_Shl16x4 = 82283, |
| 474 |
Iop_Shl32x2 = 82284, |
|
474 |
Iop_Shl32x2 = 82284, |
| 475 |
Iop_Shr8x8 = 82285, |
|
475 |
Iop_Shr8x8 = 82285, |
| 476 |
Iop_Shr16x4 = 82286, |
|
476 |
Iop_Shr16x4 = 82286, |
| 477 |
Iop_Shr32x2 = 82287, |
|
477 |
Iop_Shr32x2 = 82287, |
| 478 |
Iop_Sar8x8 = 82288, |
|
478 |
Iop_Sar8x8 = 82288, |
| 479 |
Iop_Sar16x4 = 82289, |
|
479 |
Iop_Sar16x4 = 82289, |
| 480 |
Iop_Sar32x2 = 82290, |
|
480 |
Iop_Sar32x2 = 82290, |
| 481 |
Iop_Sal8x8 = 82291, |
|
481 |
Iop_Sal8x8 = 82291, |
| 482 |
Iop_Sal16x4 = 82292, |
|
482 |
Iop_Sal16x4 = 82292, |
| 483 |
Iop_Sal32x2 = 82293, |
|
483 |
Iop_Sal32x2 = 82293, |
| 484 |
Iop_Sal64x1 = 82294, |
|
484 |
Iop_Sal64x1 = 82294, |
| 485 |
Iop_ShlN8x8 = 82295, |
|
485 |
Iop_ShlN8x8 = 82295, |
| 486 |
Iop_ShlN16x4 = 82296, |
|
486 |
Iop_ShlN16x4 = 82296, |
| 487 |
Iop_ShlN32x2 = 82297, |
|
487 |
Iop_ShlN32x2 = 82297, |
| 488 |
Iop_ShrN8x8 = 82298, |
|
488 |
Iop_ShrN8x8 = 82298, |
| 489 |
Iop_ShrN16x4 = 82299, |
|
489 |
Iop_ShrN16x4 = 82299, |
| 490 |
Iop_ShrN32x2 = 82300, |
|
490 |
Iop_ShrN32x2 = 82300, |
| 491 |
Iop_SarN8x8 = 82301, |
|
491 |
Iop_SarN8x8 = 82301, |
| 492 |
Iop_SarN16x4 = 82302, |
|
492 |
Iop_SarN16x4 = 82302, |
| 493 |
Iop_SarN32x2 = 82303, |
|
493 |
Iop_SarN32x2 = 82303, |
| 494 |
Iop_QShl8x8 = 82304, |
|
494 |
Iop_QShl8x8 = 82304, |
| 495 |
Iop_QShl16x4 = 82305, |
|
495 |
Iop_QShl16x4 = 82305, |
| 496 |
Iop_QShl32x2 = 82306, |
|
496 |
Iop_QShl32x2 = 82306, |
| 497 |
Iop_QShl64x1 = 82307, |
|
497 |
Iop_QShl64x1 = 82307, |
| 498 |
Iop_QSal8x8 = 82308, |
|
498 |
Iop_QSal8x8 = 82308, |
| 499 |
Iop_QSal16x4 = 82309, |
|
499 |
Iop_QSal16x4 = 82309, |
| 500 |
Iop_QSal32x2 = 82310, |
|
500 |
Iop_QSal32x2 = 82310, |
| 501 |
Iop_QSal64x1 = 82311, |
|
501 |
Iop_QSal64x1 = 82311, |
| 502 |
Iop_QShlN8Sx8 = 82312, |
|
502 |
Iop_QShlN8Sx8 = 82312, |
| 503 |
Iop_QShlN16Sx4 = 82313, |
|
503 |
Iop_QShlN16Sx4 = 82313, |
| 504 |
Iop_QShlN32Sx2 = 82314, |
|
504 |
Iop_QShlN32Sx2 = 82314, |
| 505 |
Iop_QShlN64Sx1 = 82315, |
|
505 |
Iop_QShlN64Sx1 = 82315, |
| 506 |
Iop_QShlN8x8 = 82316, |
|
506 |
Iop_QShlN8x8 = 82316, |
| 507 |
Iop_QShlN16x4 = 82317, |
|
507 |
Iop_QShlN16x4 = 82317, |
| 508 |
Iop_QShlN32x2 = 82318, |
|
508 |
Iop_QShlN32x2 = 82318, |
| 509 |
Iop_QShlN64x1 = 82319, |
|
509 |
Iop_QShlN64x1 = 82319, |
| 510 |
Iop_QSalN8x8 = 82320, |
|
510 |
Iop_QSalN8x8 = 82320, |
| 511 |
Iop_QSalN16x4 = 82321, |
|
511 |
Iop_QSalN16x4 = 82321, |
| 512 |
Iop_QSalN32x2 = 82322, |
|
512 |
Iop_QSalN32x2 = 82322, |
| 513 |
Iop_QSalN64x1 = 82323, |
|
513 |
Iop_QSalN64x1 = 82323, |
| 514 |
Iop_QNarrowBin16Sto8Ux8 = 82324, |
|
514 |
Iop_QNarrowBin16Sto8Ux8 = 82324, |
| 515 |
Iop_QNarrowBin16Sto8Sx8 = 82325, |
|
515 |
Iop_QNarrowBin16Sto8Sx8 = 82325, |
| 516 |
Iop_QNarrowBin32Sto16Sx4 = 82326, |
|
516 |
Iop_QNarrowBin32Sto16Sx4 = 82326, |
| 517 |
Iop_InterleaveHI8x8 = 82327, |
|
517 |
Iop_InterleaveHI8x8 = 82327, |
| 518 |
Iop_InterleaveHI16x4 = 82328, |
|
518 |
Iop_InterleaveHI16x4 = 82328, |
| 519 |
Iop_InterleaveHI32x2 = 82329, |
|
519 |
Iop_InterleaveHI32x2 = 82329, |
| 520 |
Iop_InterleaveLO8x8 = 82330, |
|
520 |
Iop_InterleaveLO8x8 = 82330, |
| 521 |
Iop_InterleaveLO16x4 = 82331, |
|
521 |
Iop_InterleaveLO16x4 = 82331, |
| 522 |
Iop_InterleaveLO32x2 = 82332, |
|
522 |
Iop_InterleaveLO32x2 = 82332, |
| 523 |
Iop_InterleaveOddLanes8x8 = 82333, |
|
523 |
Iop_InterleaveOddLanes8x8 = 82333, |
| 524 |
Iop_InterleaveEvenLanes8x8 = 82334, |
|
524 |
Iop_InterleaveEvenLanes8x8 = 82334, |
| 525 |
Iop_InterleaveOddLanes16x4 = 82335, |
|
525 |
Iop_InterleaveOddLanes16x4 = 82335, |
| 526 |
Iop_InterleaveEvenLanes16x4 = 82336, |
|
526 |
Iop_InterleaveEvenLanes16x4 = 82336, |
| 527 |
Iop_CatOddLanes8x8 = 82337, |
|
527 |
Iop_CatOddLanes8x8 = 82337, |
| 528 |
Iop_CatOddLanes16x4 = 82338, |
|
528 |
Iop_CatOddLanes16x4 = 82338, |
| 529 |
Iop_CatEvenLanes8x8 = 82339, |
|
529 |
Iop_CatEvenLanes8x8 = 82339, |
| 530 |
Iop_CatEvenLanes16x4 = 82340, |
|
530 |
Iop_CatEvenLanes16x4 = 82340, |
| 531 |
Iop_GetElem8x8 = 82341, |
|
531 |
Iop_GetElem8x8 = 82341, |
| 532 |
Iop_GetElem16x4 = 82342, |
|
532 |
Iop_GetElem16x4 = 82342, |
| 533 |
Iop_GetElem32x2 = 82343, |
|
533 |
Iop_GetElem32x2 = 82343, |
| 534 |
Iop_SetElem8x8 = 82344, |
|
534 |
Iop_SetElem8x8 = 82344, |
| 535 |
Iop_SetElem16x4 = 82345, |
|
535 |
Iop_SetElem16x4 = 82345, |
| 536 |
Iop_SetElem32x2 = 82346, |
|
536 |
Iop_SetElem32x2 = 82346, |
| 537 |
Iop_Dup8x8 = 82347, |
|
537 |
Iop_Dup8x8 = 82347, |
| 538 |
Iop_Dup16x4 = 82348, |
|
538 |
Iop_Dup16x4 = 82348, |
| 539 |
Iop_Dup32x2 = 82349, |
|
539 |
Iop_Dup32x2 = 82349, |
| 540 |
Iop_Extract64 = 82350, |
|
540 |
Iop_Extract64 = 82350, |
| 541 |
Iop_Reverse16_8x8 = 82351, |
|
541 |
Iop_Reverse16_8x8 = 82351, |
| 542 |
Iop_Reverse32_8x8 = 82352, |
|
542 |
Iop_Reverse32_8x8 = 82352, |
| 543 |
Iop_Reverse32_16x4 = 82353, |
|
543 |
Iop_Reverse32_16x4 = 82353, |
| 544 |
Iop_Reverse64_8x8 = 82354, |
|
544 |
Iop_Reverse64_8x8 = 82354, |
| 545 |
Iop_Reverse64_16x4 = 82355, |
|
545 |
Iop_Reverse64_16x4 = 82355, |
| 546 |
Iop_Reverse64_32x2 = 82356, |
|
546 |
Iop_Reverse64_32x2 = 82356, |
| 547 |
Iop_Perm8x8 = 82357, |
|
547 |
Iop_Perm8x8 = 82357, |
| 548 |
Iop_Recip32x2 = 82358, |
|
548 |
Iop_Recip32x2 = 82358, |
| 549 |
Iop_Rsqrte32x2 = 82359, |
|
549 |
Iop_Rsqrte32x2 = 82359, |
| 550 |
Iop_Add32Fx4 = 82360, |
|
550 |
Iop_Add32Fx4 = 82360, |
| 551 |
Iop_Sub32Fx4 = 82361, |
|
551 |
Iop_Sub32Fx4 = 82361, |
| 552 |
Iop_Mul32Fx4 = 82362, |
|
552 |
Iop_Mul32Fx4 = 82362, |
| 553 |
Iop_Div32Fx4 = 82363, |
|
553 |
Iop_Div32Fx4 = 82363, |
| 554 |
Iop_Max32Fx4 = 82364, |
|
554 |
Iop_Max32Fx4 = 82364, |
| 555 |
Iop_Min32Fx4 = 82365, |
|
555 |
Iop_Min32Fx4 = 82365, |
| 556 |
Iop_Add32Fx2 = 82366, |
|
556 |
Iop_Add32Fx2 = 82366, |
| 557 |
Iop_Sub32Fx2 = 82367, |
|
557 |
Iop_Sub32Fx2 = 82367, |
| 558 |
Iop_CmpEQ32Fx4 = 82368, |
|
558 |
Iop_CmpEQ32Fx4 = 82368, |
| 559 |
Iop_CmpLT32Fx4 = 82369, |
|
559 |
Iop_CmpLT32Fx4 = 82369, |
| 560 |
Iop_CmpLE32Fx4 = 82370, |
|
560 |
Iop_CmpLE32Fx4 = 82370, |
| 561 |
Iop_CmpUN32Fx4 = 82371, |
|
561 |
Iop_CmpUN32Fx4 = 82371, |
| 562 |
Iop_CmpGT32Fx4 = 82372, |
|
562 |
Iop_CmpGT32Fx4 = 82372, |
| 563 |
Iop_CmpGE32Fx4 = 82373, |
|
563 |
Iop_CmpGE32Fx4 = 82373, |
| 564 |
Iop_Abs32Fx4 = 82374, |
|
564 |
Iop_Abs32Fx4 = 82374, |
| 565 |
Iop_PwMax32Fx4 = 82375, |
|
565 |
Iop_PwMax32Fx4 = 82375, |
| 566 |
Iop_PwMin32Fx4 = 82376, |
|
566 |
Iop_PwMin32Fx4 = 82376, |
| 567 |
Iop_Sqrt32Fx4 = 82377, |
|
567 |
Iop_Sqrt32Fx4 = 82377, |
| 568 |
Iop_RSqrt32Fx4 = 82378, |
|
568 |
Iop_RSqrt32Fx4 = 82378, |
| 569 |
Iop_Neg32Fx4 = 82379, |
|
569 |
Iop_Neg32Fx4 = 82379, |
| 570 |
Iop_Recip32Fx4 = 82380, |
|
570 |
Iop_Recip32Fx4 = 82380, |
| 571 |
Iop_Recps32Fx4 = 82381, |
|
571 |
Iop_Recps32Fx4 = 82381, |
| 572 |
Iop_Rsqrte32Fx4 = 82382, |
|
572 |
Iop_Rsqrte32Fx4 = 82382, |
| 573 |
Iop_Rsqrts32Fx4 = 82383, |
|
573 |
Iop_Rsqrts32Fx4 = 82383, |
| 574 |
Iop_I32UtoFx4 = 82384, |
|
574 |
Iop_I32UtoFx4 = 82384, |
| 575 |
Iop_I32StoFx4 = 82385, |
|
575 |
Iop_I32StoFx4 = 82385, |
| 576 |
Iop_FtoI32Ux4_RZ = 82386, |
|
576 |
Iop_FtoI32Ux4_RZ = 82386, |
| 577 |
Iop_FtoI32Sx4_RZ = 82387, |
|
577 |
Iop_FtoI32Sx4_RZ = 82387, |
| 578 |
Iop_QFtoI32Ux4_RZ = 82388, |
|
578 |
Iop_QFtoI32Ux4_RZ = 82388, |
| 579 |
Iop_QFtoI32Sx4_RZ = 82389, |
|
579 |
Iop_QFtoI32Sx4_RZ = 82389, |
| 580 |
Iop_RoundF32x4_RM = 82390, |
|
580 |
Iop_RoundF32x4_RM = 82390, |
| 581 |
Iop_RoundF32x4_RP = 82391, |
|
581 |
Iop_RoundF32x4_RP = 82391, |
| 582 |
Iop_RoundF32x4_RN = 82392, |
|
582 |
Iop_RoundF32x4_RN = 82392, |
| 583 |
Iop_RoundF32x4_RZ = 82393, |
|
583 |
Iop_RoundF32x4_RZ = 82393, |
| 584 |
Iop_F32ToFixed32Ux4_RZ = 82394, |
|
584 |
Iop_F32ToFixed32Ux4_RZ = 82394, |
| 585 |
Iop_F32ToFixed32Sx4_RZ = 82395, |
|
585 |
Iop_F32ToFixed32Sx4_RZ = 82395, |
| 586 |
Iop_Fixed32UToF32x4_RN = 82396, |
|
586 |
Iop_Fixed32UToF32x4_RN = 82396, |
| 587 |
Iop_Fixed32SToF32x4_RN = 82397, |
|
587 |
Iop_Fixed32SToF32x4_RN = 82397, |
| 588 |
Iop_F32toF16x4 = 82398, |
|
588 |
Iop_F32toF16x4 = 82398, |
| 589 |
Iop_F16toF32x4 = 82399, |
|
589 |
Iop_F16toF32x4 = 82399, |
| 590 |
Iop_Add32F0x4 = 82400, |
|
590 |
Iop_Add32F0x4 = 82400, |
| 591 |
Iop_Sub32F0x4 = 82401, |
|
591 |
Iop_Sub32F0x4 = 82401, |
| 592 |
Iop_Mul32F0x4 = 82402, |
|
592 |
Iop_Mul32F0x4 = 82402, |
| 593 |
Iop_Div32F0x4 = 82403, |
|
593 |
Iop_Div32F0x4 = 82403, |
| 594 |
Iop_Max32F0x4 = 82404, |
|
594 |
Iop_Max32F0x4 = 82404, |
| 595 |
Iop_Min32F0x4 = 82405, |
|
595 |
Iop_Min32F0x4 = 82405, |
| 596 |
Iop_CmpEQ32F0x4 = 82406, |
|
596 |
Iop_CmpEQ32F0x4 = 82406, |
| 597 |
Iop_CmpLT32F0x4 = 82407, |
|
597 |
Iop_CmpLT32F0x4 = 82407, |
| 598 |
Iop_CmpLE32F0x4 = 82408, |
|
598 |
Iop_CmpLE32F0x4 = 82408, |
| 599 |
Iop_CmpUN32F0x4 = 82409, |
|
599 |
Iop_CmpUN32F0x4 = 82409, |
| 600 |
Iop_Recip32F0x4 = 82410, |
|
600 |
Iop_Recip32F0x4 = 82410, |
| 601 |
Iop_Sqrt32F0x4 = 82411, |
|
601 |
Iop_Sqrt32F0x4 = 82411, |
| 602 |
Iop_RSqrt32F0x4 = 82412, |
|
602 |
Iop_RSqrt32F0x4 = 82412, |
| 603 |
Iop_Add64Fx2 = 82413, |
|
603 |
Iop_Add64Fx2 = 82413, |
| 604 |
Iop_Sub64Fx2 = 82414, |
|
604 |
Iop_Sub64Fx2 = 82414, |
| 605 |
Iop_Mul64Fx2 = 82415, |
|
605 |
Iop_Mul64Fx2 = 82415, |
| 606 |
Iop_Div64Fx2 = 82416, |
|
606 |
Iop_Div64Fx2 = 82416, |
| 607 |
Iop_Max64Fx2 = 82417, |
|
607 |
Iop_Max64Fx2 = 82417, |
| 608 |
Iop_Min64Fx2 = 82418, |
|
608 |
Iop_Min64Fx2 = 82418, |
| 609 |
Iop_CmpEQ64Fx2 = 82419, |
|
609 |
Iop_CmpEQ64Fx2 = 82419, |
| 610 |
Iop_CmpLT64Fx2 = 82420, |
|
610 |
Iop_CmpLT64Fx2 = 82420, |
| 611 |
Iop_CmpLE64Fx2 = 82421, |
|
611 |
Iop_CmpLE64Fx2 = 82421, |
| 612 |
Iop_CmpUN64Fx2 = 82422, |
|
612 |
Iop_CmpUN64Fx2 = 82422, |
| 613 |
Iop_Recip64Fx2 = 82423, |
|
613 |
Iop_Recip64Fx2 = 82423, |
| 614 |
Iop_Sqrt64Fx2 = 82424, |
|
614 |
Iop_Sqrt64Fx2 = 82424, |
| 615 |
Iop_RSqrt64Fx2 = 82425, |
|
615 |
Iop_RSqrt64Fx2 = 82425, |
| 616 |
Iop_Add64F0x2 = 82426, |
|
616 |
Iop_Add64F0x2 = 82426, |
| 617 |
Iop_Sub64F0x2 = 82427, |
|
617 |
Iop_Sub64F0x2 = 82427, |
| 618 |
Iop_Mul64F0x2 = 82428, |
|
618 |
Iop_Mul64F0x2 = 82428, |
| 619 |
Iop_Div64F0x2 = 82429, |
|
619 |
Iop_Div64F0x2 = 82429, |
| 620 |
Iop_Max64F0x2 = 82430, |
|
620 |
Iop_Max64F0x2 = 82430, |
| 621 |
Iop_Min64F0x2 = 82431, |
|
621 |
Iop_Min64F0x2 = 82431, |
| 622 |
Iop_CmpEQ64F0x2 = 82432, |
|
622 |
Iop_CmpEQ64F0x2 = 82432, |
| 623 |
Iop_CmpLT64F0x2 = 82433, |
|
623 |
Iop_CmpLT64F0x2 = 82433, |
| 624 |
Iop_CmpLE64F0x2 = 82434, |
|
624 |
Iop_CmpLE64F0x2 = 82434, |
| 625 |
Iop_CmpUN64F0x2 = 82435, |
|
625 |
Iop_CmpUN64F0x2 = 82435, |
| 626 |
Iop_Recip64F0x2 = 82436, |
|
626 |
Iop_Recip64F0x2 = 82436, |
| 627 |
Iop_Sqrt64F0x2 = 82437, |
|
627 |
Iop_Sqrt64F0x2 = 82437, |
| 628 |
Iop_RSqrt64F0x2 = 82438, |
|
628 |
Iop_RSqrt64F0x2 = 82438, |
| 629 |
Iop_V128to64 = 82439, |
|
629 |
Iop_V128to64 = 82439, |
| 630 |
Iop_V128HIto64 = 82440, |
|
630 |
Iop_V128HIto64 = 82440, |
| 631 |
Iop_64HLtoV128 = 82441, |
|
631 |
Iop_64HLtoV128 = 82441, |
| 632 |
Iop_64UtoV128 = 82442, |
|
632 |
Iop_64UtoV128 = 82442, |
| 633 |
Iop_SetV128lo64 = 82443, |
|
633 |
Iop_SetV128lo64 = 82443, |
| 634 |
Iop_32UtoV128 = 82444, |
|
634 |
Iop_32UtoV128 = 82444, |
| 635 |
Iop_V128to32 = 82445, |
|
635 |
Iop_V128to32 = 82445, |
| 636 |
Iop_SetV128lo32 = 82446, |
|
636 |
Iop_SetV128lo32 = 82446, |
| 637 |
Iop_NotV128 = 82447, |
|
637 |
Iop_NotV128 = 82447, |
| 638 |
Iop_AndV128 = 82448, |
|
638 |
Iop_AndV128 = 82448, |
| 639 |
Iop_OrV128 = 82449, |
|
639 |
Iop_OrV128 = 82449, |
| 640 |
Iop_XorV128 = 82450, |
|
640 |
Iop_XorV128 = 82450, |
| 641 |
Iop_ShlV128 = 82451, |
|
641 |
Iop_ShlV128 = 82451, |
| 642 |
Iop_ShrV128 = 82452, |
|
642 |
Iop_ShrV128 = 82452, |
| 643 |
Iop_CmpNEZ8x16 = 82453, |
|
643 |
Iop_CmpNEZ8x16 = 82453, |
| 644 |
Iop_CmpNEZ16x8 = 82454, |
|
644 |
Iop_CmpNEZ16x8 = 82454, |
| 645 |
Iop_CmpNEZ32x4 = 82455, |
|
645 |
Iop_CmpNEZ32x4 = 82455, |
| 646 |
Iop_CmpNEZ64x2 = 82456, |
|
646 |
Iop_CmpNEZ64x2 = 82456, |
| 647 |
Iop_Add8x16 = 82457, |
|
647 |
Iop_Add8x16 = 82457, |
| 648 |
Iop_Add16x8 = 82458, |
|
648 |
Iop_Add16x8 = 82458, |
| 649 |
Iop_Add32x4 = 82459, |
|
649 |
Iop_Add32x4 = 82459, |
| 650 |
Iop_Add64x2 = 82460, |
|
650 |
Iop_Add64x2 = 82460, |
| 651 |
Iop_QAdd8Ux16 = 82461, |
|
651 |
Iop_QAdd8Ux16 = 82461, |
| 652 |
Iop_QAdd16Ux8 = 82462, |
|
652 |
Iop_QAdd16Ux8 = 82462, |
| 653 |
Iop_QAdd32Ux4 = 82463, |
|
653 |
Iop_QAdd32Ux4 = 82463, |
| 654 |
Iop_QAdd64Ux2 = 82464, |
|
654 |
Iop_QAdd64Ux2 = 82464, |
| 655 |
Iop_QAdd8Sx16 = 82465, |
|
655 |
Iop_QAdd8Sx16 = 82465, |
| 656 |
Iop_QAdd16Sx8 = 82466, |
|
656 |
Iop_QAdd16Sx8 = 82466, |
| 657 |
Iop_QAdd32Sx4 = 82467, |
|
657 |
Iop_QAdd32Sx4 = 82467, |
| 658 |
Iop_QAdd64Sx2 = 82468, |
|
658 |
Iop_QAdd64Sx2 = 82468, |
| 659 |
Iop_Sub8x16 = 82469, |
|
659 |
Iop_Sub8x16 = 82469, |
| 660 |
Iop_Sub16x8 = 82470, |
|
660 |
Iop_Sub16x8 = 82470, |
| 661 |
Iop_Sub32x4 = 82471, |
|
661 |
Iop_Sub32x4 = 82471, |
| 662 |
Iop_Sub64x2 = 82472, |
|
662 |
Iop_Sub64x2 = 82472, |
| 663 |
Iop_QSub8Ux16 = 82473, |
|
663 |
Iop_QSub8Ux16 = 82473, |
| 664 |
Iop_QSub16Ux8 = 82474, |
|
664 |
Iop_QSub16Ux8 = 82474, |
| 665 |
Iop_QSub32Ux4 = 82475, |
|
665 |
Iop_QSub32Ux4 = 82475, |
| 666 |
Iop_QSub64Ux2 = 82476, |
|
666 |
Iop_QSub64Ux2 = 82476, |
| 667 |
Iop_QSub8Sx16 = 82477, |
|
667 |
Iop_QSub8Sx16 = 82477, |
| 668 |
Iop_QSub16Sx8 = 82478, |
|
668 |
Iop_QSub16Sx8 = 82478, |
| 669 |
Iop_QSub32Sx4 = 82479, |
|
669 |
Iop_QSub32Sx4 = 82479, |
| 670 |
Iop_QSub64Sx2 = 82480, |
|
670 |
Iop_QSub64Sx2 = 82480, |
| 671 |
Iop_Mul8x16 = 82481, |
|
671 |
Iop_Mul8x16 = 82481, |
| 672 |
Iop_Mul16x8 = 82482, |
|
672 |
Iop_Mul16x8 = 82482, |
| 673 |
Iop_Mul32x4 = 82483, |
|
673 |
Iop_Mul32x4 = 82483, |
| 674 |
Iop_MulHi16Ux8 = 82484, |
|
674 |
Iop_MulHi16Ux8 = 82484, |
| 675 |
Iop_MulHi32Ux4 = 82485, |
|
675 |
Iop_MulHi32Ux4 = 82485, |
| 676 |
Iop_MulHi16Sx8 = 82486, |
|
676 |
Iop_MulHi16Sx8 = 82486, |
| 677 |
Iop_MulHi32Sx4 = 82487, |
|
677 |
Iop_MulHi32Sx4 = 82487, |
| 678 |
Iop_MullEven8Ux16 = 82488, |
|
678 |
Iop_MullEven8Ux16 = 82488, |
| 679 |
Iop_MullEven16Ux8 = 82489, |
|
679 |
Iop_MullEven16Ux8 = 82489, |
| 680 |
Iop_MullEven8Sx16 = 82490, |
|
680 |
Iop_MullEven8Sx16 = 82490, |
| 681 |
Iop_MullEven16Sx8 = 82491, |
|
681 |
Iop_MullEven16Sx8 = 82491, |
| 682 |
Iop_Mull8Ux8 = 82492, |
|
682 |
Iop_Mull8Ux8 = 82492, |
| 683 |
Iop_Mull8Sx8 = 82493, |
|
683 |
Iop_Mull8Sx8 = 82493, |
| 684 |
Iop_Mull16Ux4 = 82494, |
|
684 |
Iop_Mull16Ux4 = 82494, |
| 685 |
Iop_Mull16Sx4 = 82495, |
|
685 |
Iop_Mull16Sx4 = 82495, |
| 686 |
Iop_Mull32Ux2 = 82496, |
|
686 |
Iop_Mull32Ux2 = 82496, |
| 687 |
Iop_Mull32Sx2 = 82497, |
|
687 |
Iop_Mull32Sx2 = 82497, |
| 688 |
Iop_QDMulHi16Sx8 = 82498, |
|
688 |
Iop_QDMulHi16Sx8 = 82498, |
| 689 |
Iop_QDMulHi32Sx4 = 82499, |
|
689 |
Iop_QDMulHi32Sx4 = 82499, |
| 690 |
Iop_QRDMulHi16Sx8 = 82500, |
|
690 |
Iop_QRDMulHi16Sx8 = 82500, |
| 691 |
Iop_QRDMulHi32Sx4 = 82501, |
|
691 |
Iop_QRDMulHi32Sx4 = 82501, |
| 692 |
Iop_QDMulLong16Sx4 = 82502, |
|
692 |
Iop_QDMulLong16Sx4 = 82502, |
| 693 |
Iop_QDMulLong32Sx2 = 82503, |
|
693 |
Iop_QDMulLong32Sx2 = 82503, |
| 694 |
Iop_PolynomialMul8x16 = 82504, |
|
694 |
Iop_PolynomialMul8x16 = 82504, |
| 695 |
Iop_PolynomialMull8x8 = 82505, |
|
695 |
Iop_PolynomialMull8x8 = 82505, |
| 696 |
Iop_PwAdd8x16 = 82506, |
|
696 |
Iop_PwAdd8x16 = 82506, |
| 697 |
Iop_PwAdd16x8 = 82507, |
|
697 |
Iop_PwAdd16x8 = 82507, |
| 698 |
Iop_PwAdd32x4 = 82508, |
|
698 |
Iop_PwAdd32x4 = 82508, |
| 699 |
Iop_PwAdd32Fx2 = 82509, |
|
699 |
Iop_PwAdd32Fx2 = 82509, |
| 700 |
Iop_PwAddL8Ux16 = 82510, |
|
700 |
Iop_PwAddL8Ux16 = 82510, |
| 701 |
Iop_PwAddL16Ux8 = 82511, |
|
701 |
Iop_PwAddL16Ux8 = 82511, |
| 702 |
Iop_PwAddL32Ux4 = 82512, |
|
702 |
Iop_PwAddL32Ux4 = 82512, |
| 703 |
Iop_PwAddL8Sx16 = 82513, |
|
703 |
Iop_PwAddL8Sx16 = 82513, |
| 704 |
Iop_PwAddL16Sx8 = 82514, |
|
704 |
Iop_PwAddL16Sx8 = 82514, |
| 705 |
Iop_PwAddL32Sx4 = 82515, |
|
705 |
Iop_PwAddL32Sx4 = 82515, |
| 706 |
Iop_Abs8x16 = 82516, |
|
706 |
Iop_Abs8x16 = 82516, |
| 707 |
Iop_Abs16x8 = 82517, |
|
707 |
Iop_Abs16x8 = 82517, |
| 708 |
Iop_Abs32x4 = 82518, |
|
708 |
Iop_Abs32x4 = 82518, |
| 709 |
Iop_Avg8Ux16 = 82519, |
|
709 |
Iop_Avg8Ux16 = 82519, |
| 710 |
Iop_Avg16Ux8 = 82520, |
|
710 |
Iop_Avg16Ux8 = 82520, |
| 711 |
Iop_Avg32Ux4 = 82521, |
|
711 |
Iop_Avg32Ux4 = 82521, |
| 712 |
Iop_Avg8Sx16 = 82522, |
|
712 |
Iop_Avg8Sx16 = 82522, |
| 713 |
Iop_Avg16Sx8 = 82523, |
|
713 |
Iop_Avg16Sx8 = 82523, |
| 714 |
Iop_Avg32Sx4 = 82524, |
|
714 |
Iop_Avg32Sx4 = 82524, |
| 715 |
Iop_Max8Sx16 = 82525, |
|
715 |
Iop_Max8Sx16 = 82525, |
| 716 |
Iop_Max16Sx8 = 82526, |
|
716 |
Iop_Max16Sx8 = 82526, |
| 717 |
Iop_Max32Sx4 = 82527, |
|
717 |
Iop_Max32Sx4 = 82527, |
| 718 |
Iop_Max8Ux16 = 82528, |
|
718 |
Iop_Max8Ux16 = 82528, |
| 719 |
Iop_Max16Ux8 = 82529, |
|
719 |
Iop_Max16Ux8 = 82529, |
| 720 |
Iop_Max32Ux4 = 82530, |
|
720 |
Iop_Max32Ux4 = 82530, |
| 721 |
Iop_Min8Sx16 = 82531, |
|
721 |
Iop_Min8Sx16 = 82531, |
| 722 |
Iop_Min16Sx8 = 82532, |
|
722 |
Iop_Min16Sx8 = 82532, |
| 723 |
Iop_Min32Sx4 = 82533, |
|
723 |
Iop_Min32Sx4 = 82533, |
| 724 |
Iop_Min8Ux16 = 82534, |
|
724 |
Iop_Min8Ux16 = 82534, |
| 725 |
Iop_Min16Ux8 = 82535, |
|
725 |
Iop_Min16Ux8 = 82535, |
| 726 |
Iop_Min32Ux4 = 82536, |
|
726 |
Iop_Min32Ux4 = 82536, |
| 727 |
Iop_CmpEQ8x16 = 82537, |
|
727 |
Iop_CmpEQ8x16 = 82537, |
| 728 |
Iop_CmpEQ16x8 = 82538, |
|
728 |
Iop_CmpEQ16x8 = 82538, |
| 729 |
Iop_CmpEQ32x4 = 82539, |
|
729 |
Iop_CmpEQ32x4 = 82539, |
| 730 |
Iop_CmpGT8Sx16 = 82540, |
|
730 |
Iop_CmpGT8Sx16 = 82540, |
| 731 |
Iop_CmpGT16Sx8 = 82541, |
|
731 |
Iop_CmpGT16Sx8 = 82541, |
| 732 |
Iop_CmpGT32Sx4 = 82542, |
|
732 |
Iop_CmpGT32Sx4 = 82542, |
| 733 |
Iop_CmpGT64Sx2 = 82543, |
|
733 |
Iop_CmpGT64Sx2 = 82543, |
| 734 |
Iop_CmpGT8Ux16 = 82544, |
|
734 |
Iop_CmpGT8Ux16 = 82544, |
| 735 |
Iop_CmpGT16Ux8 = 82545, |
|
735 |
Iop_CmpGT16Ux8 = 82545, |
| 736 |
Iop_CmpGT32Ux4 = 82546, |
|
736 |
Iop_CmpGT32Ux4 = 82546, |
| 737 |
Iop_Cnt8x16 = 82547, |
|
737 |
Iop_Cnt8x16 = 82547, |
| 738 |
Iop_Clz8Sx16 = 82548, |
|
738 |
Iop_Clz8Sx16 = 82548, |
| 739 |
Iop_Clz16Sx8 = 82549, |
|
739 |
Iop_Clz16Sx8 = 82549, |
| 740 |
Iop_Clz32Sx4 = 82550, |
|
740 |
Iop_Clz32Sx4 = 82550, |
| 741 |
Iop_Cls8Sx16 = 82551, |
|
741 |
Iop_Cls8Sx16 = 82551, |
| 742 |
Iop_Cls16Sx8 = 82552, |
|
742 |
Iop_Cls16Sx8 = 82552, |
| 743 |
Iop_Cls32Sx4 = 82553, |
|
743 |
Iop_Cls32Sx4 = 82553, |
| 744 |
Iop_ShlN8x16 = 82554, |
|
744 |
Iop_ShlN8x16 = 82554, |
| 745 |
Iop_ShlN16x8 = 82555, |
|
745 |
Iop_ShlN16x8 = 82555, |
| 746 |
Iop_ShlN32x4 = 82556, |
|
746 |
Iop_ShlN32x4 = 82556, |
| 747 |
Iop_ShlN64x2 = 82557, |
|
747 |
Iop_ShlN64x2 = 82557, |
| 748 |
Iop_ShrN8x16 = 82558, |
|
748 |
Iop_ShrN8x16 = 82558, |
| 749 |
Iop_ShrN16x8 = 82559, |
|
749 |
Iop_ShrN16x8 = 82559, |
| 750 |
Iop_ShrN32x4 = 82560, |
|
750 |
Iop_ShrN32x4 = 82560, |
| 751 |
Iop_ShrN64x2 = 82561, |
|
751 |
Iop_ShrN64x2 = 82561, |
| 752 |
Iop_SarN8x16 = 82562, |
|
752 |
Iop_SarN8x16 = 82562, |
| 753 |
Iop_SarN16x8 = 82563, |
|
753 |
Iop_SarN16x8 = 82563, |
| 754 |
Iop_SarN32x4 = 82564, |
|
754 |
Iop_SarN32x4 = 82564, |
| 755 |
Iop_SarN64x2 = 82565, |
|
755 |
Iop_SarN64x2 = 82565, |
| 756 |
Iop_Shl8x16 = 82566, |
|
756 |
Iop_Shl8x16 = 82566, |
| 757 |
Iop_Shl16x8 = 82567, |
|
757 |
Iop_Shl16x8 = 82567, |
| 758 |
Iop_Shl32x4 = 82568, |
|
758 |
Iop_Shl32x4 = 82568, |
| 759 |
Iop_Shl64x2 = 82569, |
|
759 |
Iop_Shl64x2 = 82569, |
| 760 |
Iop_Shr8x16 = 82570, |
|
760 |
Iop_Shr8x16 = 82570, |
| 761 |
Iop_Shr16x8 = 82571, |
|
761 |
Iop_Shr16x8 = 82571, |
| 762 |
Iop_Shr32x4 = 82572, |
|
762 |
Iop_Shr32x4 = 82572, |
| 763 |
Iop_Shr64x2 = 82573, |
|
763 |
Iop_Shr64x2 = 82573, |
| 764 |
Iop_Sar8x16 = 82574, |
|
764 |
Iop_Sar8x16 = 82574, |
| 765 |
Iop_Sar16x8 = 82575, |
|
765 |
Iop_Sar16x8 = 82575, |
| 766 |
Iop_Sar32x4 = 82576, |
|
766 |
Iop_Sar32x4 = 82576, |
| 767 |
Iop_Sar64x2 = 82577, |
|
767 |
Iop_Sar64x2 = 82577, |
| 768 |
Iop_Sal8x16 = 82578, |
|
768 |
Iop_Sal8x16 = 82578, |
| 769 |
Iop_Sal16x8 = 82579, |
|
769 |
Iop_Sal16x8 = 82579, |
| 770 |
Iop_Sal32x4 = 82580, |
|
770 |
Iop_Sal32x4 = 82580, |
| 771 |
Iop_Sal64x2 = 82581, |
|
771 |
Iop_Sal64x2 = 82581, |
| 772 |
Iop_Rol8x16 = 82582, |
|
772 |
Iop_Rol8x16 = 82582, |
| 773 |
Iop_Rol16x8 = 82583, |
|
773 |
Iop_Rol16x8 = 82583, |
| 774 |
Iop_Rol32x4 = 82584, |
|
774 |
Iop_Rol32x4 = 82584, |
| 775 |
Iop_QShl8x16 = 82585, |
|
775 |
Iop_QShl8x16 = 82585, |
| 776 |
Iop_QShl16x8 = 82586, |
|
776 |
Iop_QShl16x8 = 82586, |
| 777 |
Iop_QShl32x4 = 82587, |
|
777 |
Iop_QShl32x4 = 82587, |
| 778 |
Iop_QShl64x2 = 82588, |
|
778 |
Iop_QShl64x2 = 82588, |
| 779 |
Iop_QSal8x16 = 82589, |
|
779 |
Iop_QSal8x16 = 82589, |
| 780 |
Iop_QSal16x8 = 82590, |
|
780 |
Iop_QSal16x8 = 82590, |
| 781 |
Iop_QSal32x4 = 82591, |
|
781 |
Iop_QSal32x4 = 82591, |
| 782 |
Iop_QSal64x2 = 82592, |
|
782 |
Iop_QSal64x2 = 82592, |
| 783 |
Iop_QShlN8Sx16 = 82593, |
|
783 |
Iop_QShlN8Sx16 = 82593, |
| 784 |
Iop_QShlN16Sx8 = 82594, |
|
784 |
Iop_QShlN16Sx8 = 82594, |
| 785 |
Iop_QShlN32Sx4 = 82595, |
|
785 |
Iop_QShlN32Sx4 = 82595, |
| 786 |
Iop_QShlN64Sx2 = 82596, |
|
786 |
Iop_QShlN64Sx2 = 82596, |
| 787 |
Iop_QShlN8x16 = 82597, |
|
787 |
Iop_QShlN8x16 = 82597, |
| 788 |
Iop_QShlN16x8 = 82598, |
|
788 |
Iop_QShlN16x8 = 82598, |
| 789 |
Iop_QShlN32x4 = 82599, |
|
789 |
Iop_QShlN32x4 = 82599, |
| 790 |
Iop_QShlN64x2 = 82600, |
|
790 |
Iop_QShlN64x2 = 82600, |
| 791 |
Iop_QSalN8x16 = 82601, |
|
791 |
Iop_QSalN8x16 = 82601, |
| 792 |
Iop_QSalN16x8 = 82602, |
|
792 |
Iop_QSalN16x8 = 82602, |
| 793 |
Iop_QSalN32x4 = 82603, |
|
793 |
Iop_QSalN32x4 = 82603, |
| 794 |
Iop_QSalN64x2 = 82604, |
|
794 |
Iop_QSalN64x2 = 82604, |
| 795 |
Iop_QNarrowBin16Sto8Ux16 = 82605, |
|
795 |
Iop_QNarrowBin16Sto8Ux16 = 82605, |
| 796 |
Iop_QNarrowBin32Sto16Ux8 = 82606, |
|
796 |
Iop_QNarrowBin32Sto16Ux8 = 82606, |
| 797 |
Iop_QNarrowBin16Sto8Sx16 = 82607, |
|
797 |
Iop_QNarrowBin16Sto8Sx16 = 82607, |
| 798 |
Iop_QNarrowBin32Sto16Sx8 = 82608, |
|
798 |
Iop_QNarrowBin32Sto16Sx8 = 82608, |
| 799 |
Iop_QNarrowBin16Uto8Ux16 = 82609, |
|
799 |
Iop_QNarrowBin16Uto8Ux16 = 82609, |
| 800 |
Iop_QNarrowBin32Uto16Ux8 = 82610, |
|
800 |
Iop_QNarrowBin32Uto16Ux8 = 82610, |
| 801 |
Iop_NarrowBin16to8x16 = 82611, |
|
801 |
Iop_NarrowBin16to8x16 = 82611, |
| 802 |
Iop_NarrowBin32to16x8 = 82612, |
|
802 |
Iop_NarrowBin32to16x8 = 82612, |
| 803 |
Iop_NarrowUn16to8x8 = 82613, |
|
803 |
Iop_NarrowUn16to8x8 = 82613, |
| 804 |
Iop_NarrowUn32to16x4 = 82614, |
|
804 |
Iop_NarrowUn32to16x4 = 82614, |
| 805 |
Iop_NarrowUn64to32x2 = 82615, |
|
805 |
Iop_NarrowUn64to32x2 = 82615, |
| 806 |
Iop_QNarrowUn16Sto8Sx8 = 82616, |
|
806 |
Iop_QNarrowUn16Sto8Sx8 = 82616, |
| 807 |
Iop_QNarrowUn32Sto16Sx4 = 82617, |
|
807 |
Iop_QNarrowUn32Sto16Sx4 = 82617, |
| 808 |
Iop_QNarrowUn64Sto32Sx2 = 82618, |
|
808 |
Iop_QNarrowUn64Sto32Sx2 = 82618, |
| 809 |
Iop_QNarrowUn16Sto8Ux8 = 82619, |
|
809 |
Iop_QNarrowUn16Sto8Ux8 = 82619, |
| 810 |
Iop_QNarrowUn32Sto16Ux4 = 82620, |
|
810 |
Iop_QNarrowUn32Sto16Ux4 = 82620, |
| 811 |
Iop_QNarrowUn64Sto32Ux2 = 82621, |
|
811 |
Iop_QNarrowUn64Sto32Ux2 = 82621, |
| 812 |
Iop_QNarrowUn16Uto8Ux8 = 82622, |
|
812 |
Iop_QNarrowUn16Uto8Ux8 = 82622, |
| 813 |
Iop_QNarrowUn32Uto16Ux4 = 82623, |
|
813 |
Iop_QNarrowUn32Uto16Ux4 = 82623, |
| 814 |
Iop_QNarrowUn64Uto32Ux2 = 82624, |
|
814 |
Iop_QNarrowUn64Uto32Ux2 = 82624, |
| 815 |
Iop_Widen8Uto16x8 = 82625, |
|
815 |
Iop_Widen8Uto16x8 = 82625, |
| 816 |
Iop_Widen16Uto32x4 = 82626, |
|
816 |
Iop_Widen16Uto32x4 = 82626, |
| 817 |
Iop_Widen32Uto64x2 = 82627, |
|
817 |
Iop_Widen32Uto64x2 = 82627, |
| 818 |
Iop_Widen8Sto16x8 = 82628, |
|
818 |
Iop_Widen8Sto16x8 = 82628, |
| 819 |
Iop_Widen16Sto32x4 = 82629, |
|
819 |
Iop_Widen16Sto32x4 = 82629, |
| 820 |
Iop_Widen32Sto64x2 = 82630, |
|
820 |
Iop_Widen32Sto64x2 = 82630, |
| 821 |
Iop_InterleaveHI8x16 = 82631, |
|
821 |
Iop_InterleaveHI8x16 = 82631, |
| 822 |
Iop_InterleaveHI16x8 = 82632, |
|
822 |
Iop_InterleaveHI16x8 = 82632, |
| 823 |
Iop_InterleaveHI32x4 = 82633, |
|
823 |
Iop_InterleaveHI32x4 = 82633, |
| 824 |
Iop_InterleaveHI64x2 = 82634, |
|
824 |
Iop_InterleaveHI64x2 = 82634, |
| 825 |
Iop_InterleaveLO8x16 = 82635, |
|
825 |
Iop_InterleaveLO8x16 = 82635, |
| 826 |
Iop_InterleaveLO16x8 = 82636, |
|
826 |
Iop_InterleaveLO16x8 = 82636, |
| 827 |
Iop_InterleaveLO32x4 = 82637, |
|
827 |
Iop_InterleaveLO32x4 = 82637, |
| 828 |
Iop_InterleaveLO64x2 = 82638, |
|
828 |
Iop_InterleaveLO64x2 = 82638, |
| 829 |
Iop_InterleaveOddLanes8x16 = 82639, |
|
829 |
Iop_InterleaveOddLanes8x16 = 82639, |
| 830 |
Iop_InterleaveEvenLanes8x16 = 82640, |
|
830 |
Iop_InterleaveEvenLanes8x16 = 82640, |
| 831 |
Iop_InterleaveOddLanes16x8 = 82641, |
|
831 |
Iop_InterleaveOddLanes16x8 = 82641, |
| 832 |
Iop_InterleaveEvenLanes16x8 = 82642, |
|
832 |
Iop_InterleaveEvenLanes16x8 = 82642, |
| 833 |
Iop_InterleaveOddLanes32x4 = 82643, |
|
833 |
Iop_InterleaveOddLanes32x4 = 82643, |
| 834 |
Iop_InterleaveEvenLanes32x4 = 82644, |
|
834 |
Iop_InterleaveEvenLanes32x4 = 82644, |
| 835 |
Iop_CatOddLanes8x16 = 82645, |
|
835 |
Iop_CatOddLanes8x16 = 82645, |
| 836 |
Iop_CatOddLanes16x8 = 82646, |
|
836 |
Iop_CatOddLanes16x8 = 82646, |
| 837 |
Iop_CatOddLanes32x4 = 82647, |
|
837 |
Iop_CatOddLanes32x4 = 82647, |
| 838 |
Iop_CatEvenLanes8x16 = 82648, |
|
838 |
Iop_CatEvenLanes8x16 = 82648, |
| 839 |
Iop_CatEvenLanes16x8 = 82649, |
|
839 |
Iop_CatEvenLanes16x8 = 82649, |
| 840 |
Iop_CatEvenLanes32x4 = 82650, |
|
840 |
Iop_CatEvenLanes32x4 = 82650, |
| 841 |
Iop_GetElem8x16 = 82651, |
|
841 |
Iop_GetElem8x16 = 82651, |
| 842 |
Iop_GetElem16x8 = 82652, |
|
842 |
Iop_GetElem16x8 = 82652, |
| 843 |
Iop_GetElem32x4 = 82653, |
|
843 |
Iop_GetElem32x4 = 82653, |
| 844 |
Iop_GetElem64x2 = 82654, |
|
844 |
Iop_GetElem64x2 = 82654, |
| 845 |
Iop_Dup8x16 = 82655, |
|
845 |
Iop_Dup8x16 = 82655, |
| 846 |
Iop_Dup16x8 = 82656, |
|
846 |
Iop_Dup16x8 = 82656, |
| 847 |
Iop_Dup32x4 = 82657, |
|
847 |
Iop_Dup32x4 = 82657, |
| 848 |
Iop_ExtractV128 = 82658, |
|
848 |
Iop_ExtractV128 = 82658, |
| 849 |
Iop_Reverse16_8x16 = 82659, |
|
849 |
Iop_Reverse16_8x16 = 82659, |
| 850 |
Iop_Reverse32_8x16 = 82660, |
|
850 |
Iop_Reverse32_8x16 = 82660, |
| 851 |
Iop_Reverse32_16x8 = 82661, |
|
851 |
Iop_Reverse32_16x8 = 82661, |
| 852 |
Iop_Reverse64_8x16 = 82662, |
|
852 |
Iop_Reverse64_8x16 = 82662, |
| 853 |
Iop_Reverse64_16x8 = 82663, |
|
853 |
Iop_Reverse64_16x8 = 82663, |
| 854 |
Iop_Reverse64_32x4 = 82664, |
|
854 |
Iop_Reverse64_32x4 = 82664, |
| 855 |
Iop_Perm8x16 = 82665, |
|
855 |
Iop_Perm8x16 = 82665, |
| 856 |
Iop_Recip32x4 = 82666, |
|
856 |
Iop_Recip32x4 = 82666, |
| 857 |
Iop_Rsqrte32x4 = 82667 |
|
857 |
Iop_Rsqrte32x4 = 82667 |
| 858 |
} ; |
|
858 |
} ; |
| 859 |
typedef enum __anonenum_IROp_10 IROp; |
|
859 |
typedef enum __anonenum_IROp_10 IROp; |
| 860 |
enum __anonenum_IRRoundingMode_11 { |
|
860 |
enum __anonenum_IRRoundingMode_11 { |
| 861 |
Irrm_NEAREST = 0, |
|
861 |
Irrm_NEAREST = 0, |
| 862 |
Irrm_NegINF = 1, |
|
862 |
Irrm_NegINF = 1, |
| 863 |
Irrm_PosINF = 2, |
|
863 |
Irrm_PosINF = 2, |
| 864 |
Irrm_ZERO = 3 |
|
864 |
Irrm_ZERO = 3 |
| 865 |
} ; |
|
865 |
} ; |
| 866 |
typedef enum __anonenum_IRRoundingMode_11 IRRoundingMode; |
|
866 |
typedef enum __anonenum_IRRoundingMode_11 IRRoundingMode; |
| 867 |
enum __anonenum_IRCmpF64Result_12 { |
|
867 |
enum __anonenum_IRCmpF64Result_12 { |
| 868 |
Ircr_UN = 69, |
|
868 |
Ircr_UN = 69, |
| 869 |
Ircr_LT = 1, |
|
869 |
Ircr_LT = 1, |
| 870 |
Ircr_GT = 0, |
|
870 |
Ircr_GT = 0, |
| 871 |
Ircr_EQ = 64 |
|
871 |
Ircr_EQ = 64 |
| 872 |
} ; |
|
872 |
} ; |
| 873 |
typedef enum __anonenum_IRCmpF64Result_12 IRCmpF64Result; |
|
873 |
typedef enum __anonenum_IRCmpF64Result_12 IRCmpF64Result; |
| 874 |
typedef IRCmpF64Result IRCmpF32Result; |
|
874 |
typedef IRCmpF64Result IRCmpF32Result; |
| 875 |
typedef IRCmpF64Result IRCmpF128Result; |
|
875 |
typedef IRCmpF64Result IRCmpF128Result; |
| 876 |
enum __anonenum_IRExprTag_13 { |
|
876 |
enum __anonenum_IRExprTag_13 { |
| 877 |
Iex_Binder = 86016, |
|
877 |
Iex_Binder = 86016, |
| 878 |
Iex_Get = 86017, |
|
878 |
Iex_Get = 86017, |
| 879 |
Iex_GetI = 86018, |
|
879 |
Iex_GetI = 86018, |
| 880 |
Iex_RdTmp = 86019, |
|
880 |
Iex_RdTmp = 86019, |
| 881 |
Iex_Qop = 86020, |
|
881 |
Iex_Qop = 86020, |
| 882 |
Iex_Triop = 86021, |
|
882 |
Iex_Triop = 86021, |
| 883 |
Iex_Binop = 86022, |
|
883 |
Iex_Binop = 86022, |
| 884 |
Iex_Unop = 86023, |
|
884 |
Iex_Unop = 86023, |
| 885 |
Iex_Load = 86024, |
|
885 |
Iex_Load = 86024, |
| 886 |
Iex_Const = 86025, |
|
886 |
Iex_Const = 86025, |
| 887 |
Iex_Mux0X = 86026, |
|
887 |
Iex_Mux0X = 86026, |
| 888 |
Iex_CCall = 86027 |
|
888 |
Iex_CCall = 86027 |
| 889 |
} ; |
|
889 |
} ; |
| 890 |
typedef enum __anonenum_IRExprTag_13 IRExprTag; |
|
890 |
typedef enum __anonenum_IRExprTag_13 IRExprTag; |
| 891 |
struct _IRExpr; |
|
891 |
struct _IRExpr; |
| 892 |
typedef struct _IRExpr IRExpr; |
|
892 |
typedef struct _IRExpr IRExpr; |
| 893 |
struct __anonstruct_Binder_15 { |
|
893 |
struct __anonstruct_Binder_15 { |
| 894 |
Int binder ; |
|
894 |
Int binder ; |
| 895 |
}; |
|
895 |
}; |
| 896 |
struct __anonstruct_Get_16 { |
|
896 |
struct __anonstruct_Get_16 { |
| 897 |
Int offset ; |
|
897 |
Int offset ; |
| 898 |
IRType ty ; |
|
898 |
IRType ty ; |
| 899 |
}; |
|
899 |
}; |
| 900 |
struct __anonstruct_GetI_17 { |
|
900 |
struct __anonstruct_GetI_17 { |
| 901 |
IRRegArray *descr ; |
|
901 |
IRRegArray *descr ; |
| 902 |
IRExpr *ix ; |
|
902 |
IRExpr *ix ; |
| 903 |
Int bias ; |
|
903 |
Int bias ; |
| 904 |
}; |
|
904 |
}; |
| 905 |
struct __anonstruct_RdTmp_18 { |
|
905 |
struct __anonstruct_RdTmp_18 { |
| 906 |
IRTemp tmp ; |
|
906 |
IRTemp tmp ; |
| 907 |
}; |
|
907 |
}; |
| 908 |
struct __anonstruct_Qop_19 { |
|
908 |
struct __anonstruct_Qop_19 { |
| 909 |
IROp op ; |
|
909 |
IROp op ; |
| 910 |
IRExpr *arg1 ; |
|
910 |
IRExpr *arg1 ; |
| 911 |
IRExpr *arg2 ; |
|
911 |
IRExpr *arg2 ; |
| 912 |
IRExpr *arg3 ; |
|
912 |
IRExpr *arg3 ; |
| 913 |
IRExpr *arg4 ; |
|
913 |
IRExpr *arg4 ; |
| 914 |
}; |
|
914 |
}; |
| 915 |
struct __anonstruct_Triop_20 { |
|
915 |
struct __anonstruct_Triop_20 { |
| 916 |
IROp op ; |
|
916 |
IROp op ; |
| 917 |
IRExpr *arg1 ; |
|
917 |
IRExpr *arg1 ; |
| 918 |
IRExpr *arg2 ; |
|
918 |
IRExpr *arg2 ; |
| 919 |
IRExpr *arg3 ; |
|
919 |
IRExpr *arg3 ; |
| 920 |
}; |
|
920 |
}; |
| 921 |
struct __anonstruct_Binop_21 { |
|
921 |
struct __anonstruct_Binop_21 { |
| 922 |
IROp op ; |
|
922 |
IROp op ; |
| 923 |
IRExpr *arg1 ; |
|
923 |
IRExpr *arg1 ; |
| 924 |
IRExpr *arg2 ; |
|
924 |
IRExpr *arg2 ; |
| 925 |
}; |
|
925 |
}; |
| 926 |
struct __anonstruct_Unop_22 { |
|
926 |
struct __anonstruct_Unop_22 { |
| 927 |
IROp op ; |
|
927 |
IROp op ; |
| 928 |
IRExpr *arg ; |
|
928 |
IRExpr *arg ; |
| 929 |
}; |
|
929 |
}; |
| 930 |
struct __anonstruct_Load_23 { |
|
930 |
struct __anonstruct_Load_23 { |
| 931 |
IREndness end ; |
|
931 |
IREndness end ; |
| 932 |
IRType ty ; |
|
932 |
IRType ty ; |
| 933 |
IRExpr *addr ; |
|
933 |
IRExpr *addr ; |
| 934 |
}; |
|
934 |
}; |
| 935 |
struct __anonstruct_Const_24 { |
|
935 |
struct __anonstruct_Const_24 { |
| 936 |
IRConst *con ; |
|
936 |
IRConst *con ; |
| 937 |
}; |
|
937 |
}; |
| 938 |
struct __anonstruct_CCall_25 { |
|
938 |
struct __anonstruct_CCall_25 { |
| 939 |
IRCallee *cee ; |
|
939 |
IRCallee *cee ; |
| 940 |
IRType retty ; |
|
940 |
IRType retty ; |
| 941 |
IRExpr **args ; |
|
941 |
IRExpr **args ; |
| 942 |
}; |
|
942 |
}; |
| 943 |
struct __anonstruct_Mux0X_26 { |
|
943 |
struct __anonstruct_Mux0X_26 { |
| 944 |
IRExpr *cond ; |
|
944 |
IRExpr *cond ; |
| 945 |
IRExpr *expr0 ; |
|
945 |
IRExpr *expr0 ; |
| 946 |
IRExpr *exprX ; |
|
946 |
IRExpr *exprX ; |
| 947 |
}; |
|
947 |
}; |
| 948 |
union __anonunion_Iex_14 { |
|
948 |
union __anonunion_Iex_14 { |
| 949 |
struct __anonstruct_Binder_15 Binder ; |
|
949 |
struct __anonstruct_Binder_15 Binder ; |
| 950 |
struct __anonstruct_Get_16 Get ; |
|
950 |
struct __anonstruct_Get_16 Get ; |
| 951 |
struct __anonstruct_GetI_17 GetI ; |
|
951 |
struct __anonstruct_GetI_17 GetI ; |
| 952 |
struct __anonstruct_RdTmp_18 RdTmp ; |
|
952 |
struct __anonstruct_RdTmp_18 RdTmp ; |
| 953 |
struct __anonstruct_Qop_19 Qop ; |
|
953 |
struct __anonstruct_Qop_19 Qop ; |
| 954 |
struct __anonstruct_Triop_20 Triop ; |
|
954 |
struct __anonstruct_Triop_20 Triop ; |
| 955 |
struct __anonstruct_Binop_21 Binop ; |
|
955 |
struct __anonstruct_Binop_21 Binop ; |
| 956 |
struct __anonstruct_Unop_22 Unop ; |
|
956 |
struct __anonstruct_Unop_22 Unop ; |
| 957 |
struct __anonstruct_Load_23 Load ; |
|
957 |
struct __anonstruct_Load_23 Load ; |
| 958 |
struct __anonstruct_Const_24 Const ; |
|
958 |
struct __anonstruct_Const_24 Const ; |
| 959 |
struct __anonstruct_CCall_25 CCall ; |
|
959 |
struct __anonstruct_CCall_25 CCall ; |
| 960 |
struct __anonstruct_Mux0X_26 Mux0X ; |
|
960 |
struct __anonstruct_Mux0X_26 Mux0X ; |
| 961 |
}; |
|
961 |
}; |
| 962 |
struct _IRExpr { |
|
962 |
struct _IRExpr { |
| 963 |
IRExprTag tag ; |
|
963 |
IRExprTag tag ; |
| 964 |
union __anonunion_Iex_14 Iex ; |
|
964 |
union __anonunion_Iex_14 Iex ; |
| 965 |
}; |
|
965 |
}; |
| 966 |
enum __anonenum_IRJumpKind_27 { |
|
966 |
enum __anonenum_IRJumpKind_27 { |
| 967 |
Ijk_Boring = 90112, |
|
967 |
Ijk_Boring = 90112, |
| 968 |
Ijk_Call = 90113, |
|
968 |
Ijk_Call = 90113, |
| 969 |
Ijk_Ret = 90114, |
|
969 |
Ijk_Ret = 90114, |
| 970 |
Ijk_ClientReq = 90115, |
|
970 |
Ijk_ClientReq = 90115, |
| 971 |
Ijk_Yield = 90116, |
|
971 |
Ijk_Yield = 90116, |
| 972 |
Ijk_EmWarn = 90117, |
|
972 |
Ijk_EmWarn = 90117, |
| 973 |
Ijk_EmFail = 90118, |
|
973 |
Ijk_EmFail = 90118, |
| 974 |
Ijk_NoDecode = 90119, |
|
974 |
Ijk_NoDecode = 90119, |
| 975 |
Ijk_MapFail = 90120, |
|
975 |
Ijk_MapFail = 90120, |
| 976 |
Ijk_TInval = 90121, |
|
976 |
Ijk_TInval = 90121, |
| 977 |
Ijk_NoRedir = 90122, |
|
977 |
Ijk_NoRedir = 90122, |
| 978 |
Ijk_SigTRAP = 90123, |
|
978 |
Ijk_SigTRAP = 90123, |
| 979 |
Ijk_SigSEGV = 90124, |
|
979 |
Ijk_SigSEGV = 90124, |
| 980 |
Ijk_SigBUS = 90125, |
|
980 |
Ijk_SigBUS = 90125, |
| 981 |
Ijk_Sys_syscall = 90126, |
|
981 |
Ijk_Sys_syscall = 90126, |
| 982 |
Ijk_Sys_int32 = 90127, |
|
982 |
Ijk_Sys_int32 = 90127, |
| 983 |
Ijk_Sys_int128 = 90128, |
|
983 |
Ijk_Sys_int128 = 90128, |
| 984 |
Ijk_Sys_int129 = 90129, |
|
984 |
Ijk_Sys_int129 = 90129, |
| 985 |
Ijk_Sys_int130 = 90130, |
|
985 |
Ijk_Sys_int130 = 90130, |
| 986 |
Ijk_Sys_sysenter = 90131 |
|
986 |
Ijk_Sys_sysenter = 90131 |
| 987 |
} ; |
|
987 |
} ; |
| 988 |
typedef enum __anonenum_IRJumpKind_27 IRJumpKind; |
|
988 |
typedef enum __anonenum_IRJumpKind_27 IRJumpKind; |
| 989 |
enum __anonenum_IREffect_28 { |
|
989 |
enum __anonenum_IREffect_28 { |
| 990 |
Ifx_None = 94208, |
|
990 |
Ifx_None = 94208, |
| 991 |
Ifx_Read = 94209, |
|
991 |
Ifx_Read = 94209, |
| 992 |
Ifx_Write = 94210, |
|
992 |
Ifx_Write = 94210, |
| 993 |
Ifx_Modify = 94211 |
|
993 |
Ifx_Modify = 94211 |
| 994 |
} ; |
|
994 |
} ; |
| 995 |
typedef enum __anonenum_IREffect_28 IREffect; |
|
995 |
typedef enum __anonenum_IREffect_28 IREffect; |
| 996 |
struct __anonstruct_fxState_30 { |
|
996 |
struct __anonstruct_fxState_30 { |
| 997 |
IREffect fx ; |
|
997 |
IREffect fx ; |
| 998 |
Int offset ; |
|
998 |
Int offset ; |
| 999 |
Int size ; |
|
999 |
Int size ; |
| 1000 |
}; |
|
1000 |
}; |
| 1001 |
struct __anonstruct_IRDirty_29 { |
|
1001 |
struct __anonstruct_IRDirty_29 { |
| 1002 |
IRCallee *cee ; |
|
1002 |
IRCallee *cee ; |
| 1003 |
IRExpr *guard ; |
|
1003 |
IRExpr *guard ; |
| 1004 |
IRExpr **args ; |
|
1004 |
IRExpr **args ; |
| 1005 |
IRTemp tmp ; |
|
1005 |
IRTemp tmp ; |
| 1006 |
IREffect mFx ; |
|
1006 |
IREffect mFx ; |
| 1007 |
IRExpr *mAddr ; |
|
1007 |
IRExpr *mAddr ; |
| 1008 |
Int mSize ; |
|
1008 |
Int mSize ; |
| 1009 |
Bool needsBBP ; |
|
1009 |
Bool needsBBP ; |
| 1010 |
Int nFxState ; |
|
1010 |
Int nFxState ; |
| 1011 |
struct __anonstruct_fxState_30 fxState[7] ; |
|
1011 |
struct __anonstruct_fxState_30 fxState[7] ; |
| 1012 |
}; |
|
1012 |
}; |
| 1013 |
typedef struct __anonstruct_IRDirty_29 IRDirty; |
|
1013 |
typedef struct __anonstruct_IRDirty_29 IRDirty; |
| 1014 |
enum __anonenum_IRMBusEvent_31 { |
|
1014 |
enum __anonenum_IRMBusEvent_31 { |
| 1015 |
Imbe_Fence = 98304 |
|
1015 |
Imbe_Fence = 98304 |
| 1016 |
} ; |
|
1016 |
} ; |
| 1017 |
typedef enum __anonenum_IRMBusEvent_31 IRMBusEvent; |
|
1017 |
typedef enum __anonenum_IRMBusEvent_31 IRMBusEvent; |
| 1018 |
struct __anonstruct_IRCAS_32 { |
|
1018 |
struct __anonstruct_IRCAS_32 { |
| 1019 |
IRTemp oldHi ; |
|
1019 |
IRTemp oldHi ; |
| 1020 |
IRTemp oldLo ; |
|
1020 |
IRTemp oldLo ; |
| 1021 |
IREndness end ; |
|
1021 |
IREndness end ; |
| 1022 |
IRExpr *addr ; |
|
1022 |
IRExpr *addr ; |
| 1023 |
IRExpr *expdHi ; |
|
1023 |
IRExpr *expdHi ; |
| 1024 |
IRExpr *expdLo ; |
|
1024 |
IRExpr *expdLo ; |
| 1025 |
IRExpr *dataHi ; |
|
1025 |
IRExpr *dataHi ; |
| 1026 |
IRExpr *dataLo ; |
|
1026 |
IRExpr *dataLo ; |
| 1027 |
}; |
|
1027 |
}; |
| 1028 |
typedef struct __anonstruct_IRCAS_32 IRCAS; |
|
1028 |
typedef struct __anonstruct_IRCAS_32 IRCAS; |
| 1029 |
enum __anonenum_IRStmtTag_33 { |
|
1029 |
enum __anonenum_IRStmtTag_33 { |
| 1030 |
Ist_NoOp = 102400, |
|
1030 |
Ist_NoOp = 102400, |
| 1031 |
Ist_IMark = 102401, |
|
1031 |
Ist_IMark = 102401, |
| 1032 |
Ist_AbiHint = 102402, |
|
1032 |
Ist_AbiHint = 102402, |
| 1033 |
Ist_Put = 102403, |
|
1033 |
Ist_Put = 102403, |
| 1034 |
Ist_PutI = 102404, |
|
1034 |
Ist_PutI = 102404, |
| 1035 |
Ist_WrTmp = 102405, |
|
1035 |
Ist_WrTmp = 102405, |
| 1036 |
Ist_Store = 102406, |
|
1036 |
Ist_Store = 102406, |
| 1037 |
Ist_CAS = 102407, |
|
1037 |
Ist_CAS = 102407, |
| 1038 |
Ist_LLSC = 102408, |
|
1038 |
Ist_LLSC = 102408, |
| 1039 |
Ist_Dirty = 102409, |
|
1039 |
Ist_Dirty = 102409, |
| 1040 |
Ist_MBE = 102410, |
|
1040 |
Ist_MBE = 102410, |
| 1041 |
Ist_Exit = 102411 |
|
1041 |
Ist_Exit = 102411 |
| 1042 |
} ; |
|
1042 |
} ; |
| 1043 |
typedef enum __anonenum_IRStmtTag_33 IRStmtTag; |
|
1043 |
typedef enum __anonenum_IRStmtTag_33 IRStmtTag; |
| 1044 |
struct __anonstruct_NoOp_35 { |
|
1044 |
struct __anonstruct_NoOp_35 { |
| 1045 |
|
|
1045 |
|
| 1046 |
}; |
|
1046 |
}; |
| 1047 |
struct __anonstruct_IMark_36 { |
|
1047 |
struct __anonstruct_IMark_36 { |
| 1048 |
Addr64 addr ; |
|
1048 |
Addr64 addr ; |
| 1049 |
Int len ; |
|
1049 |
Int len ; |
| 1050 |
UChar delta ; |
|
1050 |
UChar delta ; |
| 1051 |
}; |
|
1051 |
}; |
| 1052 |
struct __anonstruct_AbiHint_37 { |
|
1052 |
struct __anonstruct_AbiHint_37 { |
| 1053 |
IRExpr *base ; |
|
1053 |
IRExpr *base ; |
| 1054 |
Int len ; |
|
1054 |
Int len ; |
| 1055 |
IRExpr *nia ; |
|
1055 |
IRExpr *nia ; |
| 1056 |
}; |
|
1056 |
}; |
| 1057 |
struct __anonstruct_Put_38 { |
|
1057 |
struct __anonstruct_Put_38 { |
| 1058 |
Int offset ; |
|
1058 |
Int offset ; |
| 1059 |
IRExpr *data ; |
|
1059 |
IRExpr *data ; |
| 1060 |
}; |
|
1060 |
}; |
| 1061 |
struct __anonstruct_PutI_39 { |
|
1061 |
struct __anonstruct_PutI_39 { |
| 1062 |
IRRegArray *descr ; |
|
1062 |
IRRegArray *descr ; |
| 1063 |
IRExpr *ix ; |
|
1063 |
IRExpr *ix ; |
| 1064 |
Int bias ; |
|
1064 |
Int bias ; |
| 1065 |
IRExpr *data ; |
|
1065 |
IRExpr *data ; |
| 1066 |
}; |
|
1066 |
}; |
| 1067 |
struct __anonstruct_WrTmp_40 { |
|
1067 |
struct __anonstruct_WrTmp_40 { |
| 1068 |
IRTemp tmp ; |
|
1068 |
IRTemp tmp ; |
| 1069 |
IRExpr *data ; |
|
1069 |
IRExpr *data ; |
| 1070 |
}; |
|
1070 |
}; |
| 1071 |
struct __anonstruct_Store_41 { |
|
1071 |
struct __anonstruct_Store_41 { |
| 1072 |
IREndness end ; |
|
1072 |
IREndness end ; |
| 1073 |
IRExpr *addr ; |
|
1073 |
IRExpr *addr ; |
| 1074 |
IRExpr *data ; |
|
1074 |
IRExpr *data ; |
| 1075 |
}; |
|
1075 |
}; |
| 1076 |
struct __anonstruct_CAS_42 { |
|
1076 |
struct __anonstruct_CAS_42 { |
| 1077 |
IRCAS *details ; |
|
1077 |
IRCAS *details ; |
| 1078 |
}; |
|
1078 |
}; |
| 1079 |
struct __anonstruct_LLSC_43 { |
|
1079 |
struct __anonstruct_LLSC_43 { |
| 1080 |
IREndness end ; |
|
1080 |
IREndness end ; |
| 1081 |
IRTemp result ; |
|
1081 |
IRTemp result ; |
| 1082 |
IRExpr *addr ; |
|
1082 |
IRExpr *addr ; |
| 1083 |
IRExpr *storedata ; |
|
1083 |
IRExpr *storedata ; |
| 1084 |
}; |
|
1084 |
}; |
| 1085 |
struct __anonstruct_Dirty_44 { |
|
1085 |
struct __anonstruct_Dirty_44 { |
| 1086 |
IRDirty *details ; |
|
1086 |
IRDirty *details ; |
| 1087 |
}; |
|
1087 |
}; |
| 1088 |
struct __anonstruct_MBE_45 { |
|
1088 |
struct __anonstruct_MBE_45 { |
| 1089 |
IRMBusEvent event ; |
|
1089 |
IRMBusEvent event ; |
| 1090 |
}; |
|
1090 |
}; |
| 1091 |
struct __anonstruct_Exit_46 { |
|
1091 |
struct __anonstruct_Exit_46 { |
| 1092 |
IRExpr *guard ; |
|
1092 |
IRExpr *guard ; |
| 1093 |
IRJumpKind jk ; |
|
1093 |
IRJumpKind jk ; |
| 1094 |
IRConst *dst ; |
|
1094 |
IRConst *dst ; |
| 1095 |
}; |
|
1095 |
}; |
| 1096 |
union __anonunion_Ist_34 { |
|
1096 |
union __anonunion_Ist_34 { |
| 1097 |
struct __anonstruct_NoOp_35 NoOp ; |
|
1097 |
struct __anonstruct_NoOp_35 NoOp ; |
| 1098 |
struct __anonstruct_IMark_36 IMark ; |
|
1098 |
struct __anonstruct_IMark_36 IMark ; |
| 1099 |
struct __anonstruct_AbiHint_37 AbiHint ; |
|
1099 |
struct __anonstruct_AbiHint_37 AbiHint ; |
| 1100 |
struct __anonstruct_Put_38 Put ; |
|
1100 |
struct __anonstruct_Put_38 Put ; |
| 1101 |
struct __anonstruct_PutI_39 PutI ; |
|
1101 |
struct __anonstruct_PutI_39 PutI ; |
| 1102 |
struct __anonstruct_WrTmp_40 WrTmp ; |
|
1102 |
struct __anonstruct_WrTmp_40 WrTmp ; |
| 1103 |
struct __anonstruct_Store_41 Store ; |
|
1103 |
struct __anonstruct_Store_41 Store ; |
| 1104 |
struct __anonstruct_CAS_42 CAS ; |
|
1104 |
struct __anonstruct_CAS_42 CAS ; |
| 1105 |
struct __anonstruct_LLSC_43 LLSC ; |
|
1105 |
struct __anonstruct_LLSC_43 LLSC ; |
| 1106 |
struct __anonstruct_Dirty_44 Dirty ; |
|
1106 |
struct __anonstruct_Dirty_44 Dirty ; |
| 1107 |
struct __anonstruct_MBE_45 MBE ; |
|
1107 |
struct __anonstruct_MBE_45 MBE ; |
| 1108 |
struct __anonstruct_Exit_46 Exit ; |
|
1108 |
struct __anonstruct_Exit_46 Exit ; |
| 1109 |
}; |
|
1109 |
}; |
| 1110 |
struct _IRStmt { |
|
1110 |
struct _IRStmt { |
| 1111 |
IRStmtTag tag ; |
|
1111 |
IRStmtTag tag ; |
| 1112 |
union __anonunion_Ist_34 Ist ; |
|
1112 |
union __anonunion_Ist_34 Ist ; |
| 1113 |
}; |
|
1113 |
}; |
| 1114 |
typedef struct _IRStmt IRStmt; |
|
1114 |
typedef struct _IRStmt IRStmt; |
| 1115 |
struct __anonstruct_IRTypeEnv_47 { |
|
1115 |
struct __anonstruct_IRTypeEnv_47 { |
| 1116 |
IRType *types ; |
|
1116 |
IRType *types ; |
| 1117 |
Int types_size ; |
|
1117 |
Int types_size ; |
| 1118 |
Int types_used ; |
|
1118 |
Int types_used ; |
| 1119 |
}; |
|
1119 |
}; |
| 1120 |
typedef struct __anonstruct_IRTypeEnv_47 IRTypeEnv; |
|
1120 |
typedef struct __anonstruct_IRTypeEnv_47 IRTypeEnv; |
| 1121 |
struct __anonstruct_IRSB_48 { |
|
1121 |
struct __anonstruct_IRSB_48 { |
| 1122 |
IRTypeEnv *tyenv ; |
|
1122 |
IRTypeEnv *tyenv ; |
| 1123 |
IRStmt **stmts ; |
|
1123 |
IRStmt **stmts ; |
| 1124 |
Int stmts_size ; |
|
1124 |
Int stmts_size ; |
| 1125 |
Int stmts_used ; |
|
1125 |
Int stmts_used ; |
| 1126 |
IRExpr *next ; |
|
1126 |
IRExpr *next ; |
| 1127 |
IRJumpKind jumpkind ; |
|
1127 |
IRJumpKind jumpkind ; |
| 1128 |
}; |
|
1128 |
}; |
| 1129 |
typedef struct __anonstruct_IRSB_48 IRSB; |
|
1129 |
typedef struct __anonstruct_IRSB_48 IRSB; |
| 1130 |
enum __anonenum_VexArch_49 { |
|
1130 |
enum __anonenum_VexArch_49 { |
| 1131 |
VexArch_INVALID = 0, |
|
1131 |
VexArch_INVALID = 0, |
| 1132 |
VexArchX86 = 1, |
|
1132 |
VexArchX86 = 1, |
| 1133 |
VexArchAMD64 = 2, |
|
1133 |
VexArchAMD64 = 2, |
| 1134 |
VexArchARM = 3, |
|
1134 |
VexArchARM = 3, |
| 1135 |
VexArchPPC32 = 4, |
|
1135 |
VexArchPPC32 = 4, |
| 1136 |
VexArchPPC64 = 5, |
|
1136 |
VexArchPPC64 = 5, |
| 1137 |
VexArchS390X = 6 |
|
1137 |
VexArchS390X = 6 |
| 1138 |
} ; |
|
1138 |
} ; |
| 1139 |
typedef enum __anonenum_VexArch_49 VexArch; |
|
1139 |
typedef enum __anonenum_VexArch_49 VexArch; |
| 1140 |
struct __anonstruct_VexArchInfo_50 { |
|
1140 |
struct __anonstruct_VexArchInfo_50 { |
| 1141 |
UInt hwcaps ; |
|
1141 |
UInt hwcaps ; |
| 1142 |
Int ppc_cache_line_szB ; |
|
1142 |
Int ppc_cache_line_szB ; |
| 1143 |
UInt ppc_dcbz_szB ; |
|
1143 |
UInt ppc_dcbz_szB ; |
| 1144 |
UInt ppc_dcbzl_szB ; |
|
1144 |
UInt ppc_dcbzl_szB ; |
| 1145 |
}; |
|
1145 |
}; |
| 1146 |
typedef struct __anonstruct_VexArchInfo_50 VexArchInfo; |
|
1146 |
typedef struct __anonstruct_VexArchInfo_50 VexArchInfo; |
| 1147 |
struct __anonstruct_VexAbiInfo_51 { |
|
1147 |
struct __anonstruct_VexAbiInfo_51 { |
| 1148 |
Int guest_stack_redzone_size ; |
|
1148 |
Int guest_stack_redzone_size ; |
| 1149 |
Bool guest_amd64_assume_fs_is_zero ; |
|
1149 |
Bool guest_amd64_assume_fs_is_zero ; |
| 1150 |
Bool guest_amd64_assume_gs_is_0x60 ; |
|
1150 |
Bool guest_amd64_assume_gs_is_0x60 ; |
| 1151 |
Bool guest_ppc_zap_RZ_at_blr ; |
|
1151 |
Bool guest_ppc_zap_RZ_at_blr ; |
| 1152 |
Bool (*guest_ppc_zap_RZ_at_bl)(Addr64 ) ; |
|
1152 |
Bool (*guest_ppc_zap_RZ_at_bl)(Addr64 ) ; |
| 1153 |
Bool guest_ppc_sc_continues_at_LR ; |
|
1153 |
Bool guest_ppc_sc_continues_at_LR ; |
| 1154 |
Bool host_ppc_calls_use_fndescrs ; |
|
1154 |
Bool host_ppc_calls_use_fndescrs ; |
| 1155 |
Bool host_ppc32_regalign_int64_args ; |
|
1155 |
Bool host_ppc32_regalign_int64_args ; |
| 1156 |
}; |
|
1156 |
}; |
| 1157 |
typedef struct __anonstruct_VexAbiInfo_51 VexAbiInfo; |
|
1157 |
typedef struct __anonstruct_VexAbiInfo_51 VexAbiInfo; |
| 1158 |
struct __anonstruct_VexControl_52 { |
|
1158 |
struct __anonstruct_VexControl_52 { |
| 1159 |
Int iropt_verbosity ; |
|
1159 |
Int iropt_verbosity ; |
| 1160 |
Int iropt_level ; |
|
1160 |
Int iropt_level ; |
| 1161 |
Bool iropt_precise_memory_exns ; |
|
1161 |
Bool iropt_precise_memory_exns ; |
| 1162 |
Int iropt_unroll_thresh ; |
|
1162 |
Int iropt_unroll_thresh ; |
| 1163 |
Int guest_max_insns ; |
|
1163 |
Int guest_max_insns ; |
| 1164 |
Int guest_chase_thresh ; |
|
1164 |
Int guest_chase_thresh ; |
| 1165 |
Bool guest_chase_cond ; |
|
1165 |
Bool guest_chase_cond ; |
| 1166 |
}; |
|
1166 |
}; |
| 1167 |
typedef struct __anonstruct_VexControl_52 VexControl; |
|
1167 |
typedef struct __anonstruct_VexControl_52 VexControl; |
| 1168 |
struct __anonstruct_alwaysDefd_54 { |
|
1168 |
struct __anonstruct_alwaysDefd_54 { |
| 1169 |
Int offset ; |
|
1169 |
Int offset ; |
| 1170 |
Int size ; |
|
1170 |
Int size ; |
| 1171 |
}; |
|
1171 |
}; |
| 1172 |
struct __anonstruct_VexGuestLayout_53 { |
|
1172 |
struct __anonstruct_VexGuestLayout_53 { |
| 1173 |
Int total_sizeB ; |
|
1173 |
Int total_sizeB ; |
| 1174 |
Int offset_SP ; |
|
1174 |
Int offset_SP ; |
| 1175 |
Int sizeof_SP ; |
|
1175 |
Int sizeof_SP ; |
| 1176 |
Int offset_FP ; |
|
1176 |
Int offset_FP ; |
| 1177 |
Int sizeof_FP ; |
|
1177 |
Int sizeof_FP ; |
| 1178 |
Int offset_IP ; |
|
1178 |
Int offset_IP ; |
| 1179 |
Int sizeof_IP ; |
|
1179 |
Int sizeof_IP ; |
| 1180 |
Int n_alwaysDefd ; |
|
1180 |
Int n_alwaysDefd ; |
| 1181 |
struct __anonstruct_alwaysDefd_54 alwaysDefd[24] ; |
|
1181 |
struct __anonstruct_alwaysDefd_54 alwaysDefd[24] ; |
| 1182 |
}; |
|
1182 |
}; |
| 1183 |
typedef struct __anonstruct_VexGuestLayout_53 VexGuestLayout; |
|
1183 |
typedef struct __anonstruct_VexGuestLayout_53 VexGuestLayout; |
| 1184 |
enum __anonenum_status_56 { |
|
1184 |
enum __anonenum_status_56 { |
| 1185 |
VexTransOK = 0, |
|
1185 |
VexTransOK = 0, |
| 1186 |
VexTransAccessFail = 1, |
|
1186 |
VexTransAccessFail = 1, |
| 1187 |
VexTransOutputFull = 2 |
|
1187 |
VexTransOutputFull = 2 |
| 1188 |
} ; |
|
1188 |
} ; |
| 1189 |
struct __anonstruct_VexTranslateResult_55 { |
|
1189 |
struct __anonstruct_VexTranslateResult_55 { |
| 1190 |
enum __anonenum_status_56 status ; |
|
1190 |
enum __anonenum_status_56 status ; |
| 1191 |
UInt n_sc_extents ; |
|
1191 |
UInt n_sc_extents ; |
| 1192 |
}; |
|
1192 |
}; |
| 1193 |
typedef struct __anonstruct_VexTranslateResult_55 VexTranslateResult; |
|
1193 |
typedef struct __anonstruct_VexTranslateResult_55 VexTranslateResult; |
| 1194 |
struct __anonstruct_VexGuestExtents_57 { |
|
1194 |
struct __anonstruct_VexGuestExtents_57 { |
| 1195 |
Addr64 base[3] ; |
|
1195 |
Addr64 base[3] ; |
| 1196 |
UShort len[3] ; |
|
1196 |
UShort len[3] ; |
| 1197 |
UShort n_used ; |
|
1197 |
UShort n_used ; |
| 1198 |
}; |
|
1198 |
}; |
| 1199 |
typedef struct __anonstruct_VexGuestExtents_57 VexGuestExtents; |
|
1199 |
typedef struct __anonstruct_VexGuestExtents_57 VexGuestExtents; |
| 1200 |
struct __anonstruct_VexTranslateArgs_58 { |
|
1200 |
struct __anonstruct_VexTranslateArgs_58 { |
| 1201 |
VexArch arch_guest ; |
|
1201 |
VexArch arch_guest ; |
| 1202 |
VexArchInfo archinfo_guest ; |
|
1202 |
VexArchInfo archinfo_guest ; |
| 1203 |
VexArch arch_host ; |
|
1203 |
VexArch arch_host ; |
| 1204 |
VexArchInfo archinfo_host ; |
|
1204 |
VexArchInfo archinfo_host ; |
| 1205 |
VexAbiInfo abiinfo_both ; |
|
1205 |
VexAbiInfo abiinfo_both ; |
| 1206 |
void *callback_opaque ; |
|
1206 |
void *callback_opaque ; |
| 1207 |
UChar *guest_bytes ; |
|
1207 |
UChar *guest_bytes ; |
| 1208 |
Addr64 guest_bytes_addr ; |
|
1208 |
Addr64 guest_bytes_addr ; |
| 1209 |
Bool (*chase_into_ok)(void * , Addr64 ) ; |
|
1209 |
Bool (*chase_into_ok)(void * , Addr64 ) ; |
| 1210 |
VexGuestExtents *guest_extents ; |
|
1210 |
VexGuestExtents *guest_extents ; |
| 1211 |
UChar *host_bytes ; |
|
1211 |
UChar *host_bytes ; |
| 1212 |
Int host_bytes_size ; |
|
1212 |
Int host_bytes_size ; |
| 1213 |
Int *host_bytes_used ; |
|
1213 |
Int *host_bytes_used ; |
| 1214 |
IRSB *(*instrument1)(void * , IRSB * , VexGuestLayout * , VexGuestExtents * , |
|
1214 |
IRSB *(*instrument1)(void * , IRSB * , VexGuestLayout * , VexGuestExtents * , |
| 1215 |
IRType gWordTy , IRType hWordTy ) ; |
|
1215 |
IRType gWordTy , IRType hWordTy ) ; |
| 1216 |
IRSB *(*instrument2)(void * , IRSB * , VexGuestLayout * , VexGuestExtents * , |
|
1216 |
IRSB *(*instrument2)(void * , IRSB * , VexGuestLayout * , VexGuestExtents * , |
| 1217 |
IRType gWordTy , IRType hWordTy ) ; |
|
1217 |
IRType gWordTy , IRType hWordTy ) ; |
| 1218 |
IRSB *(*finaltidy)(IRSB * ) ; |
|
1218 |
IRSB *(*finaltidy)(IRSB * ) ; |
| 1219 |
UInt (*needs_self_check)(void * , VexGuestExtents * ) ; |
|
1219 |
UInt (*needs_self_check)(void * , VexGuestExtents * ) ; |
| 1220 |
Bool (*preamble_function)(void * , IRSB * ) ; |
|
1220 |
Bool (*preamble_function)(void * , IRSB * ) ; |
| 1221 |
Int traceflags ; |
|
1221 |
Int traceflags ; |
| 1222 |
void *dispatch_unassisted ; |
|
1222 |
void *dispatch_unassisted ; |
| 1223 |
void *dispatch_assisted ; |
|
1223 |
void *dispatch_assisted ; |
| 1224 |
}; |
|
1224 |
}; |
| 1225 |
typedef struct __anonstruct_VexTranslateArgs_58 VexTranslateArgs; |
|
1225 |
typedef struct __anonstruct_VexTranslateArgs_58 VexTranslateArgs; |
| 1226 |
enum __anonenum_VexEmWarn_59 { |
|
1226 |
enum __anonenum_VexEmWarn_59 { |
| 1227 |
EmWarn_NONE = 0, |
|
1227 |
EmWarn_NONE = 0, |
| 1228 |
EmWarn_X86_x87exns = 1, |
|
1228 |
EmWarn_X86_x87exns = 1, |
| 1229 |
EmWarn_X86_x87precision = 2, |
|
1229 |
EmWarn_X86_x87precision = 2, |
| 1230 |
EmWarn_X86_sseExns = 3, |
|
1230 |
EmWarn_X86_sseExns = 3, |
| 1231 |
EmWarn_X86_fz = 4, |
|
1231 |
EmWarn_X86_fz = 4, |
| 1232 |
EmWarn_X86_daz = 5, |
|
1232 |
EmWarn_X86_daz = 5, |
| 1233 |
EmWarn_X86_acFlag = 6, |
|
1233 |
EmWarn_X86_acFlag = 6, |
| 1234 |
EmWarn_PPCexns = 7, |
|
1234 |
EmWarn_PPCexns = 7, |
| 1235 |
EmWarn_PPC64_redir_overflow = 8, |
|
1235 |
EmWarn_PPC64_redir_overflow = 8, |
| 1236 |
EmWarn_PPC64_redir_underflow = 9, |
|
1236 |
EmWarn_PPC64_redir_underflow = 9, |
| 1237 |
EmWarn_NUMBER = 10 |
|
1237 |
EmWarn_NUMBER = 10 |
| 1238 |
} ; |
|
1238 |
} ; |
| 1239 |
typedef enum __anonenum_VexEmWarn_59 VexEmWarn; |
|
1239 |
typedef enum __anonenum_VexEmWarn_59 VexEmWarn; |
| 1240 |
struct __anonstruct_VexGuestX86State_60 { |
|
1240 |
struct __anonstruct_VexGuestX86State_60 { |
| 1241 |
UInt guest_EAX ; |
|
1241 |
UInt guest_EAX ; |
| 1242 |
UInt guest_ECX ; |
|
1242 |
UInt guest_ECX ; |
| 1243 |
UInt guest_EDX ; |
|
1243 |
UInt guest_EDX ; |
| 1244 |
UInt guest_EBX ; |
|
1244 |
UInt guest_EBX ; |
| 1245 |
UInt guest_ESP ; |
|
1245 |
UInt guest_ESP ; |
| 1246 |
UInt guest_EBP ; |
|
1246 |
UInt guest_EBP ; |
| 1247 |
UInt guest_ESI ; |
|
1247 |
UInt guest_ESI ; |
| 1248 |
UInt guest_EDI ; |
|
1248 |
UInt guest_EDI ; |
| 1249 |
UInt guest_CC_OP ; |
|
1249 |
UInt guest_CC_OP ; |
| 1250 |
UInt guest_CC_DEP1 ; |
|
1250 |
UInt guest_CC_DEP1 ; |
| 1251 |
UInt guest_CC_DEP2 ; |
|
1251 |
UInt guest_CC_DEP2 ; |
| 1252 |
UInt guest_CC_NDEP ; |
|
1252 |
UInt guest_CC_NDEP ; |
| 1253 |
UInt guest_DFLAG ; |
|
1253 |
UInt guest_DFLAG ; |
| 1254 |
UInt guest_IDFLAG ; |
|
1254 |
UInt guest_IDFLAG ; |
| 1255 |
UInt guest_ACFLAG ; |
|
1255 |
UInt guest_ACFLAG ; |
| 1256 |
UInt guest_EIP ; |
|
1256 |
UInt guest_EIP ; |
| 1257 |
ULong guest_FPREG[8] ; |
|
1257 |
ULong guest_FPREG[8] ; |
| 1258 |
UChar guest_FPTAG[8] ; |
|
1258 |
UChar guest_FPTAG[8] ; |
| 1259 |
UInt guest_FPROUND ; |
|
1259 |
UInt guest_FPROUND ; |
| 1260 |
UInt guest_FC3210 ; |
|
1260 |
UInt guest_FC3210 ; |
| 1261 |
UInt guest_FTOP ; |
|
1261 |
UInt guest_FTOP ; |
| 1262 |
UInt guest_SSEROUND ; |
|
1262 |
UInt guest_SSEROUND ; |
| 1263 |
U128 guest_XMM0 ; |
|
1263 |
U128 guest_XMM0 ; |
| 1264 |
U128 guest_XMM1 ; |
|
1264 |
U128 guest_XMM1 ; |
| 1265 |
U128 guest_XMM2 ; |
|
1265 |
U128 guest_XMM2 ; |
| 1266 |
U128 guest_XMM3 ; |
|
1266 |
U128 guest_XMM3 ; |
| 1267 |
U128 guest_XMM4 ; |
|
1267 |
U128 guest_XMM4 ; |
| 1268 |
U128 guest_XMM5 ; |
|
1268 |
U128 guest_XMM5 ; |
| 1269 |
U128 guest_XMM6 ; |
|
1269 |
U128 guest_XMM6 ; |
| 1270 |
U128 guest_XMM7 ; |
|
1270 |
U128 guest_XMM7 ; |
| 1271 |
UShort guest_CS ; |
|
1271 |
UShort guest_CS ; |
| 1272 |
UShort guest_DS ; |
|
1272 |
UShort guest_DS ; |
| 1273 |
UShort guest_ES ; |
|
1273 |
UShort guest_ES ; |
| 1274 |
UShort guest_FS ; |
|
1274 |
UShort guest_FS ; |
| 1275 |
UShort guest_GS ; |
|
1275 |
UShort guest_GS ; |
| 1276 |
UShort guest_SS ; |
|
1276 |
UShort guest_SS ; |
| 1277 |
HWord guest_LDT ; |
|
1277 |
HWord guest_LDT ; |
| 1278 |
HWord guest_GDT ; |
|
1278 |
HWord guest_GDT ; |
| 1279 |
UInt guest_EMWARN ; |
|
1279 |
UInt guest_EMWARN ; |
| 1280 |
UInt guest_TISTART ; |
|
1280 |
UInt guest_TISTART ; |
| 1281 |
UInt guest_TILEN ; |
|
1281 |
UInt guest_TILEN ; |
| 1282 |
UInt guest_NRADDR ; |
|
1282 |
UInt guest_NRADDR ; |
| 1283 |
UInt guest_SC_CLASS ; |
|
1283 |
UInt guest_SC_CLASS ; |
| 1284 |
UInt guest_IP_AT_SYSCALL ; |
|
1284 |
UInt guest_IP_AT_SYSCALL ; |
| 1285 |
UInt padding1 ; |
|
1285 |
UInt padding1 ; |
| 1286 |
UInt padding2 ; |
|
1286 |
UInt padding2 ; |
| 1287 |
UInt padding3 ; |
|
1287 |
UInt padding3 ; |
| 1288 |
}; |
|
1288 |
}; |
| 1289 |
typedef struct __anonstruct_VexGuestX86State_60 VexGuestX86State; |
|
1289 |
typedef struct __anonstruct_VexGuestX86State_60 VexGuestX86State; |
| 1290 |
struct __anonstruct_Bits_63 { |
|
1290 |
struct __anonstruct_Bits_63 { |
| 1291 |
UShort LimitLow ; |
|
1291 |
UShort LimitLow ; |
| 1292 |
UShort BaseLow ; |
|
1292 |
UShort BaseLow ; |
| 1293 |
UInt BaseMid : 8 ; |
|
1293 |
UInt BaseMid : 8 ; |
| 1294 |
UInt Type : 5 ; |
|
1294 |
UInt Type : 5 ; |
| 1295 |
UInt Dpl : 2 ; |
|
1295 |
UInt Dpl : 2 ; |
| 1296 |
UInt Pres : 1 ; |
|
1296 |
UInt Pres : 1 ; |
| 1297 |
UInt LimitHi : 4 ; |
|
1297 |
UInt LimitHi : 4 ; |
| 1298 |
UInt Sys : 1 ; |
|
1298 |
UInt Sys : 1 ; |
| 1299 |
UInt Reserved_0 : 1 ; |
|
1299 |
UInt Reserved_0 : 1 ; |
| 1300 |
UInt Default_Big : 1 ; |
|
1300 |
UInt Default_Big : 1 ; |
| 1301 |
UInt Granularity : 1 ; |
|
1301 |
UInt Granularity : 1 ; |
| 1302 |
UInt BaseHi : 8 ; |
|
1302 |
UInt BaseHi : 8 ; |
| 1303 |
}; |
|
1303 |
}; |
| 1304 |
struct __anonstruct_Words_64 { |
|
1304 |
struct __anonstruct_Words_64 { |
| 1305 |
UInt word1 ; |
|
1305 |
UInt word1 ; |
| 1306 |
UInt word2 ; |
|
1306 |
UInt word2 ; |
| 1307 |
}; |
|
1307 |
}; |
| 1308 |
union __anonunion_LdtEnt_62 { |
|
1308 |
union __anonunion_LdtEnt_62 { |
| 1309 |
struct __anonstruct_Bits_63 Bits ; |
|
1309 |
struct __anonstruct_Bits_63 Bits ; |
| 1310 |
struct __anonstruct_Words_64 Words ; |
|
1310 |
struct __anonstruct_Words_64 Words ; |
| 1311 |
}; |
|
1311 |
}; |
| 1312 |
struct __anonstruct_VexGuestX86SegDescr_61 { |
|
1312 |
struct __anonstruct_VexGuestX86SegDescr_61 { |
| 1313 |
union __anonunion_LdtEnt_62 LdtEnt ; |
|
1313 |
union __anonunion_LdtEnt_62 LdtEnt ; |
| 1314 |
}; |
|
1314 |
}; |
| 1315 |
typedef struct __anonstruct_VexGuestX86SegDescr_61 VexGuestX86SegDescr; |
|
1315 |
typedef struct __anonstruct_VexGuestX86SegDescr_61 VexGuestX86SegDescr; |
| 1316 |
struct __anonstruct_X86_67 { |
|
1316 |
struct __anonstruct_X86_67 { |
| 1317 |
UInt r_ebp ; |
|
1317 |
UInt r_ebp ; |
| 1318 |
}; |
|
1318 |
}; |
| 1319 |
struct __anonstruct_AMD64_68 { |
|
1319 |
struct __anonstruct_AMD64_68 { |
| 1320 |
ULong r_rbp ; |
|
1320 |
ULong r_rbp ; |
| 1321 |
}; |
|
1321 |
}; |
| 1322 |
struct __anonstruct_PPC32_69 { |
|
1322 |
struct __anonstruct_PPC32_69 { |
| 1323 |
UInt r_lr ; |
|
1323 |
UInt r_lr ; |
| 1324 |
}; |
|
1324 |
}; |
| 1325 |
struct __anonstruct_PPC64_70 { |
|
1325 |
struct __anonstruct_PPC64_70 { |
| 1326 |
ULong r_lr ; |
|
1326 |
ULong r_lr ; |
| 1327 |
}; |
|
1327 |
}; |
| 1328 |
struct __anonstruct_ARM_71 { |
|
1328 |
struct __anonstruct_ARM_71 { |
| 1329 |
UInt r14 ; |
|
1329 |
UInt r14 ; |
| 1330 |
UInt r12 ; |
|
1330 |
UInt r12 ; |
| 1331 |
UInt r11 ; |
|
1331 |
UInt r11 ; |
| 1332 |
UInt r7 ; |
|
1332 |
UInt r7 ; |
| 1333 |
}; |
|
1333 |
}; |
| 1334 |
struct __anonstruct_S390X_72 { |
|
1334 |
struct __anonstruct_S390X_72 { |
| 1335 |
ULong r_fp ; |
|
1335 |
ULong r_fp ; |
| 1336 |
ULong r_lr ; |
|
1336 |
ULong r_lr ; |
| 1337 |
}; |
|
1337 |
}; |
| 1338 |
union __anonunion_misc_66 { |
|
1338 |
union __anonunion_misc_66 { |
| 1339 |
struct __anonstruct_X86_67 X86 ; |
|
1339 |
struct __anonstruct_X86_67 X86 ; |
| 1340 |
struct __anonstruct_AMD64_68 AMD64 ; |
|
1340 |
struct __anonstruct_AMD64_68 AMD64 ; |
| 1341 |
struct __anonstruct_PPC32_69 PPC32 ; |
|
1341 |
struct __anonstruct_PPC32_69 PPC32 ; |
| 1342 |
struct __anonstruct_PPC64_70 PPC64 ; |
|
1342 |
struct __anonstruct_PPC64_70 PPC64 ; |
| 1343 |
struct __anonstruct_ARM_71 ARM ; |
|
1343 |
struct __anonstruct_ARM_71 ARM ; |
| 1344 |
struct __anonstruct_S390X_72 S390X ; |
|
1344 |
struct __anonstruct_S390X_72 S390X ; |
| 1345 |
}; |
|
1345 |
}; |
| 1346 |
struct __anonstruct_UnwindStartRegs_65 { |
|
1346 |
struct __anonstruct_UnwindStartRegs_65 { |
| 1347 |
ULong r_pc ; |
|
1347 |
ULong r_pc ; |
| 1348 |
ULong r_sp ; |
|
1348 |
ULong r_sp ; |
| 1349 |
union __anonunion_misc_66 misc ; |
|
1349 |
union __anonunion_misc_66 misc ; |
| 1350 |
}; |
|
1350 |
}; |
| 1351 |
typedef struct __anonstruct_UnwindStartRegs_65 UnwindStartRegs; |
|
1351 |
typedef struct __anonstruct_UnwindStartRegs_65 UnwindStartRegs; |
| 1352 |
typedef unsigned short __vki_kernel_mode_t; |
|
1352 |
typedef unsigned short __vki_kernel_mode_t; |
| 1353 |
typedef long __vki_kernel_off_t; |
|
1353 |
typedef long __vki_kernel_off_t; |
| 1354 |
typedef int __vki_kernel_pid_t; |
|
1354 |
typedef int __vki_kernel_pid_t; |
| 1355 |
typedef unsigned short __vki_kernel_ipc_pid_t; |
|
1355 |
typedef unsigned short __vki_kernel_ipc_pid_t; |
| 1356 |
typedef unsigned short __vki_kernel_uid_t; |
|
1356 |
typedef unsigned short __vki_kernel_uid_t; |
| 1357 |
typedef unsigned short __vki_kernel_gid_t; |
|
1357 |
typedef unsigned short __vki_kernel_gid_t; |
| 1358 |
typedef unsigned int __vki_kernel_size_t; |
|
1358 |
typedef unsigned int __vki_kernel_size_t; |
| 1359 |
typedef long __vki_kernel_time_t; |
|
1359 |
typedef long __vki_kernel_time_t; |
| 1360 |
typedef long __vki_kernel_suseconds_t; |
|
1360 |
typedef long __vki_kernel_suseconds_t; |
| 1361 |
typedef long __vki_kernel_clock_t; |
|
1361 |
typedef long __vki_kernel_clock_t; |
| 1362 |
typedef int __vki_kernel_timer_t; |
|
1362 |
typedef int __vki_kernel_timer_t; |
| 1363 |
typedef int __vki_kernel_clockid_t; |
|
1363 |
typedef int __vki_kernel_clockid_t; |
| 1364 |
typedef char *__vki_kernel_caddr_t; |
|
1364 |
typedef char *__vki_kernel_caddr_t; |
| 1365 |
typedef unsigned int __vki_kernel_uid32_t; |
|
1365 |
typedef unsigned int __vki_kernel_uid32_t; |
| 1366 |
typedef unsigned int __vki_kernel_gid32_t; |
|
1366 |
typedef unsigned int __vki_kernel_gid32_t; |
| 1367 |
typedef unsigned short __vki_kernel_old_uid_t; |
|
1367 |
typedef unsigned short __vki_kernel_old_uid_t; |
| 1368 |
typedef unsigned short __vki_kernel_old_gid_t; |
|
1368 |
typedef unsigned short __vki_kernel_old_gid_t; |
| 1369 |
typedef long long __vki_kernel_loff_t; |
|
1369 |
typedef long long __vki_kernel_loff_t; |
| 1370 |
struct __anonstruct___vki_kernel_fsid_t_73 { |
|
1370 |
struct __anonstruct___vki_kernel_fsid_t_73 { |
| 1371 |
int val[2] ; |
|
1371 |
int val[2] ; |
| 1372 |
}; |
|
1372 |
}; |
| 1373 |
typedef struct __anonstruct___vki_kernel_fsid_t_73 __vki_kernel_fsid_t; |
|
1373 |
typedef struct __anonstruct___vki_kernel_fsid_t_73 __vki_kernel_fsid_t; |
| 1374 |
struct __anonstruct___vki_kernel_fd_set_74 { |
|
1374 |
struct __anonstruct___vki_kernel_fd_set_74 { |
| 1375 |
unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ; |
|
1375 |
unsigned long fds_bits[1024U / (8U * sizeof(unsigned long ))] ; |
| 1376 |
}; |
|
1376 |
}; |
| 1377 |
typedef struct __anonstruct___vki_kernel_fd_set_74 __vki_kernel_fd_set; |
|
1377 |
typedef struct __anonstruct___vki_kernel_fd_set_74 __vki_kernel_fd_set; |
| 1378 |
typedef int __vki_kernel_key_t; |
|
1378 |
typedef int __vki_kernel_key_t; |
| 1379 |
typedef int __vki_kernel_mqd_t; |
|
1379 |
typedef int __vki_kernel_mqd_t; |
| 1380 |
typedef __vki_kernel_fd_set vki_fd_set; |
|
1380 |
typedef __vki_kernel_fd_set vki_fd_set; |
| 1381 |
typedef __vki_kernel_mode_t vki_mode_t; |
|
1381 |
typedef __vki_kernel_mode_t vki_mode_t; |
| 1382 |
typedef __vki_kernel_off_t vki_off_t; |
|
1382 |
typedef __vki_kernel_off_t vki_off_t; |
| 1383 |
typedef __vki_kernel_pid_t vki_pid_t; |
|
1383 |
typedef __vki_kernel_pid_t vki_pid_t; |
| 1384 |
typedef __vki_kernel_key_t vki_key_t; |
|
1384 |
typedef __vki_kernel_key_t vki_key_t; |
| 1385 |
typedef __vki_kernel_suseconds_t vki_suseconds_t; |
|
1385 |
typedef __vki_kernel_suseconds_t vki_suseconds_t; |
| 1386 |
typedef __vki_kernel_timer_t vki_timer_t; |
|
1386 |
typedef __vki_kernel_timer_t vki_timer_t; |
| 1387 |
typedef __vki_kernel_clockid_t vki_clockid_t; |
|
1387 |
typedef __vki_kernel_clockid_t vki_clockid_t; |
| 1388 |
typedef __vki_kernel_mqd_t vki_mqd_t; |
|
1388 |
typedef __vki_kernel_mqd_t vki_mqd_t; |
| 1389 |
typedef __vki_kernel_uid32_t vki_uid_t; |
|
1389 |
typedef __vki_kernel_uid32_t vki_uid_t; |
| 1390 |
typedef __vki_kernel_gid32_t vki_gid_t; |
|
1390 |
typedef __vki_kernel_gid32_t vki_gid_t; |
| 1391 |
typedef __vki_kernel_old_uid_t vki_old_uid_t; |
|
1391 |
typedef __vki_kernel_old_uid_t vki_old_uid_t; |
| 1392 |
typedef __vki_kernel_old_gid_t vki_old_gid_t; |
|
1392 |
typedef __vki_kernel_old_gid_t vki_old_gid_t; |
| 1393 |
typedef __vki_kernel_loff_t vki_loff_t; |
|
1393 |
typedef __vki_kernel_loff_t vki_loff_t; |
| 1394 |
typedef __vki_kernel_size_t vki_size_t; |
|
1394 |
typedef __vki_kernel_size_t vki_size_t; |
| 1395 |
typedef __vki_kernel_time_t vki_time_t; |
|
1395 |
typedef __vki_kernel_time_t vki_time_t; |
| 1396 |
typedef __vki_kernel_clock_t vki_clock_t; |
|
1396 |
typedef __vki_kernel_clock_t vki_clock_t; |
| 1397 |
typedef __vki_kernel_caddr_t vki_caddr_t; |
|
1397 |
typedef __vki_kernel_caddr_t vki_caddr_t; |
| 1398 |
typedef unsigned long vki_u_long; |
|
1398 |
typedef unsigned long vki_u_long; |
| 1399 |
typedef unsigned int vki_uint; |
|
1399 |
typedef unsigned int vki_uint; |
| 1400 |
typedef unsigned char __vki_u8; |
|
1400 |
typedef unsigned char __vki_u8; |
| 1401 |
typedef short __vki_s16; |
|
1401 |
typedef short __vki_s16; |
| 1402 |
typedef unsigned short __vki_u16; |
|
1402 |
typedef unsigned short __vki_u16; |
| 1403 |
typedef int __vki_s32; |
|
1403 |
typedef int __vki_s32; |
| 1404 |
typedef unsigned int __vki_u32; |
|
1404 |
typedef unsigned int __vki_u32; |
| 1405 |
typedef long long __vki_s64; |
|
1405 |
typedef long long __vki_s64; |
| 1406 |
typedef unsigned long long __vki_u64; |
|
1406 |
typedef unsigned long long __vki_u64; |
| 1407 |
typedef unsigned short vki_u16; |
|
1407 |
typedef unsigned short vki_u16; |
| 1408 |
typedef unsigned int vki_u32; |
|
1408 |
typedef unsigned int vki_u32; |
| 1409 |
typedef void __vki_signalfn_t(int ); |
|
1409 |
typedef void __vki_signalfn_t(int ); |
| 1410 |
typedef __vki_signalfn_t *__vki_sighandler_t; |
|
1410 |
typedef __vki_signalfn_t *__vki_sighandler_t; |
| 1411 |
typedef void __vki_restorefn_t(void); |
|
1411 |
typedef void __vki_restorefn_t(void); |
| 1412 |
typedef __vki_restorefn_t *__vki_sigrestore_t; |
|
1412 |
typedef __vki_restorefn_t *__vki_sigrestore_t; |
| 1413 |
typedef unsigned long vki_old_sigset_t; |
|
1413 |
typedef unsigned long vki_old_sigset_t; |
| 1414 |
struct __anonstruct_vki_sigset_t_75 { |
|
1414 |
struct __anonstruct_vki_sigset_t_75 { |
| 1415 |
unsigned long sig[2] ; |
|
1415 |
unsigned long sig[2] ; |
| 1416 |
}; |
|
1416 |
}; |
| 1417 |
typedef struct __anonstruct_vki_sigset_t_75 vki_sigset_t; |
|
1417 |
typedef struct __anonstruct_vki_sigset_t_75 vki_sigset_t; |
| 1418 |
struct vki_old_sigaction { |
|
1418 |
struct vki_old_sigaction { |
| 1419 |
__vki_sighandler_t ksa_handler ; |
|
1419 |
__vki_sighandler_t ksa_handler ; |
| 1420 |
vki_old_sigset_t sa_mask ; |
|
1420 |
vki_old_sigset_t sa_mask ; |
| 1421 |
unsigned long sa_flags ; |
|
1421 |
unsigned long sa_flags ; |
| 1422 |
__vki_sigrestore_t sa_restorer ; |
|
1422 |
__vki_sigrestore_t sa_restorer ; |
| 1423 |
}; |
|
1423 |
}; |
| 1424 |
struct vki_sigaction_base { |
|
1424 |
struct vki_sigaction_base { |
| 1425 |
__vki_sighandler_t ksa_handler ; |
|
1425 |
__vki_sighandler_t ksa_handler ; |
| 1426 |
unsigned long sa_flags ; |
|
1426 |
unsigned long sa_flags ; |
| 1427 |
__vki_sigrestore_t sa_restorer ; |
|
1427 |
__vki_sigrestore_t sa_restorer ; |
| 1428 |
vki_sigset_t sa_mask ; |
|
1428 |
vki_sigset_t sa_mask ; |
| 1429 |
}; |
|
1429 |
}; |
| 1430 |
typedef struct vki_sigaction_base vki_sigaction_toK_t; |
|
1430 |
typedef struct vki_sigaction_base vki_sigaction_toK_t; |
| 1431 |
typedef struct vki_sigaction_base vki_sigaction_fromK_t; |
|
1431 |
typedef struct vki_sigaction_base vki_sigaction_fromK_t; |
| 1432 |
struct vki_sigaltstack { |
|
1432 |
struct vki_sigaltstack { |
| 1433 |
void *ss_sp ; |
|
1433 |
void *ss_sp ; |
| 1434 |
int ss_flags ; |
|
1434 |
int ss_flags ; |
| 1435 |
vki_size_t ss_size ; |
|
1435 |
vki_size_t ss_size ; |
| 1436 |
}; |
|
1436 |
}; |
| 1437 |
typedef struct vki_sigaltstack vki_stack_t; |
|
1437 |
typedef struct vki_sigaltstack vki_stack_t; |
| 1438 |
struct _vki_fpreg { |
|
1438 |
struct _vki_fpreg { |
| 1439 |
unsigned short significand[4] ; |
|
1439 |
unsigned short significand[4] ; |
| 1440 |
unsigned short exponent ; |
|
1440 |
unsigned short exponent ; |
| 1441 |
}; |
|
1441 |
}; |
| 1442 |
struct _vki_fpxreg { |
|
1442 |
struct _vki_fpxreg { |
| 1443 |
unsigned short significand[4] ; |
|
1443 |
unsigned short significand[4] ; |
| 1444 |
unsigned short exponent ; |
|
1444 |
unsigned short exponent ; |
| 1445 |
unsigned short padding[3] ; |
|
1445 |
unsigned short padding[3] ; |
| 1446 |
}; |
|
1446 |
}; |
| 1447 |
struct _vki_xmmreg { |
|
1447 |
struct _vki_xmmreg { |
| 1448 |
unsigned long element[4] ; |
|
1448 |
unsigned long element[4] ; |
| 1449 |
}; |
|
1449 |
}; |
| 1450 |
struct _vki_fpstate { |
|
1450 |
struct _vki_fpstate { |
| 1451 |
unsigned long cw ; |
|
1451 |
unsigned long cw ; |
| 1452 |
unsigned long sw ; |
|
1452 |
unsigned long sw ; |
| 1453 |
unsigned long tag ; |
|
1453 |
unsigned long tag ; |
| 1454 |
unsigned long ipoff ; |
|
1454 |
unsigned long ipoff ; |
| 1455 |
unsigned long cssel ; |
|
1455 |
unsigned long cssel ; |
| 1456 |
unsigned long dataoff ; |
|
1456 |
unsigned long dataoff ; |
| 1457 |
unsigned long datasel ; |
|
1457 |
unsigned long datasel ; |
| 1458 |
struct _vki_fpreg _st[8] ; |
|
1458 |
struct _vki_fpreg _st[8] ; |
| 1459 |
unsigned short status ; |
|
1459 |
unsigned short status ; |
| 1460 |
unsigned short magic ; |
|
1460 |
unsigned short magic ; |
| 1461 |
unsigned long _fxsr_env[6] ; |
|
1461 |
unsigned long _fxsr_env[6] ; |
| 1462 |
unsigned long mxcsr ; |
|
1462 |
unsigned long mxcsr ; |
| 1463 |
unsigned long reserved ; |
|
1463 |
unsigned long reserved ; |
| 1464 |
struct _vki_fpxreg _fxsr_st[8] ; |
|
1464 |
struct _vki_fpxreg _fxsr_st[8] ; |
| 1465 |
struct _vki_xmmreg _xmm[8] ; |
|
1465 |
struct _vki_xmmreg _xmm[8] ; |
| 1466 |
unsigned long padding[56] ; |
|
1466 |
unsigned long padding[56] ; |
| 1467 |
}; |
|
1467 |
}; |
| 1468 |
struct vki_sigcontext { |
|
1468 |
struct vki_sigcontext { |
| 1469 |
unsigned short gs ; |
|
1469 |
unsigned short gs ; |
| 1470 |
unsigned short __gsh ; |
|
1470 |
unsigned short __gsh ; |
| 1471 |
unsigned short fs ; |
|
1471 |
unsigned short fs ; |
| 1472 |
unsigned short __fsh ; |
|
1472 |
unsigned short __fsh ; |
| 1473 |
unsigned short es ; |
|
1473 |
unsigned short es ; |
| 1474 |
unsigned short __esh ; |
|
1474 |
unsigned short __esh ; |
| 1475 |
unsigned short ds ; |
|
1475 |
unsigned short ds ; |
| 1476 |
unsigned short __dsh ; |
|
1476 |
unsigned short __dsh ; |
| 1477 |
unsigned long edi ; |
|
1477 |
unsigned long edi ; |
| 1478 |
unsigned long esi ; |
|
1478 |
unsigned long esi ; |
| 1479 |
unsigned long ebp ; |
|
1479 |
unsigned long ebp ; |
| 1480 |
unsigned long esp ; |
|
1480 |
unsigned long esp ; |
| 1481 |
unsigned long ebx ; |
|
1481 |
unsigned long ebx ; |
| 1482 |
unsigned long edx ; |
|
1482 |
unsigned long edx ; |
| 1483 |
unsigned long ecx ; |
|
1483 |
unsigned long ecx ; |
| 1484 |
unsigned long eax ; |
|
1484 |
unsigned long eax ; |
| 1485 |
unsigned long trapno ; |
|
1485 |
unsigned long trapno ; |
| 1486 |
unsigned long err ; |
|
1486 |
unsigned long err ; |
| 1487 |
unsigned long eip ; |
|
1487 |
unsigned long eip ; |
| 1488 |
unsigned short cs ; |
|
1488 |
unsigned short cs ; |
| 1489 |
unsigned short __csh ; |
|
1489 |
unsigned short __csh ; |
| 1490 |
unsigned long eflags ; |
|
1490 |
unsigned long eflags ; |
| 1491 |
unsigned long esp_at_signal ; |
|
1491 |
unsigned long esp_at_signal ; |
| 1492 |
unsigned short ss ; |
|
1492 |
unsigned short ss ; |
| 1493 |
unsigned short __ssh ; |
|
1493 |
unsigned short __ssh ; |
| 1494 |
struct _vki_fpstate *fpstate ; |
|
1494 |
struct _vki_fpstate *fpstate ; |
| 1495 |
unsigned long oldmask ; |
|
1495 |
unsigned long oldmask ; |
| 1496 |
unsigned long cr2 ; |
|
1496 |
unsigned long cr2 ; |
| 1497 |
}; |
|
1497 |
}; |
| 1498 |
struct vki_stat { |
|
1498 |
struct vki_stat { |
| 1499 |
unsigned long st_dev ; |
|
1499 |
unsigned long st_dev ; |
| 1500 |
unsigned long st_ino ; |
|
1500 |
unsigned long st_ino ; |
| 1501 |
unsigned short st_mode ; |
|
1501 |
unsigned short st_mode ; |
| 1502 |
unsigned short st_nlink ; |
|
1502 |
unsigned short st_nlink ; |
| 1503 |
unsigned short st_uid ; |
|
1503 |
unsigned short st_uid ; |
| 1504 |
unsigned short st_gid ; |
|
1504 |
unsigned short st_gid ; |
| 1505 |
unsigned long st_rdev ; |
|
1505 |
unsigned long st_rdev ; |
| 1506 |
unsigned long st_size ; |
|
1506 |
unsigned long st_size ; |
| 1507 |
unsigned long st_blksize ; |
|
1507 |
unsigned long st_blksize ; |
| 1508 |
unsigned long st_blocks ; |
|
1508 |
unsigned long st_blocks ; |
| 1509 |
unsigned long st_atime ; |
|
1509 |
unsigned long st_atime ; |
| 1510 |
unsigned long st_atime_nsec ; |
|
1510 |
unsigned long st_atime_nsec ; |
| 1511 |
unsigned long st_mtime ; |
|
1511 |
unsigned long st_mtime ; |
| 1512 |
unsigned long st_mtime_nsec ; |
|
1512 |
unsigned long st_mtime_nsec ; |
| 1513 |
unsigned long st_ctime ; |
|
1513 |
unsigned long st_ctime ; |
| 1514 |
unsigned long st_ctime_nsec ; |
|
1514 |
unsigned long st_ctime_nsec ; |
| 1515 |
unsigned long __unused4 ; |
|
1515 |
unsigned long __unused4 ; |
| 1516 |
unsigned long __unused5 ; |
|
1516 |
unsigned long __unused5 ; |
| 1517 |
}; |
|
1517 |
}; |
| 1518 |
struct vki_stat64 { |
|
1518 |
struct vki_stat64 { |
| 1519 |
unsigned long long st_dev ; |
|
1519 |
unsigned long long st_dev ; |
| 1520 |
unsigned char __pad0[4] ; |
|
1520 |
unsigned char __pad0[4] ; |
| 1521 |
unsigned long __st_ino ; |
|
1521 |
unsigned long __st_ino ; |
| 1522 |
unsigned int st_mode ; |
|
1522 |
unsigned int st_mode ; |
| 1523 |
unsigned int st_nlink ; |
|
1523 |
unsigned int st_nlink ; |
| 1524 |
unsigned long st_uid ; |
|
1524 |
unsigned long st_uid ; |
| 1525 |
unsigned long st_gid ; |
|
1525 |
unsigned long st_gid ; |
| 1526 |
unsigned long long st_rdev ; |
|
1526 |
unsigned long long st_rdev ; |
| 1527 |
unsigned char __pad3[4] ; |
|
1527 |
unsigned char __pad3[4] ; |
| 1528 |
long long st_size ; |
|
1528 |
long long st_size ; |
| 1529 |
unsigned long st_blksize ; |
|
1529 |
unsigned long st_blksize ; |
| 1530 |
unsigned long st_blocks ; |
|
1530 |
unsigned long st_blocks ; |
| 1531 |
unsigned long __pad4 ; |
|
1531 |
unsigned long __pad4 ; |
| 1532 |
unsigned long st_atime ; |
|
1532 |
unsigned long st_atime ; |
| 1533 |
unsigned long st_atime_nsec ; |
|
1533 |
unsigned long st_atime_nsec ; |
| 1534 |
unsigned long st_mtime ; |
|
1534 |
unsigned long st_mtime ; |
| 1535 |
unsigned int st_mtime_nsec ; |
|
1535 |
unsigned int st_mtime_nsec ; |
| 1536 |
unsigned long st_ctime ; |
|
1536 |
unsigned long st_ctime ; |
| 1537 |
unsigned long st_ctime_nsec ; |
|
1537 |
unsigned long st_ctime_nsec ; |
| 1538 |
unsigned long long st_ino ; |
|
1538 |
unsigned long long st_ino ; |
| 1539 |
}; |
|
1539 |
}; |
| 1540 |
struct vki_statfs { |
|
1540 |
struct vki_statfs { |
| 1541 |
__vki_u32 f_type ; |
|
1541 |
__vki_u32 f_type ; |
| 1542 |
__vki_u32 f_bsize ; |
|
1542 |
__vki_u32 f_bsize ; |
| 1543 |
__vki_u32 f_blocks ; |
|
1543 |
__vki_u32 f_blocks ; |
| 1544 |
__vki_u32 f_bfree ; |
|
1544 |
__vki_u32 f_bfree ; |
| 1545 |
__vki_u32 f_bavail ; |
|
1545 |
__vki_u32 f_bavail ; |
| 1546 |
__vki_u32 f_files ; |
|
1546 |
__vki_u32 f_files ; |
| 1547 |
__vki_u32 f_ffree ; |
|
1547 |
__vki_u32 f_ffree ; |
| 1548 |
__vki_kernel_fsid_t f_fsid ; |
|
1548 |
__vki_kernel_fsid_t f_fsid ; |
| 1549 |
__vki_u32 f_namelen ; |
|
1549 |
__vki_u32 f_namelen ; |
| 1550 |
__vki_u32 f_frsize ; |
|
1550 |
__vki_u32 f_frsize ; |
| 1551 |
__vki_u32 f_spare[5] ; |
|
1551 |
__vki_u32 f_spare[5] ; |
| 1552 |
}; |
|
1552 |
}; |
| 1553 |
struct vki_winsize { |
|
1553 |
struct vki_winsize { |
| 1554 |
unsigned short ws_row ; |
|
1554 |
unsigned short ws_row ; |
| 1555 |
unsigned short ws_col ; |
|
1555 |
unsigned short ws_col ; |
| 1556 |
unsigned short ws_xpixel ; |
|
1556 |
unsigned short ws_xpixel ; |
| 1557 |
unsigned short ws_ypixel ; |
|
1557 |
unsigned short ws_ypixel ; |
| 1558 |
}; |
|
1558 |
}; |
| 1559 |
struct vki_termio { |
|
1559 |
struct vki_termio { |
| 1560 |
unsigned short c_iflag ; |
|
1560 |
unsigned short c_iflag ; |
| 1561 |
unsigned short c_oflag ; |
|
1561 |
unsigned short c_oflag ; |
| 1562 |
unsigned short c_cflag ; |
|
1562 |
unsigned short c_cflag ; |
| 1563 |
unsigned short c_lflag ; |
|
1563 |
unsigned short c_lflag ; |
| 1564 |
unsigned char c_line ; |
|
1564 |
unsigned char c_line ; |
| 1565 |
unsigned char c_cc[8] ; |
|
1565 |
unsigned char c_cc[8] ; |
| 1566 |
}; |
|
1566 |
}; |
| 1567 |
typedef unsigned char vki_cc_t; |
|
1567 |
typedef unsigned char vki_cc_t; |
| 1568 |
typedef unsigned int vki_tcflag_t; |
|
1568 |
typedef unsigned int vki_tcflag_t; |
| 1569 |
struct vki_termios { |
|
1569 |
struct vki_termios { |
| 1570 |
vki_tcflag_t c_iflag ; |
|
1570 |
vki_tcflag_t c_iflag ; |
| 1571 |
vki_tcflag_t c_oflag ; |
|
1571 |
vki_tcflag_t c_oflag ; |
| 1572 |
vki_tcflag_t c_cflag ; |
|
1572 |
vki_tcflag_t c_cflag ; |
| 1573 |
vki_tcflag_t c_lflag ; |
|
1573 |
vki_tcflag_t c_lflag ; |
| 1574 |
vki_cc_t c_line ; |
|
1574 |
vki_cc_t c_line ; |
| 1575 |
vki_cc_t c_cc[19] ; |
|
1575 |
vki_cc_t c_cc[19] ; |
| 1576 |
}; |
|
1576 |
}; |
| 1577 |
struct vki_pollfd { |
|
1577 |
struct vki_pollfd { |
| 1578 |
int fd ; |
|
1578 |
int fd ; |
| 1579 |
short events ; |
|
1579 |
short events ; |
| 1580 |
short revents ; |
|
1580 |
short revents ; |
| 1581 |
}; |
|
1581 |
}; |
| 1582 |
struct vki_user_i387_struct { |
|
1582 |
struct vki_user_i387_struct { |
| 1583 |
long cwd ; |
|
1583 |
long cwd ; |
| 1584 |
long swd ; |
|
1584 |
long swd ; |
| 1585 |
long twd ; |
|
1585 |
long twd ; |
| 1586 |
long fip ; |
|
1586 |
long fip ; |
| 1587 |
long fcs ; |
|
1587 |
long fcs ; |
| 1588 |
long foo ; |
|
1588 |
long foo ; |
| 1589 |
long fos ; |
|
1589 |
long fos ; |
| 1590 |
long st_space[20] ; |
|
1590 |
long st_space[20] ; |
| 1591 |
}; |
|
1591 |
}; |
| 1592 |
struct vki_user_fxsr_struct { |
|
1592 |
struct vki_user_fxsr_struct { |
| 1593 |
unsigned short cwd ; |
|
1593 |
unsigned short cwd ; |
| 1594 |
unsigned short swd ; |
|
1594 |
unsigned short swd ; |
| 1595 |
unsigned short twd ; |
|
1595 |
unsigned short twd ; |
| 1596 |
unsigned short fop ; |
|
1596 |
unsigned short fop ; |
| 1597 |
long fip ; |
|
1597 |
long fip ; |
| 1598 |
long fcs ; |
|
1598 |
long fcs ; |
| 1599 |
long foo ; |
|
1599 |
long foo ; |
| 1600 |
long fos ; |
|
1600 |
long fos ; |
| 1601 |
long mxcsr ; |
|
1601 |
long mxcsr ; |
| 1602 |
long reserved ; |
|
1602 |
long reserved ; |
| 1603 |
long st_space[32] ; |
|
1603 |
long st_space[32] ; |
| 1604 |
long xmm_space[32] ; |
|
1604 |
long xmm_space[32] ; |
| 1605 |
long padding[56] ; |
|
1605 |
long padding[56] ; |
| 1606 |
}; |
|
1606 |
}; |
| 1607 |
struct vki_user_regs_struct { |
|
1607 |
struct vki_user_regs_struct { |
| 1608 |
long ebx ; |
|
1608 |
long ebx ; |
| 1609 |
long ecx ; |
|
1609 |
long ecx ; |
| 1610 |
long edx ; |
|
1610 |
long edx ; |
| 1611 |
long esi ; |
|
1611 |
long esi ; |
| 1612 |
long edi ; |
|
1612 |
long edi ; |
| 1613 |
long ebp ; |
|
1613 |
long ebp ; |
| 1614 |
long eax ; |
|
1614 |
long eax ; |
| 1615 |
unsigned short ds ; |
|
1615 |
unsigned short ds ; |
| 1616 |
unsigned short __ds ; |
|
1616 |
unsigned short __ds ; |
| 1617 |
unsigned short es ; |
|
1617 |
unsigned short es ; |
| 1618 |
unsigned short __es ; |
|
1618 |
unsigned short __es ; |
| 1619 |
unsigned short fs ; |
|
1619 |
unsigned short fs ; |
| 1620 |
unsigned short __fs ; |
|
1620 |
unsigned short __fs ; |
| 1621 |
unsigned short gs ; |
|
1621 |
unsigned short gs ; |
| 1622 |
unsigned short __gs ; |
|
1622 |
unsigned short __gs ; |
| 1623 |
long orig_eax ; |
|
1623 |
long orig_eax ; |
| 1624 |
long eip ; |
|
1624 |
long eip ; |
| 1625 |
unsigned short cs ; |
|
1625 |
unsigned short cs ; |
| 1626 |
unsigned short __cs ; |
|
1626 |
unsigned short __cs ; |
| 1627 |
long eflags ; |
|
1627 |
long eflags ; |
| 1628 |
long esp ; |
|
1628 |
long esp ; |
| 1629 |
unsigned short ss ; |
|
1629 |
unsigned short ss ; |
| 1630 |
unsigned short __ss ; |
|
1630 |
unsigned short __ss ; |
| 1631 |
}; |
|
1631 |
}; |
| 1632 |
typedef unsigned long vki_elf_greg_t; |
|
1632 |
typedef unsigned long vki_elf_greg_t; |
| 1633 |
typedef vki_elf_greg_t vki_elf_gregset_t[sizeof(struct vki_user_regs_struct ) / sizeof(vki_elf_greg_t )]; |
|
1633 |
typedef vki_elf_greg_t vki_elf_gregset_t[sizeof(struct vki_user_regs_struct ) / sizeof(vki_elf_greg_t )]; |
| 1634 |
typedef struct vki_user_i387_struct vki_elf_fpregset_t; |
|
1634 |
typedef struct vki_user_i387_struct vki_elf_fpregset_t; |
| 1635 |
typedef struct vki_user_fxsr_struct vki_elf_fpxregset_t; |
|
1635 |
typedef struct vki_user_fxsr_struct vki_elf_fpxregset_t; |
| 1636 |
struct vki_ucontext { |
|
1636 |
struct vki_ucontext { |
| 1637 |
unsigned long uc_flags ; |
|
1637 |
unsigned long uc_flags ; |
| 1638 |
struct vki_ucontext *uc_link ; |
|
1638 |
struct vki_ucontext *uc_link ; |
| 1639 |
vki_stack_t uc_stack ; |
|
1639 |
vki_stack_t uc_stack ; |
| 1640 |
struct vki_sigcontext uc_mcontext ; |
|
1640 |
struct vki_sigcontext uc_mcontext ; |
| 1641 |
vki_sigset_t uc_sigmask ; |
|
1641 |
vki_sigset_t uc_sigmask ; |
| 1642 |
}; |
|
1642 |
}; |
| 1643 |
struct vki_user_desc { |
|
1643 |
struct vki_user_desc { |
| 1644 |
unsigned int entry_number ; |
|
1644 |
unsigned int entry_number ; |
| 1645 |
unsigned long base_addr ; |
|
1645 |
unsigned long base_addr ; |
| 1646 |
unsigned int limit ; |
|
1646 |
unsigned int limit ; |
| 1647 |
unsigned int seg_32bit : 1 ; |
|
1647 |
unsigned int seg_32bit : 1 ; |
| 1648 |
unsigned int contents : 2 ; |
|
1648 |
unsigned int contents : 2 ; |
| 1649 |
unsigned int read_exec_only : 1 ; |
|
1649 |
unsigned int read_exec_only : 1 ; |
| 1650 |
unsigned int limit_in_pages : 1 ; |
|
1650 |
unsigned int limit_in_pages : 1 ; |
| 1651 |
unsigned int seg_not_present : 1 ; |
|
1651 |
unsigned int seg_not_present : 1 ; |
| 1652 |
unsigned int useable : 1 ; |
|
1652 |
unsigned int useable : 1 ; |
| 1653 |
unsigned int reserved : 25 ; |
|
1653 |
unsigned int reserved : 25 ; |
| 1654 |
}; |
|
1654 |
}; |
| 1655 |
typedef struct vki_user_desc vki_modify_ldt_t; |
|
1655 |
typedef struct vki_user_desc vki_modify_ldt_t; |
| 1656 |
struct vki_ipc64_perm { |
|
1656 |
struct vki_ipc64_perm { |
| 1657 |
__vki_kernel_key_t key ; |
|
1657 |
__vki_kernel_key_t key ; |
| 1658 |
__vki_kernel_uid32_t uid ; |
|
1658 |
__vki_kernel_uid32_t uid ; |
| 1659 |
__vki_kernel_gid32_t gid ; |
|
1659 |
__vki_kernel_gid32_t gid ; |
| 1660 |
__vki_kernel_uid32_t cuid ; |
|
1660 |
__vki_kernel_uid32_t cuid ; |
| 1661 |
__vki_kernel_gid32_t cgid ; |
|
1661 |
__vki_kernel_gid32_t cgid ; |
| 1662 |
__vki_kernel_mode_t mode ; |
|
1662 |
__vki_kernel_mode_t mode ; |
| 1663 |
unsigned short __pad1 ; |
|
1663 |
unsigned short __pad1 ; |
| 1664 |
unsigned short seq ; |
|
1664 |
unsigned short seq ; |
| 1665 |
unsigned short __pad2 ; |
|
1665 |
unsigned short __pad2 ; |
| 1666 |
unsigned long __unused1 ; |
|
1666 |
unsigned long __unused1 ; |
| 1667 |
unsigned long __unused2 ; |
|
1667 |
unsigned long __unused2 ; |
| 1668 |
}; |
|
1668 |
}; |
| 1669 |
struct vki_semid64_ds { |
|
1669 |
struct vki_semid64_ds { |
| 1670 |
struct vki_ipc64_perm sem_perm ; |
|
1670 |
struct vki_ipc64_perm sem_perm ; |
| 1671 |
__vki_kernel_time_t sem_otime ; |
|
1671 |
__vki_kernel_time_t sem_otime ; |
| 1672 |
unsigned long __unused1 ; |
|
1672 |
unsigned long __unused1 ; |
| 1673 |
__vki_kernel_time_t sem_ctime ; |
|
1673 |
__vki_kernel_time_t sem_ctime ; |
| 1674 |
unsigned long __unused2 ; |
|
1674 |
unsigned long __unused2 ; |
| 1675 |
unsigned long sem_nsems ; |
|
1675 |
unsigned long sem_nsems ; |
| 1676 |
unsigned long __unused3 ; |
|
1676 |
unsigned long __unused3 ; |
| 1677 |
unsigned long __unused4 ; |
|
1677 |
unsigned long __unused4 ; |
| 1678 |
}; |
|
1678 |
}; |
| 1679 |
struct vki_msqid64_ds { |
|
1679 |
struct vki_msqid64_ds { |
| 1680 |
struct vki_ipc64_perm msg_perm ; |
|
1680 |
struct vki_ipc64_perm msg_perm ; |
| 1681 |
__vki_kernel_time_t msg_stime ; |
|
1681 |
__vki_kernel_time_t msg_stime ; |
| 1682 |
unsigned long __unused1 ; |
|
1682 |
unsigned long __unused1 ; |
| 1683 |
__vki_kernel_time_t msg_rtime ; |
|
1683 |
__vki_kernel_time_t msg_rtime ; |
| 1684 |
unsigned long __unused2 ; |
|
1684 |
unsigned long __unused2 ; |
| 1685 |
__vki_kernel_time_t msg_ctime ; |
|
1685 |
__vki_kernel_time_t msg_ctime ; |
| 1686 |
unsigned long __unused3 ; |
|
1686 |
unsigned long __unused3 ; |
| 1687 |
unsigned long msg_cbytes ; |
|
1687 |
unsigned long msg_cbytes ; |
| 1688 |
unsigned long msg_qnum ; |
|
1688 |
unsigned long msg_qnum ; |
| 1689 |
unsigned long msg_qbytes ; |
|
1689 |
unsigned long msg_qbytes ; |
| 1690 |
__vki_kernel_pid_t msg_lspid ; |
|
1690 |
__vki_kernel_pid_t msg_lspid ; |
| 1691 |
__vki_kernel_pid_t msg_lrpid ; |
|
1691 |
__vki_kernel_pid_t msg_lrpid ; |
| 1692 |
unsigned long __unused4 ; |
|
1692 |
unsigned long __unused4 ; |
| 1693 |
unsigned long __unused5 ; |
|
1693 |
unsigned long __unused5 ; |
| 1694 |
}; |
|
1694 |
}; |
| 1695 |
struct vki_msgbuf; |
|
1695 |
struct vki_msgbuf; |
| 1696 |
struct vki_ipc_kludge { |
|
1696 |
struct vki_ipc_kludge { |
| 1697 |
struct vki_msgbuf *msgp ; |
|
1697 |
struct vki_msgbuf *msgp ; |
| 1698 |
long msgtyp ; |
|
1698 |
long msgtyp ; |
| 1699 |
}; |
|
1699 |
}; |
| 1700 |
struct vki_shmid64_ds { |
|
1700 |
struct vki_shmid64_ds { |
| 1701 |
struct vki_ipc64_perm shm_perm ; |
|
1701 |
struct vki_ipc64_perm shm_perm ; |
| 1702 |
vki_size_t shm_segsz ; |
|
1702 |
vki_size_t shm_segsz ; |
| 1703 |
__vki_kernel_time_t shm_atime ; |
|
1703 |
__vki_kernel_time_t shm_atime ; |
| 1704 |
unsigned long __unused1 ; |
|
1704 |
unsigned long __unused1 ; |
| 1705 |
__vki_kernel_time_t shm_dtime ; |
|
1705 |
__vki_kernel_time_t shm_dtime ; |
| 1706 |
unsigned long __unused2 ; |
|
1706 |
unsigned long __unused2 ; |
| 1707 |
__vki_kernel_time_t shm_ctime ; |
|
1707 |
__vki_kernel_time_t shm_ctime ; |
| 1708 |
unsigned long __unused3 ; |
|
1708 |
unsigned long __unused3 ; |
| 1709 |
__vki_kernel_pid_t shm_cpid ; |
|
1709 |
__vki_kernel_pid_t shm_cpid ; |
| 1710 |
__vki_kernel_pid_t shm_lpid ; |
|
1710 |
__vki_kernel_pid_t shm_lpid ; |
| 1711 |
unsigned long shm_nattch ; |
|
1711 |
unsigned long shm_nattch ; |
| 1712 |
unsigned long __unused4 ; |
|
1712 |
unsigned long __unused4 ; |
| 1713 |
unsigned long __unused5 ; |
|
1713 |
unsigned long __unused5 ; |
| 1714 |
}; |
|
1714 |
}; |
| 1715 |
struct vki_shminfo64 { |
|
1715 |
struct vki_shminfo64 { |
| 1716 |
unsigned long shmmax ; |
|
1716 |
unsigned long shmmax ; |
| 1717 |
unsigned long shmmin ; |
|
1717 |
unsigned long shmmin ; |
| 1718 |
unsigned long shmmni ; |
|
1718 |
unsigned long shmmni ; |
| 1719 |
unsigned long shmseg ; |
|
1719 |
unsigned long shmseg ; |
| 1720 |
unsigned long shmall ; |
|
1720 |
unsigned long shmall ; |
| 1721 |
unsigned long __unused1 ; |
|
1721 |
unsigned long __unused1 ; |
| 1722 |
unsigned long __unused2 ; |
|
1722 |
unsigned long __unused2 ; |
| 1723 |
unsigned long __unused3 ; |
|
1723 |
unsigned long __unused3 ; |
| 1724 |
unsigned long __unused4 ; |
|
1724 |
unsigned long __unused4 ; |
| 1725 |
}; |
|
1725 |
}; |
| 1726 |
struct vki_vm86_regs { |
|
1726 |
struct vki_vm86_regs { |
| 1727 |
long ebx ; |
|
1727 |
long ebx ; |
| 1728 |
long ecx ; |
|
1728 |
long ecx ; |
| 1729 |
long edx ; |
|
1729 |
long edx ; |
| 1730 |
long esi ; |
|
1730 |
long esi ; |
| 1731 |
long edi ; |
|
1731 |
long edi ; |
| 1732 |
long ebp ; |
|
1732 |
long ebp ; |
| 1733 |
long eax ; |
|
1733 |
long eax ; |
| 1734 |
long __null_ds ; |
|
1734 |
long __null_ds ; |
| 1735 |
long __null_es ; |
|
1735 |
long __null_es ; |
| 1736 |
long __null_fs ; |
|
1736 |
long __null_fs ; |
| 1737 |
long __null_gs ; |
|
1737 |
long __null_gs ; |
| 1738 |
long orig_eax ; |
|
1738 |
long orig_eax ; |
| 1739 |
long eip ; |
|
1739 |
long eip ; |
| 1740 |
unsigned short cs ; |
|
1740 |
unsigned short cs ; |
| 1741 |
unsigned short __csh ; |
|
1741 |
unsigned short __csh ; |
| 1742 |
long eflags ; |
|
1742 |
long eflags ; |
| 1743 |
long esp ; |
|
1743 |
long esp ; |
| 1744 |
unsigned short ss ; |
|
1744 |
unsigned short ss ; |
| 1745 |
unsigned short __ssh ; |
|
1745 |
unsigned short __ssh ; |
| 1746 |
unsigned short es ; |
|
1746 |
unsigned short es ; |
| 1747 |
unsigned short __esh ; |
|
1747 |
unsigned short __esh ; |
| 1748 |
unsigned short ds ; |
|
1748 |
unsigned short ds ; |
| 1749 |
unsigned short __dsh ; |
|
1749 |
unsigned short __dsh ; |
| 1750 |
unsigned short fs ; |
|
1750 |
unsigned short fs ; |
| 1751 |
unsigned short __fsh ; |
|
1751 |
unsigned short __fsh ; |
| 1752 |
unsigned short gs ; |
|
1752 |
unsigned short gs ; |
| 1753 |
unsigned short __gsh ; |
|
1753 |
unsigned short __gsh ; |
| 1754 |
}; |
|
1754 |
}; |
| 1755 |
struct vki_revectored_struct { |
|
1755 |
struct vki_revectored_struct { |
| 1756 |
unsigned long __map[8] ; |
|
1756 |
unsigned long __map[8] ; |
| 1757 |
}; |
|
1757 |
}; |
| 1758 |
struct vki_vm86_struct { |
|
1758 |
struct vki_vm86_struct { |
| 1759 |
struct vki_vm86_regs regs ; |
|
1759 |
struct vki_vm86_regs regs ; |
| 1760 |
unsigned long flags ; |
|
1760 |
unsigned long flags ; |
| 1761 |
unsigned long screen_bitmap ; |
|
1761 |
unsigned long screen_bitmap ; |
| 1762 |
unsigned long cpu_type ; |
|
1762 |
unsigned long cpu_type ; |
| 1763 |
struct vki_revectored_struct int_revectored ; |
|
1763 |
struct vki_revectored_struct int_revectored ; |
| 1764 |
struct vki_revectored_struct int21_revectored ; |
|
1764 |
struct vki_revectored_struct int21_revectored ; |
| 1765 |
}; |
|
1765 |
}; |
| 1766 |
struct vki_vm86plus_info_struct { |
|
1766 |
struct vki_vm86plus_info_struct { |
| 1767 |
unsigned long force_return_for_pic : 1 ; |
|
1767 |
unsigned long force_return_for_pic : 1 ; |
| 1768 |
unsigned long vm86dbg_active : 1 ; |
|
1768 |
unsigned long vm86dbg_active : 1 ; |
| 1769 |
unsigned long vm86dbg_TFpendig : 1 ; |
|
1769 |
unsigned long vm86dbg_TFpendig : 1 ; |
| 1770 |
unsigned long unused : 28 ; |
|
1770 |
unsigned long unused : 28 ; |
| 1771 |
unsigned long is_vm86pus : 1 ; |
|
1771 |
unsigned long is_vm86pus : 1 ; |
| 1772 |
unsigned char vm86dbg_intxxtab[32] ; |
|
1772 |
unsigned char vm86dbg_intxxtab[32] ; |
| 1773 |
}; |
|
1773 |
}; |
| 1774 |
struct vki_vm86plus_struct { |
|
1774 |
struct vki_vm86plus_struct { |
| 1775 |
struct vki_vm86_regs regs ; |
|
1775 |
struct vki_vm86_regs regs ; |
| 1776 |
unsigned long flags ; |
|
1776 |
unsigned long flags ; |
| 1777 |
unsigned long screen_bitmap ; |
|
1777 |
unsigned long screen_bitmap ; |
| 1778 |
unsigned long cpu_type ; |
|
1778 |
unsigned long cpu_type ; |
| 1779 |
struct vki_revectored_struct int_revectored ; |
|
1779 |
struct vki_revectored_struct int_revectored ; |
| 1780 |
struct vki_revectored_struct int21_revectored ; |
|
1780 |
struct vki_revectored_struct int21_revectored ; |
| 1781 |
struct vki_vm86plus_info_struct vm86plus ; |
|
1781 |
struct vki_vm86plus_info_struct vm86plus ; |
| 1782 |
}; |
|
1782 |
}; |
| 1783 |
typedef __vki_s32 vki_int32_t; |
|
1783 |
typedef __vki_s32 vki_int32_t; |
| 1784 |
typedef __vki_u8 vki_uint8_t; |
|
1784 |
typedef __vki_u8 vki_uint8_t; |
| 1785 |
typedef __vki_u16 vki_uint16_t; |
|
1785 |
typedef __vki_u16 vki_uint16_t; |
| 1786 |
typedef __vki_u32 vki_uint32_t; |
|
1786 |
typedef __vki_u32 vki_uint32_t; |
| 1787 |
struct vki_sysinfo { |
|
1787 |
struct vki_sysinfo { |
| 1788 |
long uptime ; |
|
1788 |
long uptime ; |
| 1789 |
unsigned long loads[3] ; |
|
1789 |
unsigned long loads[3] ; |
| 1790 |
unsigned long totalram ; |
|
1790 |
unsigned long totalram ; |
| 1791 |
unsigned long freeram ; |
|
1791 |
unsigned long freeram ; |
| 1792 |
unsigned long sharedram ; |
|
1792 |
unsigned long sharedram ; |
| 1793 |
unsigned long bufferram ; |
|
1793 |
unsigned long bufferram ; |
| 1794 |
unsigned long totalswap ; |
|
1794 |
unsigned long totalswap ; |
| 1795 |
unsigned long freeswap ; |
|
1795 |
unsigned long freeswap ; |
| 1796 |
unsigned short procs ; |
|
1796 |
unsigned short procs ; |
| 1797 |
unsigned short pad ; |
|
1797 |
unsigned short pad ; |
| 1798 |
unsigned long totalhigh ; |
|
1798 |
unsigned long totalhigh ; |
| 1799 |
unsigned long freehigh ; |
|
1799 |
unsigned long freehigh ; |
| 1800 |
unsigned int mem_unit ; |
|
1800 |
unsigned int mem_unit ; |
| 1801 |
char _f[(20U - 2U * sizeof(long )) - sizeof(int )] ; |
|
1801 |
char _f[(20U - 2U * sizeof(long )) - sizeof(int )] ; |
| 1802 |
}; |
|
1802 |
}; |
| 1803 |
struct vki_timespec { |
|
1803 |
struct vki_timespec { |
| 1804 |
vki_time_t tv_sec ; |
|
1804 |
vki_time_t tv_sec ; |
| 1805 |
long tv_nsec ; |
|
1805 |
long tv_nsec ; |
| 1806 |
}; |
|
1806 |
}; |
| 1807 |
struct vki_timeval { |
|
1807 |
struct vki_timeval { |
| 1808 |
vki_time_t tv_sec ; |
|
1808 |
vki_time_t tv_sec ; |
| 1809 |
vki_suseconds_t tv_usec ; |
|
1809 |
vki_suseconds_t tv_usec ; |
| 1810 |
}; |
|
1810 |
}; |
| 1811 |
struct vki_timezone { |
|
1811 |
struct vki_timezone { |
| 1812 |
int tz_minuteswest ; |
|
1812 |
int tz_minuteswest ; |
| 1813 |
int tz_dsttime ; |
|
1813 |
int tz_dsttime ; |
| 1814 |
}; |
|
1814 |
}; |
| 1815 |
struct vki_itimerspec { |
|
1815 |
struct vki_itimerspec { |
| 1816 |
struct vki_timespec it_interval ; |
|
1816 |
struct vki_timespec it_interval ; |
| 1817 |
struct vki_timespec it_value ; |
|
1817 |
struct vki_timespec it_value ; |
| 1818 |
}; |
|
1818 |
}; |
| 1819 |
struct vki_itimerval { |
|
1819 |
struct vki_itimerval { |
| 1820 |
struct vki_timeval it_interval ; |
|
1820 |
struct vki_timeval it_interval ; |
| 1821 |
struct vki_timeval it_value ; |
|
1821 |
struct vki_timeval it_value ; |
| 1822 |
}; |
|
1822 |
}; |
| 1823 |
struct vki_timex { |
|
1823 |
struct vki_timex { |
| 1824 |
unsigned int modes ; |
|
1824 |
unsigned int modes ; |
| 1825 |
long offset ; |
|
1825 |
long offset ; |
| 1826 |
long freq ; |
|
1826 |
long freq ; |
| 1827 |
long maxerror ; |
|
1827 |
long maxerror ; |
| 1828 |
long esterror ; |
|
1828 |
long esterror ; |
| 1829 |
int status ; |
|
1829 |
int status ; |
| 1830 |
long constant ; |
|
1830 |
long constant ; |
| 1831 |
long precision ; |
|
1831 |
long precision ; |
| 1832 |
long tolerance ; |
|
1832 |
long tolerance ; |
| 1833 |
struct vki_timeval time ; |
|
1833 |
struct vki_timeval time ; |
| 1834 |
long tick ; |
|
1834 |
long tick ; |
| 1835 |
long ppsfreq ; |
|
1835 |
long ppsfreq ; |
| 1836 |
long jitter ; |
|
1836 |
long jitter ; |
| 1837 |
int shift ; |
|
1837 |
int shift ; |
| 1838 |
long stabil ; |
|
1838 |
long stabil ; |
| 1839 |
long jitcnt ; |
|
1839 |
long jitcnt ; |
| 1840 |
long calcnt ; |
|
1840 |
long calcnt ; |
| 1841 |
long errcnt ; |
|
1841 |
long errcnt ; |
| 1842 |
long stbcnt ; |
|
1842 |
long stbcnt ; |
| 1843 |
int : 32 ; |
|
1843 |
int : 32 ; |
| 1844 |
int : 32 ; |
|
1844 |
int : 32 ; |
| 1845 |
int : 32 ; |
|
1845 |
int : 32 ; |
| 1846 |
int : 32 ; |
|
1846 |
int : 32 ; |
| 1847 |
int : 32 ; |
|
1847 |
int : 32 ; |
| 1848 |
int : 32 ; |
|
1848 |
int : 32 ; |
| 1849 |
int : 32 ; |
|
1849 |
int : 32 ; |
| 1850 |
int : 32 ; |
|
1850 |
int : 32 ; |
| 1851 |
int : 32 ; |
|
1851 |
int : 32 ; |
| 1852 |
int : 32 ; |
|
1852 |
int : 32 ; |
| 1853 |
int : 32 ; |
|
1853 |
int : 32 ; |
| 1854 |
int : 32 ; |
|
1854 |
int : 32 ; |
| 1855 |
}; |
|
1855 |
}; |
| 1856 |
struct vki_tms { |
|
1856 |
struct vki_tms { |
| 1857 |
vki_clock_t tms_utime ; |
|
1857 |
vki_clock_t tms_utime ; |
| 1858 |
vki_clock_t tms_stime ; |
|
1858 |
vki_clock_t tms_stime ; |
| 1859 |
vki_clock_t tms_cutime ; |
|
1859 |
vki_clock_t tms_cutime ; |
| 1860 |
vki_clock_t tms_cstime ; |
|
1860 |
vki_clock_t tms_cstime ; |
| 1861 |
}; |
|
1861 |
}; |
| 1862 |
struct vki_utimbuf { |
|
1862 |
struct vki_utimbuf { |
| 1863 |
vki_time_t actime ; |
|
1863 |
vki_time_t actime ; |
| 1864 |
vki_time_t modtime ; |
|
1864 |
vki_time_t modtime ; |
| 1865 |
}; |
|
1865 |
}; |
| 1866 |
struct vki_sched_param { |
|
1866 |
struct vki_sched_param { |
| 1867 |
int sched_priority ; |
|
1867 |
int sched_priority ; |
| 1868 |
}; |
|
1868 |
}; |
| 1869 |
union vki_sigval { |
|
1869 |
union vki_sigval { |
| 1870 |
int sival_int ; |
|
1870 |
int sival_int ; |
| 1871 |
void *sival_ptr ; |
|
1871 |
void *sival_ptr ; |
| 1872 |
}; |
|
1872 |
}; |
| 1873 |
typedef union vki_sigval vki_sigval_t; |
|
1873 |
typedef union vki_sigval vki_sigval_t; |
| 1874 |
struct __anonstruct__kill_77 { |
|
1874 |
struct __anonstruct__kill_77 { |
| 1875 |
vki_pid_t _pid ; |
|
1875 |
vki_pid_t _pid ; |
| 1876 |
vki_uid_t _uid ; |
|
1876 |
vki_uid_t _uid ; |
| 1877 |
}; |
|
1877 |
}; |
| 1878 |
struct __anonstruct__timer_78 { |
|
1878 |
struct __anonstruct__timer_78 { |
| 1879 |
vki_timer_t _tid ; |
|
1879 |
vki_timer_t _tid ; |
| 1880 |
int _overrun ; |
|
1880 |
int _overrun ; |
| 1881 |
char _pad[sizeof(vki_uid_t ) - sizeof(int )] ; |
|
1881 |
char _pad[sizeof(vki_uid_t ) - sizeof(int )] ; |
| 1882 |
vki_sigval_t _sigval ; |
|
1882 |
vki_sigval_t _sigval ; |
| 1883 |
int _sys_private ; |
|
1883 |
int _sys_private ; |
| 1884 |
}; |
|
1884 |
}; |
| 1885 |
struct __anonstruct__rt_79 { |
|
1885 |
struct __anonstruct__rt_79 { |
| 1886 |
vki_pid_t _pid ; |
|
1886 |
vki_pid_t _pid ; |
| 1887 |
vki_uid_t _uid ; |
|
1887 |
vki_uid_t _uid ; |
| 1888 |
vki_sigval_t _sigval ; |
|
1888 |
vki_sigval_t _sigval ; |
| 1889 |
}; |
|
1889 |
}; |
| 1890 |
struct __anonstruct__sigchld_80 { |
|
1890 |
struct __anonstruct__sigchld_80 { |
| 1891 |
vki_pid_t _pid ; |
|
1891 |
vki_pid_t _pid ; |
| 1892 |
vki_uid_t _uid ; |
|
1892 |
vki_uid_t _uid ; |
| 1893 |
int _status ; |
|
1893 |
int _status ; |
| 1894 |
vki_clock_t _utime ; |
|
1894 |
vki_clock_t _utime ; |
| 1895 |
vki_clock_t _stime ; |
|
1895 |
vki_clock_t _stime ; |
| 1896 |
}; |
|
1896 |
}; |
| 1897 |
struct __anonstruct__sigfault_81 { |
|
1897 |
struct __anonstruct__sigfault_81 { |
| 1898 |
void *_addr ; |
|
1898 |
void *_addr ; |
| 1899 |
}; |
|
1899 |
}; |
| 1900 |
struct __anonstruct__sigpoll_82 { |
|
1900 |
struct __anonstruct__sigpoll_82 { |
| 1901 |
long _band ; |
|
1901 |
long _band ; |
| 1902 |
int _fd ; |
|
1902 |
int _fd ; |
| 1903 |
}; |
|
1903 |
}; |
| 1904 |
union __anonunion__sifields_76 { |
|
1904 |
union __anonunion__sifields_76 { |
| 1905 |
int _pad[(128U - 3U * sizeof(int )) / sizeof(int )] ; |
|
1905 |
int _pad[(128U - 3U * sizeof(int )) / sizeof(int )] ; |
| 1906 |
struct __anonstruct__kill_77 _kill ; |
|
1906 |
struct __anonstruct__kill_77 _kill ; |
| 1907 |
struct __anonstruct__timer_78 _timer ; |
|
1907 |
struct __anonstruct__timer_78 _timer ; |
| 1908 |
struct __anonstruct__rt_79 _rt ; |
|
1908 |
struct __anonstruct__rt_79 _rt ; |
| 1909 |
struct __anonstruct__sigchld_80 _sigchld ; |
|
1909 |
struct __anonstruct__sigchld_80 _sigchld ; |
| 1910 |
struct __anonstruct__sigfault_81 _sigfault ; |
|
1910 |
struct __anonstruct__sigfault_81 _sigfault ; |
| 1911 |
struct __anonstruct__sigpoll_82 _sigpoll ; |
|
1911 |
struct __anonstruct__sigpoll_82 _sigpoll ; |
| 1912 |
}; |
|
1912 |
}; |
| 1913 |
struct vki_siginfo { |
|
1913 |
struct vki_siginfo { |
| 1914 |
int si_signo ; |
|
1914 |
int si_signo ; |
| 1915 |
int si_errno ; |
|
1915 |
int si_errno ; |
| 1916 |
int si_code ; |
|
1916 |
int si_code ; |
| 1917 |
union __anonunion__sifields_76 _sifields ; |
|
1917 |
union __anonunion__sifields_76 _sifields ; |
| 1918 |
}; |
|
1918 |
}; |
| 1919 |
typedef struct vki_siginfo vki_siginfo_t; |
|
1919 |
typedef struct vki_siginfo vki_siginfo_t; |
| 1920 |
struct __anonstruct__sigev_thread_84 { |
|
1920 |
struct __anonstruct__sigev_thread_84 { |
| 1921 |
void (*_function)(vki_sigval_t ) ; |
|
1921 |
void (*_function)(vki_sigval_t ) ; |
| 1922 |
void *_attribute ; |
|
1922 |
void *_attribute ; |
| 1923 |
}; |
|
1923 |
}; |
| 1924 |
union __anonunion__sigev_un_83 { |
|
1924 |
union __anonunion__sigev_un_83 { |
| 1925 |
int _pad[(64U - (sizeof(int ) * 2U + sizeof(vki_sigval_t ))) / sizeof(int )] ; |
|
1925 |
int _pad[(64U - (sizeof(int ) * 2U + sizeof(vki_sigval_t ))) / sizeof(int )] ; |
| 1926 |
int _tid ; |
|
1926 |
int _tid ; |
| 1927 |
struct __anonstruct__sigev_thread_84 _sigev_thread ; |
|
1927 |
struct __anonstruct__sigev_thread_84 _sigev_thread ; |
| 1928 |
}; |
|
1928 |
}; |
| 1929 |
struct vki_sigevent { |
|
1929 |
struct vki_sigevent { |
| 1930 |
vki_sigval_t sigev_value ; |
|
1930 |
vki_sigval_t sigev_value ; |
| 1931 |
int sigev_signo ; |
|
1931 |
int sigev_signo ; |
| 1932 |
int sigev_notify ; |
|
1932 |
int sigev_notify ; |
| 1933 |
union __anonunion__sigev_un_83 _sigev_un ; |
|
1933 |
union __anonunion__sigev_un_83 _sigev_un ; |
| 1934 |
}; |
|
1934 |
}; |
| 1935 |
typedef struct vki_sigevent vki_sigevent_t; |
|
1935 |
typedef struct vki_sigevent vki_sigevent_t; |
| 1936 |
enum vki_sock_type { |
|
1936 |
enum vki_sock_type { |
| 1937 |
VKI_SOCK_STREAM = 1 |
|
1937 |
VKI_SOCK_STREAM = 1 |
| 1938 |
} ; |
|
1938 |
} ; |
| 1939 |
struct vki_iovec { |
|
1939 |
struct vki_iovec { |
| 1940 |
void *iov_base ; |
|
1940 |
void *iov_base ; |
| 1941 |
__vki_kernel_size_t iov_len ; |
|
1941 |
__vki_kernel_size_t iov_len ; |
| 1942 |
}; |
|
1942 |
}; |
| 1943 |
typedef unsigned short vki_sa_family_t; |
|
1943 |
typedef unsigned short vki_sa_family_t; |
| 1944 |
struct vki_sockaddr { |
|
1944 |
struct vki_sockaddr { |
| 1945 |
vki_sa_family_t sa_family ; |
|
1945 |
vki_sa_family_t sa_family ; |
| 1946 |
char sa_data[14] ; |
|
1946 |
char sa_data[14] ; |
| 1947 |
}; |
|
1947 |
}; |
| 1948 |
struct vki_msghdr { |
|
1948 |
struct vki_msghdr { |
| 1949 |
void *msg_name ; |
|
1949 |
void *msg_name ; |
| 1950 |
int msg_namelen ; |
|
1950 |
int msg_namelen ; |
| 1951 |
struct vki_iovec *msg_iov ; |
|
1951 |
struct vki_iovec *msg_iov ; |
| 1952 |
__vki_kernel_size_t msg_iovlen ; |
|
1952 |
__vki_kernel_size_t msg_iovlen ; |
| 1953 |
void *msg_control ; |
|
1953 |
void *msg_control ; |
| 1954 |
__vki_kernel_size_t msg_controllen ; |
|
1954 |
__vki_kernel_size_t msg_controllen ; |
| 1955 |
unsigned int msg_flags ; |
|
1955 |
unsigned int msg_flags ; |
| 1956 |
}; |
|
1956 |
}; |
| 1957 |
struct vki_cmsghdr { |
|
1957 |
struct vki_cmsghdr { |
| 1958 |
__vki_kernel_size_t cmsg_len ; |
|
1958 |
__vki_kernel_size_t cmsg_len ; |
| 1959 |
int cmsg_level ; |
|
1959 |
int cmsg_level ; |
| 1960 |
int cmsg_type ; |
|
1960 |
int cmsg_type ; |
| 1961 |
}; |
|
1961 |
}; |
| 1962 |
struct vki_in_addr { |
|
1962 |
struct vki_in_addr { |
| 1963 |
__vki_u32 s_addr ; |
|
1963 |
__vki_u32 s_addr ; |
| 1964 |
}; |
|
1964 |
}; |
| 1965 |
struct vki_sockaddr_in { |
|
1965 |
struct vki_sockaddr_in { |
| 1966 |
vki_sa_family_t sin_family ; |
|
1966 |
vki_sa_family_t sin_family ; |
| 1967 |
unsigned short sin_port ; |
|
1967 |
unsigned short sin_port ; |
| 1968 |
struct vki_in_addr sin_addr ; |
|
1968 |
struct vki_in_addr sin_addr ; |
| 1969 |
unsigned char __pad[((16U - sizeof(short )) - sizeof(unsigned short )) - sizeof(struct vki_in_addr )] ; |
|
1969 |
unsigned char __pad[((16U - sizeof(short )) - sizeof(unsigned short )) - sizeof(struct vki_in_addr )] ; |
| 1970 |
}; |
|
1970 |
}; |
| 1971 |
union __anonunion_vki_in6_u_85 { |
|
1971 |
union __anonunion_vki_in6_u_85 { |
| 1972 |
__vki_u8 u6_addr8[16] ; |
|
1972 |
__vki_u8 u6_addr8[16] ; |
| 1973 |
__vki_u16 u6_addr16[8] ; |
|
1973 |
__vki_u16 u6_addr16[8] ; |
| 1974 |
__vki_u32 u6_addr32[4] ; |
|
1974 |
__vki_u32 u6_addr32[4] ; |
| 1975 |
}; |
|
1975 |
}; |
| 1976 |
struct vki_in6_addr { |
|
1976 |
struct vki_in6_addr { |
| 1977 |
union __anonunion_vki_in6_u_85 vki_in6_u ; |
|
1977 |
union __anonunion_vki_in6_u_85 vki_in6_u ; |
| 1978 |
}; |
|
1978 |
}; |
| 1979 |
struct vki_sockaddr_in6 { |
|
1979 |
struct vki_sockaddr_in6 { |
| 1980 |
unsigned short sin6_family ; |
|
1980 |
unsigned short sin6_family ; |
| 1981 |
__vki_u16 sin6_port ; |
|
1981 |
__vki_u16 sin6_port ; |
| 1982 |
__vki_u32 sin6_flowinfo ; |
|
1982 |
__vki_u32 sin6_flowinfo ; |
| 1983 |
struct vki_in6_addr sin6_addr ; |
|
1983 |
struct vki_in6_addr sin6_addr ; |
| 1984 |
__vki_u32 sin6_scope_id ; |
|
1984 |
__vki_u32 sin6_scope_id ; |
| 1985 |
}; |
|
1985 |
}; |
| 1986 |
struct vki_sockaddr_un { |
|
1986 |
struct vki_sockaddr_un { |
| 1987 |
vki_sa_family_t sun_family ; |
|
1987 |
vki_sa_family_t sun_family ; |
| 1988 |
char sun_path[108] ; |
|
1988 |
char sun_path[108] ; |
| 1989 |
}; |
|
1989 |
}; |
| 1990 |
struct vki_ifmap { |
|
1990 |
struct vki_ifmap { |
| 1991 |
unsigned long mem_start ; |
|
1991 |
unsigned long mem_start ; |
| 1992 |
unsigned long mem_end ; |
|
1992 |
unsigned long mem_end ; |
| 1993 |
unsigned short base_addr ; |
|
1993 |
unsigned short base_addr ; |
| 1994 |
unsigned char irq ; |
|
1994 |
unsigned char irq ; |
| 1995 |
unsigned char dma ; |
|
1995 |
unsigned char dma ; |
| 1996 |
unsigned char port ; |
|
1996 |
unsigned char port ; |
| 1997 |
}; |
|
1997 |
}; |
| 1998 |
union __anonunion_ifs_ifsu_86 { |
|
1998 |
union __anonunion_ifs_ifsu_86 { |
| 1999 |
void *raw_hdlc ; |
|
1999 |
void *raw_hdlc ; |
| 2000 |
void *cisco ; |
|
2000 |
void *cisco ; |
| 2001 |
void *fr ; |
|
2001 |
void *fr ; |
| 2002 |
void *fr_pvc ; |
|
2002 |
void *fr_pvc ; |
| 2003 |
void *fr_pvc_info ; |
|
2003 |
void *fr_pvc_info ; |
| 2004 |
void *sync ; |
|
2004 |
void *sync ; |
| 2005 |
void *te1 ; |
|
2005 |
void *te1 ; |
| 2006 |
}; |
|
2006 |
}; |
| 2007 |
struct vki_if_settings { |
|
2007 |
struct vki_if_settings { |
| 2008 |
unsigned int type ; |
|
2008 |
unsigned int type ; |
| 2009 |
unsigned int size ; |
|
2009 |
unsigned int size ; |
| 2010 |
union __anonunion_ifs_ifsu_86 ifs_ifsu ; |
|
2010 |
union __anonunion_ifs_ifsu_86 ifs_ifsu ; |
| 2011 |
}; |
|
2011 |
}; |
| 2012 |
union __anonunion_ifr_ifrn_87 { |
|
2012 |
union __anonunion_ifr_ifrn_87 { |
| 2013 |
char ifrn_name[16] ; |
|
2013 |
char ifrn_name[16] ; |
| 2014 |
}; |
|
2014 |
}; |
| 2015 |
union __anonunion_ifr_ifru_88 { |
|
2015 |
union __anonunion_ifr_ifru_88 { |
| 2016 |
struct vki_sockaddr ifru_addr ; |
|
2016 |
struct vki_sockaddr ifru_addr ; |
| 2017 |
struct vki_sockaddr ifru_dstaddr ; |
|
2017 |
struct vki_sockaddr ifru_dstaddr ; |
| 2018 |
struct vki_sockaddr ifru_broadaddr ; |
|
2018 |
struct vki_sockaddr ifru_broadaddr ; |
| 2019 |
struct vki_sockaddr ifru_netmask ; |
|
2019 |
struct vki_sockaddr ifru_netmask ; |
| 2020 |
struct vki_sockaddr ifru_hwaddr ; |
|
2020 |
struct vki_sockaddr ifru_hwaddr ; |
| 2021 |
short ifru_flags ; |
|
2021 |
short ifru_flags ; |
| 2022 |
int ifru_ivalue ; |
|
2022 |
int ifru_ivalue ; |
| 2023 |
int ifru_mtu ; |
|
2023 |
int ifru_mtu ; |
| 2024 |
struct vki_ifmap ifru_map ; |
|
2024 |
struct vki_ifmap ifru_map ; |
| 2025 |
char ifru_slave[16] ; |
|
2025 |
char ifru_slave[16] ; |
| 2026 |
char ifru_newname[16] ; |
|
2026 |
char ifru_newname[16] ; |
| 2027 |
void *ifru_data ; |
|
2027 |
void *ifru_data ; |
| 2028 |
struct vki_if_settings ifru_settings ; |
|
2028 |
struct vki_if_settings ifru_settings ; |
| 2029 |
}; |
|
2029 |
}; |
| 2030 |
struct vki_ifreq { |
|
2030 |
struct vki_ifreq { |
| 2031 |
union __anonunion_ifr_ifrn_87 ifr_ifrn ; |
|
2031 |
union __anonunion_ifr_ifrn_87 ifr_ifrn ; |
| 2032 |
union __anonunion_ifr_ifru_88 ifr_ifru ; |
|
2032 |
union __anonunion_ifr_ifru_88 ifr_ifru ; |
| 2033 |
}; |
|
2033 |
}; |
| 2034 |
union __anonunion_ifc_ifcu_89 { |
|
2034 |
union __anonunion_ifc_ifcu_89 { |
| 2035 |
char *ifcu_buf ; |
|
2035 |
char *ifcu_buf ; |
| 2036 |
struct vki_ifreq *ifcu_req ; |
|
2036 |
struct vki_ifreq *ifcu_req ; |
| 2037 |
}; |
|
2037 |
}; |
| 2038 |
struct vki_ifconf { |
|
2038 |
struct vki_ifconf { |
| 2039 |
int ifc_len ; |
|
2039 |
int ifc_len ; |
| 2040 |
union __anonunion_ifc_ifcu_89 ifc_ifcu ; |
|
2040 |
union __anonunion_ifc_ifcu_89 ifc_ifcu ; |
| 2041 |
}; |
|
2041 |
}; |
| 2042 |
struct vki_arpreq { |
|
2042 |
struct vki_arpreq { |
| 2043 |
struct vki_sockaddr arp_pa ; |
|
2043 |
struct vki_sockaddr arp_pa ; |
| 2044 |
struct vki_sockaddr arp_ha ; |
|
2044 |
struct vki_sockaddr arp_ha ; |
| 2045 |
int arp_flags ; |
|
2045 |
int arp_flags ; |
| 2046 |
struct vki_sockaddr arp_netmask ; |
|
2046 |
struct vki_sockaddr arp_netmask ; |
| 2047 |
char arp_dev[16] ; |
|
2047 |
char arp_dev[16] ; |
| 2048 |
}; |
|
2048 |
}; |
| 2049 |
struct vki_rtentry { |
|
2049 |
struct vki_rtentry { |
| 2050 |
unsigned long rt_pad1 ; |
|
2050 |
unsigned long rt_pad1 ; |
| 2051 |
struct vki_sockaddr rt_dst ; |
|
2051 |
struct vki_sockaddr rt_dst ; |
| 2052 |
struct vki_sockaddr rt_gateway ; |
|
2052 |
struct vki_sockaddr rt_gateway ; |
| 2053 |
struct vki_sockaddr rt_genmask ; |
|
2053 |
struct vki_sockaddr rt_genmask ; |
| 2054 |
unsigned short rt_flags ; |
|
2054 |
unsigned short rt_flags ; |
| 2055 |
short rt_pad2 ; |
|
2055 |
short rt_pad2 ; |
| 2056 |
unsigned long rt_pad3 ; |
|
2056 |
unsigned long rt_pad3 ; |
| 2057 |
void *rt_pad4 ; |
|
2057 |
void *rt_pad4 ; |
| 2058 |
short rt_metric ; |
|
2058 |
short rt_metric ; |
| 2059 |
char *rt_dev ; |
|
2059 |
char *rt_dev ; |
| 2060 |
unsigned long rt_mtu ; |
|
2060 |
unsigned long rt_mtu ; |
| 2061 |
unsigned long rt_window ; |
|
2061 |
unsigned long rt_window ; |
| 2062 |
unsigned short rt_irtt ; |
|
2062 |
unsigned short rt_irtt ; |
| 2063 |
}; |
|
2063 |
}; |
| 2064 |
typedef __vki_s32 vki_sctp_assoc_t; |
|
2064 |
typedef __vki_s32 vki_sctp_assoc_t; |
| 2065 |
enum vki_sctp_optname { |
|
2065 |
enum vki_sctp_optname { |
| 2066 |
VKI_SCTP_RTOINFO = 0, |
|
2066 |
VKI_SCTP_RTOINFO = 0, |
| 2067 |
VKI_SCTP_ASSOCINFO = 1, |
|
2067 |
VKI_SCTP_ASSOCINFO = 1, |
| 2068 |
VKI_SCTP_INITMSG = 2, |
|
2068 |
VKI_SCTP_INITMSG = 2, |
| 2069 |
VKI_SCTP_NODELAY = 3, |
|
2069 |
VKI_SCTP_NODELAY = 3, |
| 2070 |
VKI_SCTP_AUTOCLOSE = 4, |
|
2070 |
VKI_SCTP_AUTOCLOSE = 4, |
| 2071 |
VKI_SCTP_SET_PEER_PRIMARY_ADDR = 5, |
|
2071 |
VKI_SCTP_SET_PEER_PRIMARY_ADDR = 5, |
| 2072 |
VKI_SCTP_PRIMARY_ADDR = 6, |
|
2072 |
VKI_SCTP_PRIMARY_ADDR = 6, |
| 2073 |
VKI_SCTP_ADAPTION_LAYER = 7, |
|
2073 |
VKI_SCTP_ADAPTION_LAYER = 7, |
| 2074 |
VKI_SCTP_DISABLE_FRAGMENTS = 8, |
|
2074 |
VKI_SCTP_DISABLE_FRAGMENTS = 8, |
| 2075 |
VKI_SCTP_PEER_ADDR_PARAMS = 9, |
|
2075 |
VKI_SCTP_PEER_ADDR_PARAMS = 9, |
| 2076 |
VKI_SCTP_DEFAULT_SEND_PARAM = 10, |
|
2076 |
VKI_SCTP_DEFAULT_SEND_PARAM = 10, |
| 2077 |
VKI_SCTP_EVENTS = 11, |
|
2077 |
VKI_SCTP_EVENTS = 11, |
| 2078 |
VKI_SCTP_I_WANT_MAPPED_V4_ADDR = 12, |
|
2078 |
VKI_SCTP_I_WANT_MAPPED_V4_ADDR = 12, |
| 2079 |
VKI_SCTP_MAXSEG = 13, |
|
2079 |
VKI_SCTP_MAXSEG = 13, |
| 2080 |
VKI_SCTP_STATUS = 14, |
|
2080 |
VKI_SCTP_STATUS = 14, |
| 2081 |
VKI_SCTP_GET_PEER_ADDR_INFO = 15, |
|
2081 |
VKI_SCTP_GET_PEER_ADDR_INFO = 15, |
| 2082 |
VKI_SCTP_SOCKOPT_BINDX_ADD = 100, |
|
2082 |
VKI_SCTP_SOCKOPT_BINDX_ADD = 100, |
| 2083 |
VKI_SCTP_SOCKOPT_BINDX_REM = 101, |
|
2083 |
VKI_SCTP_SOCKOPT_BINDX_REM = 101, |
| 2084 |
VKI_SCTP_SOCKOPT_PEELOFF = 102, |
|
2084 |
VKI_SCTP_SOCKOPT_PEELOFF = 102, |
| 2085 |
VKI_SCTP_GET_PEER_ADDRS_NUM = 103, |
|
2085 |
VKI_SCTP_GET_PEER_ADDRS_NUM = 103, |
| 2086 |
VKI_SCTP_GET_PEER_ADDRS = 104, |
|
2086 |
VKI_SCTP_GET_PEER_ADDRS = 104, |
| 2087 |
VKI_SCTP_GET_LOCAL_ADDRS_NUM = 105, |
|
2087 |
VKI_SCTP_GET_LOCAL_ADDRS_NUM = 105, |
| 2088 |
VKI_SCTP_GET_LOCAL_ADDRS = 106, |
|
2088 |
VKI_SCTP_GET_LOCAL_ADDRS = 106, |
| 2089 |
VKI_SCTP_SOCKOPT_CONNECTX = 107 |
|
2089 |
VKI_SCTP_SOCKOPT_CONNECTX = 107 |
| 2090 |
} ; |
|
2090 |
} ; |
| 2091 |
struct vki_sctp_getaddrs { |
|
2091 |
struct vki_sctp_getaddrs { |
| 2092 |
vki_sctp_assoc_t assoc_id ; |
|
2092 |
vki_sctp_assoc_t assoc_id ; |
| 2093 |
int addr_num ; |
|
2093 |
int addr_num ; |
| 2094 |
struct vki_sockaddr *addrs ; |
|
2094 |
struct vki_sockaddr *addrs ; |
| 2095 |
}; |
|
2095 |
}; |
| 2096 |
struct vki_rusage { |
|
2096 |
struct vki_rusage { |
| 2097 |
struct vki_timeval ru_utime ; |
|
2097 |
struct vki_timeval ru_utime ; |
| 2098 |
struct vki_timeval ru_stime ; |
|
2098 |
struct vki_timeval ru_stime ; |
| 2099 |
long ru_maxrss ; |
|
2099 |
long ru_maxrss ; |
| 2100 |
long ru_ixrss ; |
|
2100 |
long ru_ixrss ; |
| 2101 |
long ru_idrss ; |
|
2101 |
long ru_idrss ; |
| 2102 |
long ru_isrss ; |
|
2102 |
long ru_isrss ; |
| 2103 |
long ru_minflt ; |
|
2103 |
long ru_minflt ; |
| 2104 |
long ru_majflt ; |
|
2104 |
long ru_majflt ; |
| 2105 |
long ru_nswap ; |
|
2105 |
long ru_nswap ; |
| 2106 |
long ru_inblock ; |
|
2106 |
long ru_inblock ; |
| 2107 |
long ru_oublock ; |
|
2107 |
long ru_oublock ; |
| 2108 |
long ru_msgsnd ; |
|
2108 |
long ru_msgsnd ; |
| 2109 |
long ru_msgrcv ; |
|
2109 |
long ru_msgrcv ; |
| 2110 |
long ru_nsignals ; |
|
2110 |
long ru_nsignals ; |
| 2111 |
long ru_nvcsw ; |
|
2111 |
long ru_nvcsw ; |
| 2112 |
long ru_nivcsw ; |
|
2112 |
long ru_nivcsw ; |
| 2113 |
}; |
|
2113 |
}; |
| 2114 |
struct vki_rlimit { |
|
2114 |
struct vki_rlimit { |
| 2115 |
unsigned long rlim_cur ; |
|
2115 |
unsigned long rlim_cur ; |
| 2116 |
unsigned long rlim_max ; |
|
2116 |
unsigned long rlim_max ; |
| 2117 |
}; |
|
2117 |
}; |
| 2118 |
struct vki_rlimit64 { |
|
2118 |
struct vki_rlimit64 { |
| 2119 |
__vki_u64 rlim_cur ; |
|
2119 |
__vki_u64 rlim_cur ; |
| 2120 |
__vki_u64 rlim_max ; |
|
2120 |
__vki_u64 rlim_max ; |
| 2121 |
}; |
|
2121 |
}; |
| 2122 |
struct vki_elf_siginfo { |
|
2122 |
struct vki_elf_siginfo { |
| 2123 |
int si_signo ; |
|
2123 |
int si_signo ; |
| 2124 |
int si_code ; |
|
2124 |
int si_code ; |
| 2125 |
int si_errno ; |
|
2125 |
int si_errno ; |
| 2126 |
}; |
|
2126 |
}; |
| 2127 |
struct vki_elf_prstatus { |
|
2127 |
struct vki_elf_prstatus { |
| 2128 |
struct vki_elf_siginfo pr_info ; |
|
2128 |
struct vki_elf_siginfo pr_info ; |
| 2129 |
short pr_cursig ; |
|
2129 |
short pr_cursig ; |
| 2130 |
unsigned long pr_sigpend ; |
|
2130 |
unsigned long pr_sigpend ; |
| 2131 |
unsigned long pr_sighold ; |
|
2131 |
unsigned long pr_sighold ; |
| 2132 |
vki_pid_t pr_pid ; |
|
2132 |
vki_pid_t pr_pid ; |
| 2133 |
vki_pid_t pr_ppid ; |
|
2133 |
vki_pid_t pr_ppid ; |
| 2134 |
vki_pid_t pr_pgrp ; |
|
2134 |
vki_pid_t pr_pgrp ; |
| 2135 |
vki_pid_t pr_sid ; |
|
2135 |
vki_pid_t pr_sid ; |
| 2136 |
struct vki_timeval pr_utime ; |
|
2136 |
struct vki_timeval pr_utime ; |
| 2137 |
struct vki_timeval pr_stime ; |
|
2137 |
struct vki_timeval pr_stime ; |
| 2138 |
struct vki_timeval pr_cutime ; |
|
2138 |
struct vki_timeval pr_cutime ; |
| 2139 |
struct vki_timeval pr_cstime ; |
|
2139 |
struct vki_timeval pr_cstime ; |
| 2140 |
vki_elf_gregset_t pr_reg ; |
|
2140 |
vki_elf_gregset_t pr_reg ; |
| 2141 |
int pr_fpvalid ; |
|
2141 |
int pr_fpvalid ; |
| 2142 |
}; |
|
2142 |
}; |
| 2143 |
struct vki_elf_prpsinfo { |
|
2143 |
struct vki_elf_prpsinfo { |
| 2144 |
char pr_state ; |
|
2144 |
char pr_state ; |
| 2145 |
char pr_sname ; |
|
2145 |
char pr_sname ; |
| 2146 |
char pr_zomb ; |
|
2146 |
char pr_zomb ; |
| 2147 |
char pr_nice ; |
|
2147 |
char pr_nice ; |
| 2148 |
unsigned long pr_flag ; |
|
2148 |
unsigned long pr_flag ; |
| 2149 |
__vki_kernel_uid_t pr_uid ; |
|
2149 |
__vki_kernel_uid_t pr_uid ; |
| 2150 |
__vki_kernel_gid_t pr_gid ; |
|
2150 |
__vki_kernel_gid_t pr_gid ; |
| 2151 |
vki_pid_t pr_pid ; |
|
2151 |
vki_pid_t pr_pid ; |
| 2152 |
vki_pid_t pr_ppid ; |
|
2152 |
vki_pid_t pr_ppid ; |
| 2153 |
vki_pid_t pr_pgrp ; |
|
2153 |
vki_pid_t pr_pgrp ; |
| 2154 |
vki_pid_t pr_sid ; |
|
2154 |
vki_pid_t pr_sid ; |
| 2155 |
char pr_fname[16] ; |
|
2155 |
char pr_fname[16] ; |
| 2156 |
char pr_psargs[80] ; |
|
2156 |
char pr_psargs[80] ; |
| 2157 |
}; |
|
2157 |
}; |
| 2158 |
struct vki_epoll_event { |
|
2158 |
struct vki_epoll_event { |
| 2159 |
__vki_u32 events ; |
|
2159 |
__vki_u32 events ; |
| 2160 |
__vki_u64 data ; |
|
2160 |
__vki_u64 data ; |
| 2161 |
}; |
|
2161 |
}; |
| 2162 |
struct vki_mq_attr { |
|
2162 |
struct vki_mq_attr { |
| 2163 |
long mq_flags ; |
|
2163 |
long mq_flags ; |
| 2164 |
long mq_maxmsg ; |
|
2164 |
long mq_maxmsg ; |
| 2165 |
long mq_msgsize ; |
|
2165 |
long mq_msgsize ; |
| 2166 |
long mq_curmsgs ; |
|
2166 |
long mq_curmsgs ; |
| 2167 |
long __reserved[4] ; |
|
2167 |
long __reserved[4] ; |
| 2168 |
}; |
|
2168 |
}; |
| 2169 |
struct vki_new_utsname { |
|
2169 |
struct vki_new_utsname { |
| 2170 |
char sysname[65] ; |
|
2170 |
char sysname[65] ; |
| 2171 |
char nodename[65] ; |
|
2171 |
char nodename[65] ; |
| 2172 |
char release[65] ; |
|
2172 |
char release[65] ; |
| 2173 |
char version[65] ; |
|
2173 |
char version[65] ; |
| 2174 |
char machine[65] ; |
|
2174 |
char machine[65] ; |
| 2175 |
char domainname[65] ; |
|
2175 |
char domainname[65] ; |
| 2176 |
}; |
|
2176 |
}; |
| 2177 |
struct vki_mii_ioctl_data { |
|
2177 |
struct vki_mii_ioctl_data { |
| 2178 |
vki_u16 phy_id ; |
|
2178 |
vki_u16 phy_id ; |
| 2179 |
vki_u16 reg_num ; |
|
2179 |
vki_u16 reg_num ; |
| 2180 |
vki_u16 val_in ; |
|
2180 |
vki_u16 val_in ; |
| 2181 |
vki_u16 val_out ; |
|
2181 |
vki_u16 val_out ; |
| 2182 |
}; |
|
2182 |
}; |
| 2183 |
struct __vki_user_cap_header_struct { |
|
2183 |
struct __vki_user_cap_header_struct { |
| 2184 |
__vki_u32 version ; |
|
2184 |
__vki_u32 version ; |
| 2185 |
int pid ; |
|
2185 |
int pid ; |
| 2186 |
}; |
|
2186 |
}; |
| 2187 |
typedef struct __vki_user_cap_header_struct *vki_cap_user_header_t; |
|
2187 |
typedef struct __vki_user_cap_header_struct *vki_cap_user_header_t; |
| 2188 |
struct __vki_user_cap_data_struct { |
|
2188 |
struct __vki_user_cap_data_struct { |
| 2189 |
__vki_u32 effective ; |
|
2189 |
__vki_u32 effective ; |
| 2190 |
__vki_u32 permitted ; |
|
2190 |
__vki_u32 permitted ; |
| 2191 |
__vki_u32 inheritable ; |
|
2191 |
__vki_u32 inheritable ; |
| 2192 |
}; |
|
2192 |
}; |
| 2193 |
typedef struct __vki_user_cap_data_struct *vki_cap_user_data_t; |
|
2193 |
typedef struct __vki_user_cap_data_struct *vki_cap_user_data_t; |
| 2194 |
struct vki_ipc_perm { |
|
2194 |
struct vki_ipc_perm { |
| 2195 |
__vki_kernel_key_t key ; |
|
2195 |
__vki_kernel_key_t key ; |
| 2196 |
__vki_kernel_uid_t uid ; |
|
2196 |
__vki_kernel_uid_t uid ; |
| 2197 |
__vki_kernel_gid_t gid ; |
|
2197 |
__vki_kernel_gid_t gid ; |
| 2198 |
__vki_kernel_uid_t cuid ; |
|
2198 |
__vki_kernel_uid_t cuid ; |
| 2199 |
__vki_kernel_gid_t cgid ; |
|
2199 |
__vki_kernel_gid_t cgid ; |
| 2200 |
__vki_kernel_mode_t mode ; |
|
2200 |
__vki_kernel_mode_t mode ; |
| 2201 |
unsigned short seq ; |
|
2201 |
unsigned short seq ; |
| 2202 |
}; |
|
2202 |
}; |
| 2203 |
struct vki_semid_ds { |
|
2203 |
struct vki_semid_ds { |
| 2204 |
struct vki_ipc_perm sem_perm ; |
|
2204 |
struct vki_ipc_perm sem_perm ; |
| 2205 |
__vki_kernel_time_t sem_otime ; |
|
2205 |
__vki_kernel_time_t sem_otime ; |
| 2206 |
__vki_kernel_time_t sem_ctime ; |
|
2206 |
__vki_kernel_time_t sem_ctime ; |
| 2207 |
void *sem_base ; |
|
2207 |
void *sem_base ; |
| 2208 |
void *sem_pending ; |
|
2208 |
void *sem_pending ; |
| 2209 |
void **sem_pending_last ; |
|
2209 |
void **sem_pending_last ; |
| 2210 |
void *undo ; |
|
2210 |
void *undo ; |
| 2211 |
unsigned short sem_nsems ; |
|
2211 |
unsigned short sem_nsems ; |
| 2212 |
}; |
|
2212 |
}; |
| 2213 |
struct vki_sembuf { |
|
2213 |
struct vki_sembuf { |
| 2214 |
unsigned short sem_num ; |
|
2214 |
unsigned short sem_num ; |
| 2215 |
short sem_op ; |
|
2215 |
short sem_op ; |
| 2216 |
short sem_flg ; |
|
2216 |
short sem_flg ; |
| 2217 |
}; |
|
2217 |
}; |
| 2218 |
struct vki_seminfo; |
|
2218 |
struct vki_seminfo; |
| 2219 |
union vki_semun { |
|
2219 |
union vki_semun { |
| 2220 |
int val ; |
|
2220 |
int val ; |
| 2221 |
struct vki_semid_ds *buf ; |
|
2221 |
struct vki_semid_ds *buf ; |
| 2222 |
unsigned short *array ; |
|
2222 |
unsigned short *array ; |
| 2223 |
struct vki_seminfo *__buf ; |
|
2223 |
struct vki_seminfo *__buf ; |
| 2224 |
void *__pad ; |
|
2224 |
void *__pad ; |
| 2225 |
}; |
|
2225 |
}; |
| 2226 |
struct vki_seminfo { |
|
2226 |
struct vki_seminfo { |
| 2227 |
int semmap ; |
|
2227 |
int semmap ; |
| 2228 |
int semmni ; |
|
2228 |
int semmni ; |
| 2229 |
int semmns ; |
|
2229 |
int semmns ; |
| 2230 |
int semmnu ; |
|
2230 |
int semmnu ; |
| 2231 |
int semmsl ; |
|
2231 |
int semmsl ; |
| 2232 |
int semopm ; |
|
2232 |
int semopm ; |
| 2233 |
int semume ; |
|
2233 |
int semume ; |
| 2234 |
int semusz ; |
|
2234 |
int semusz ; |
| 2235 |
int semvmx ; |
|
2235 |
int semvmx ; |
| 2236 |
int semaem ; |
|
2236 |
int semaem ; |
| 2237 |
}; |
|
2237 |
}; |
| 2238 |
struct vki_robust_list { |
|
2238 |
struct vki_robust_list { |
| 2239 |
struct vki_robust_list *next ; |
|
2239 |
struct vki_robust_list *next ; |
| 2240 |
}; |
|
2240 |
}; |
| 2241 |
struct vki_robust_list_head { |
|
2241 |
struct vki_robust_list_head { |
| 2242 |
struct vki_robust_list list ; |
|
2242 |
struct vki_robust_list list ; |
| 2243 |
long futex_offset ; |
|
2243 |
long futex_offset ; |
| 2244 |
struct vki_robust_list *list_op_pending ; |
|
2244 |
struct vki_robust_list *list_op_pending ; |
| 2245 |
}; |
|
2245 |
}; |
| 2246 |
struct vki_dirent { |
|
2246 |
struct vki_dirent { |
| 2247 |
long d_ino ; |
|
2247 |
long d_ino ; |
| 2248 |
__vki_kernel_off_t d_off ; |
|
2248 |
__vki_kernel_off_t d_off ; |
| 2249 |
unsigned short d_reclen ; |
|
2249 |
unsigned short d_reclen ; |
| 2250 |
char d_name[256] ; |
|
2250 |
char d_name[256] ; |
| 2251 |
}; |
|
2251 |
}; |
| 2252 |
struct __vki_sysctl_args { |
|
2252 |
struct __vki_sysctl_args { |
| 2253 |
int *name ; |
|
2253 |
int *name ; |
| 2254 |
int nlen ; |
|
2254 |
int nlen ; |
| 2255 |
void *oldval ; |
|
2255 |
void *oldval ; |
| 2256 |
vki_size_t *oldlenp ; |
|
2256 |
vki_size_t *oldlenp ; |
| 2257 |
void *newval ; |
|
2257 |
void *newval ; |
| 2258 |
vki_size_t newlen ; |
|
2258 |
vki_size_t newlen ; |
| 2259 |
unsigned long __unused[4] ; |
|
2259 |
unsigned long __unused[4] ; |
| 2260 |
}; |
|
2260 |
}; |
| 2261 |
typedef unsigned long vki_aio_context_t; |
|
2261 |
typedef unsigned long vki_aio_context_t; |
| 2262 |
enum __anonenum_90 { |
|
2262 |
enum __anonenum_90 { |
| 2263 |
VKI_IOCB_CMD_PREAD = 0, |
|
2263 |
VKI_IOCB_CMD_PREAD = 0, |
| 2264 |
VKI_IOCB_CMD_PWRITE = 1, |
|
2264 |
VKI_IOCB_CMD_PWRITE = 1, |
| 2265 |
VKI_IOCB_CMD_FSYNC = 2, |
|
2265 |
VKI_IOCB_CMD_FSYNC = 2, |
| 2266 |
VKI_IOCB_CMD_FDSYNC = 3, |
|
2266 |
VKI_IOCB_CMD_FDSYNC = 3, |
| 2267 |
VKI_IOCB_CMD_PREADV = 7, |
|
2267 |
VKI_IOCB_CMD_PREADV = 7, |
| 2268 |
VKI_IOCB_CMD_PWRITEV = 8 |
|
2268 |
VKI_IOCB_CMD_PWRITEV = 8 |
| 2269 |
} ; |
|
2269 |
} ; |
| 2270 |
struct vki_io_event { |
|
2270 |
struct vki_io_event { |
| 2271 |
__vki_u64 data ; |
|
2271 |
__vki_u64 data ; |
| 2272 |
__vki_u64 obj ; |
|
2272 |
__vki_u64 obj ; |
| 2273 |
__vki_s64 result ; |
|
2273 |
__vki_s64 result ; |
| 2274 |
__vki_s64 result2 ; |
|
2274 |
__vki_s64 result2 ; |
| 2275 |
}; |
|
2275 |
}; |
| 2276 |
struct vki_iocb { |
|
2276 |
struct vki_iocb { |
| 2277 |
__vki_u64 aio_data ; |
|
2277 |
__vki_u64 aio_data ; |
| 2278 |
__vki_u32 aio_key ; |
|
2278 |
__vki_u32 aio_key ; |
| 2279 |
__vki_u32 aio_reserved1 ; |
|
2279 |
__vki_u32 aio_reserved1 ; |
| 2280 |
__vki_u16 aio_lio_opcode ; |
|
2280 |
__vki_u16 aio_lio_opcode ; |
| 2281 |
__vki_s16 aio_reqprio ; |
|
2281 |
__vki_s16 aio_reqprio ; |
| 2282 |
__vki_u32 aio_fildes ; |
|
2282 |
__vki_u32 aio_fildes ; |
| 2283 |
__vki_u64 aio_buf ; |
|
2283 |
__vki_u64 aio_buf ; |
| 2284 |
__vki_u64 aio_nbytes ; |
|
2284 |
__vki_u64 aio_nbytes ; |
| 2285 |
__vki_s64 aio_offset ; |
|
2285 |
__vki_s64 aio_offset ; |
| 2286 |
__vki_u64 aio_reserved2 ; |
|
2286 |
__vki_u64 aio_reserved2 ; |
| 2287 |
__vki_u64 aio_reserved3 ; |
|
2287 |
__vki_u64 aio_reserved3 ; |
| 2288 |
}; |
|
2288 |
}; |
| 2289 |
struct vki_aio_ring { |
|
2289 |
struct vki_aio_ring { |
| 2290 |
unsigned int id ; |
|
2290 |
unsigned int id ; |
| 2291 |
unsigned int nr ; |
|
2291 |
unsigned int nr ; |
| 2292 |
unsigned int head ; |
|
2292 |
unsigned int head ; |
| 2293 |
unsigned int tail ; |
|
2293 |
unsigned int tail ; |
| 2294 |
unsigned int magic ; |
|
2294 |
unsigned int magic ; |
| 2295 |
unsigned int compat_features ; |
|
2295 |
unsigned int compat_features ; |
| 2296 |
unsigned int incompat_features ; |
|
2296 |
unsigned int incompat_features ; |
| 2297 |
unsigned int header_length ; |
|
2297 |
unsigned int header_length ; |
| 2298 |
struct vki_io_event io_events[0] ; |
|
2298 |
struct vki_io_event io_events[0] ; |
| 2299 |
}; |
|
2299 |
}; |
| 2300 |
struct vki_msg; |
|
2300 |
struct vki_msg; |
| 2301 |
struct vki_msqid_ds { |
|
2301 |
struct vki_msqid_ds { |
| 2302 |
struct vki_ipc_perm msg_perm ; |
|
2302 |
struct vki_ipc_perm msg_perm ; |
| 2303 |
struct vki_msg *msg_first ; |
|
2303 |
struct vki_msg *msg_first ; |
| 2304 |
struct vki_msg *msg_last ; |
|
2304 |
struct vki_msg *msg_last ; |
| 2305 |
__vki_kernel_time_t msg_stime ; |
|
2305 |
__vki_kernel_time_t msg_stime ; |
| 2306 |
__vki_kernel_time_t msg_rtime ; |
|
2306 |
__vki_kernel_time_t msg_rtime ; |
| 2307 |
__vki_kernel_time_t msg_ctime ; |
|
2307 |
__vki_kernel_time_t msg_ctime ; |
| 2308 |
unsigned long msg_lcbytes ; |
|
2308 |
unsigned long msg_lcbytes ; |
| 2309 |
unsigned long msg_lqbytes ; |
|
2309 |
unsigned long msg_lqbytes ; |
| 2310 |
unsigned short msg_cbytes ; |
|
2310 |
unsigned short msg_cbytes ; |
| 2311 |
unsigned short msg_qnum ; |
|
2311 |
unsigned short msg_qnum ; |
| 2312 |
unsigned short msg_qbytes ; |
|
2312 |
unsigned short msg_qbytes ; |
| 2313 |
__vki_kernel_ipc_pid_t msg_lspid ; |
|
2313 |
__vki_kernel_ipc_pid_t msg_lspid ; |
| 2314 |
__vki_kernel_ipc_pid_t msg_lrpid ; |
|
2314 |
__vki_kernel_ipc_pid_t msg_lrpid ; |
| 2315 |
}; |
|
2315 |
}; |
| 2316 |
struct vki_msgbuf { |
|
2316 |
struct vki_msgbuf { |
| 2317 |
long mtype ; |
|
2317 |
long mtype ; |
| 2318 |
char mtext[1] ; |
|
2318 |
char mtext[1] ; |
| 2319 |
}; |
|
2319 |
}; |
| 2320 |
struct vki_msginfo { |
|
2320 |
struct vki_msginfo { |
| 2321 |
int msgpool ; |
|
2321 |
int msgpool ; |
| 2322 |
int msgmap ; |
|
2322 |
int msgmap ; |
| 2323 |
int msgmax ; |
|
2323 |
int msgmax ; |
| 2324 |
int msgmnb ; |
|
2324 |
int msgmnb ; |
| 2325 |
int msgmni ; |
|
2325 |
int msgmni ; |
| 2326 |
int msgssz ; |
|
2326 |
int msgssz ; |
| 2327 |
int msgtql ; |
|
2327 |
int msgtql ; |
| 2328 |
unsigned short msgseg ; |
|
2328 |
unsigned short msgseg ; |
| 2329 |
}; |
|
2329 |
}; |
| 2330 |
struct vki_shmid_ds { |
|
2330 |
struct vki_shmid_ds { |
| 2331 |
struct vki_ipc_perm shm_perm ; |
|
2331 |
struct vki_ipc_perm shm_perm ; |
| 2332 |
int shm_segsz ; |
|
2332 |
int shm_segsz ; |
| 2333 |
__vki_kernel_time_t shm_atime ; |
|
2333 |
__vki_kernel_time_t shm_atime ; |
| 2334 |
__vki_kernel_time_t shm_dtime ; |
|
2334 |
__vki_kernel_time_t shm_dtime ; |
| 2335 |
__vki_kernel_time_t shm_ctime ; |
|
2335 |
__vki_kernel_time_t shm_ctime ; |
| 2336 |
__vki_kernel_ipc_pid_t shm_cpid ; |
|
2336 |
__vki_kernel_ipc_pid_t shm_cpid ; |
| 2337 |
__vki_kernel_ipc_pid_t shm_lpid ; |
|
2337 |
__vki_kernel_ipc_pid_t shm_lpid ; |
| 2338 |
unsigned short shm_nattch ; |
|
2338 |
unsigned short shm_nattch ; |
| 2339 |
unsigned short shm_unused ; |
|
2339 |
unsigned short shm_unused ; |
| 2340 |
void *shm_unused2 ; |
|
2340 |
void *shm_unused2 ; |
| 2341 |
void *shm_unused3 ; |
|
2341 |
void *shm_unused3 ; |
| 2342 |
}; |
|
2342 |
}; |
| 2343 |
struct vki_shminfo { |
|
2343 |
struct vki_shminfo { |
| 2344 |
int shmmax ; |
|
2344 |
int shmmax ; |
| 2345 |
int shmmin ; |
|
2345 |
int shmmin ; |
| 2346 |
int shmmni ; |
|
2346 |
int shmmni ; |
| 2347 |
int shmseg ; |
|
2347 |
int shmseg ; |
| 2348 |
int shmall ; |
|
2348 |
int shmall ; |
| 2349 |
}; |
|
2349 |
}; |
| 2350 |
struct vki_shm_info { |
|
2350 |
struct vki_shm_info { |
| 2351 |
int used_ids ; |
|
2351 |
int used_ids ; |
| 2352 |
unsigned long shm_tot ; |
|
2352 |
unsigned long shm_tot ; |
| 2353 |
unsigned long shm_rss ; |
|
2353 |
unsigned long shm_rss ; |
| 2354 |
unsigned long shm_swp ; |
|
2354 |
unsigned long shm_swp ; |
| 2355 |
unsigned long swap_attempts ; |
|
2355 |
unsigned long swap_attempts ; |
| 2356 |
unsigned long swap_successes ; |
|
2356 |
unsigned long swap_successes ; |
| 2357 |
}; |
|
2357 |
}; |
| 2358 |
struct vki_rtc_time { |
|
2358 |
struct vki_rtc_time { |
| 2359 |
int tm_sec ; |
|
2359 |
int tm_sec ; |
| 2360 |
int tm_min ; |
|
2360 |
int tm_min ; |
| 2361 |
int tm_hour ; |
|
2361 |
int tm_hour ; |
| 2362 |
int tm_mday ; |
|
2362 |
int tm_mday ; |
| 2363 |
int tm_mon ; |
|
2363 |
int tm_mon ; |
| 2364 |
int tm_year ; |
|
2364 |
int tm_year ; |
| 2365 |
int tm_wday ; |
|
2365 |
int tm_wday ; |
| 2366 |
int tm_yday ; |
|
2366 |
int tm_yday ; |
| 2367 |
int tm_isdst ; |
|
2367 |
int tm_isdst ; |
| 2368 |
}; |
|
2368 |
}; |
| 2369 |
struct __anonstruct_vki_isdn_net_ioctl_phone_91 { |
|
2369 |
struct __anonstruct_vki_isdn_net_ioctl_phone_91 { |
| 2370 |
char name[10] ; |
|
2370 |
char name[10] ; |
| 2371 |
char phone[32] ; |
|
2371 |
char phone[32] ; |
| 2372 |
int outgoing ; |
|
2372 |
int outgoing ; |
| 2373 |
}; |
|
2373 |
}; |
| 2374 |
typedef struct __anonstruct_vki_isdn_net_ioctl_phone_91 vki_isdn_net_ioctl_phone; |
|
2374 |
typedef struct __anonstruct_vki_isdn_net_ioctl_phone_91 vki_isdn_net_ioctl_phone; |
| 2375 |
struct vki_ppdev_frob_struct { |
|
2375 |
struct vki_ppdev_frob_struct { |
| 2376 |
unsigned char mask ; |
|
2376 |
unsigned char mask ; |
| 2377 |
unsigned char val ; |
|
2377 |
unsigned char val ; |
| 2378 |
}; |
|
2378 |
}; |
| 2379 |
struct vki_sg_io_hdr { |
|
2379 |
struct vki_sg_io_hdr { |
| 2380 |
int interface_id ; |
|
2380 |
int interface_id ; |
| 2381 |
int dxfer_direction ; |
|
2381 |
int dxfer_direction ; |
| 2382 |
unsigned char cmd_len ; |
|
2382 |
unsigned char cmd_len ; |
| 2383 |
unsigned char mx_sb_len ; |
|
2383 |
unsigned char mx_sb_len ; |
| 2384 |
unsigned short iovec_count ; |
|
2384 |
unsigned short iovec_count ; |
| 2385 |
unsigned int dxfer_len ; |
|
2385 |
unsigned int dxfer_len ; |
| 2386 |
void *dxferp ; |
|
2386 |
void *dxferp ; |
| 2387 |
unsigned char *cmdp ; |
|
2387 |
unsigned char *cmdp ; |
| 2388 |
void *sbp ; |
|
2388 |
void *sbp ; |
| 2389 |
unsigned int timeout ; |
|
2389 |
unsigned int timeout ; |
| 2390 |
unsigned int flags ; |
|
2390 |
unsigned int flags ; |
| 2391 |
int pack_id ; |
|
2391 |
int pack_id ; |
| 2392 |
void *usr_ptr ; |
|
2392 |
void *usr_ptr ; |
| 2393 |
unsigned char status ; |
|
2393 |
unsigned char status ; |
| 2394 |
unsigned char masked_status ; |
|
2394 |
unsigned char masked_status ; |
| 2395 |
unsigned char msg_status ; |
|
2395 |
unsigned char msg_status ; |
| 2396 |
unsigned char sb_len_wr ; |
|
2396 |
unsigned char sb_len_wr ; |
| 2397 |
unsigned short host_status ; |
|
2397 |
unsigned short host_status ; |
| 2398 |
unsigned short driver_status ; |
|
2398 |
unsigned short driver_status ; |
| 2399 |
int resid ; |
|
2399 |
int resid ; |
| 2400 |
unsigned int duration ; |
|
2400 |
unsigned int duration ; |
| 2401 |
unsigned int info ; |
|
2401 |
unsigned int info ; |
| 2402 |
}; |
|
2402 |
}; |
| 2403 |
typedef struct vki_sg_io_hdr vki_sg_io_hdr_t; |
|
2403 |
typedef struct vki_sg_io_hdr vki_sg_io_hdr_t; |
| 2404 |
struct vki_sg_scsi_id { |
|
2404 |
struct vki_sg_scsi_id { |
| 2405 |
int host_no ; |
|
2405 |
int host_no ; |
| 2406 |
int channel ; |
|
2406 |
int channel ; |
| 2407 |
int scsi_id ; |
|
2407 |
int scsi_id ; |
| 2408 |
int lun ; |
|
2408 |
int lun ; |
| 2409 |
int scsi_type ; |
|
2409 |
int scsi_type ; |
| 2410 |
short h_cmd_per_lun ; |
|
2410 |
short h_cmd_per_lun ; |
| 2411 |
short d_queue_depth ; |
|
2411 |
short d_queue_depth ; |
| 2412 |
int unused[2] ; |
|
2412 |
int unused[2] ; |
| 2413 |
}; |
|
2413 |
}; |
| 2414 |
typedef struct vki_sg_scsi_id vki_sg_scsi_id_t; |
|
2414 |
typedef struct vki_sg_scsi_id vki_sg_scsi_id_t; |
| 2415 |
struct vki_cdrom_msf0 { |
|
2415 |
struct vki_cdrom_msf0 { |
| 2416 |
__vki_u8 minute ; |
|
2416 |
__vki_u8 minute ; |
| 2417 |
__vki_u8 second ; |
|
2417 |
__vki_u8 second ; |
| 2418 |
__vki_u8 frame ; |
|
2418 |
__vki_u8 frame ; |
| 2419 |
}; |
|
2419 |
}; |
| 2420 |
union vki_cdrom_addr { |
|
2420 |
union vki_cdrom_addr { |
| 2421 |
struct vki_cdrom_msf0 msf ; |
|
2421 |
struct vki_cdrom_msf0 msf ; |
| 2422 |
int lba ; |
|
2422 |
int lba ; |
| 2423 |
}; |
|
2423 |
}; |
| 2424 |
struct vki_cdrom_msf { |
|
2424 |
struct vki_cdrom_msf { |
| 2425 |
__vki_u8 cdmsf_min0 ; |
|
2425 |
__vki_u8 cdmsf_min0 ; |
| 2426 |
__vki_u8 cdmsf_sec0 ; |
|
2426 |
__vki_u8 cdmsf_sec0 ; |
| 2427 |
__vki_u8 cdmsf_frame0 ; |
|
2427 |
__vki_u8 cdmsf_frame0 ; |
| 2428 |
__vki_u8 cdmsf_min1 ; |
|
2428 |
__vki_u8 cdmsf_min1 ; |
| 2429 |
__vki_u8 cdmsf_sec1 ; |
|
2429 |
__vki_u8 cdmsf_sec1 ; |
| 2430 |
__vki_u8 cdmsf_frame1 ; |
|
2430 |
__vki_u8 cdmsf_frame1 ; |
| 2431 |
}; |
|
2431 |
}; |
| 2432 |
struct vki_cdrom_tochdr { |
|
2432 |
struct vki_cdrom_tochdr { |
| 2433 |
__vki_u8 cdth_trk0 ; |
|
2433 |
__vki_u8 cdth_trk0 ; |
| 2434 |
__vki_u8 cdth_trk1 ; |
|
2434 |
__vki_u8 cdth_trk1 ; |
| 2435 |
}; |
|
2435 |
}; |
| 2436 |
struct vki_cdrom_volctrl { |
|
2436 |
struct vki_cdrom_volctrl { |
| 2437 |
__vki_u8 channel0 ; |
|
2437 |
__vki_u8 channel0 ; |
| 2438 |
__vki_u8 channel1 ; |
|
2438 |
__vki_u8 channel1 ; |
| 2439 |
__vki_u8 channel2 ; |
|
2439 |
__vki_u8 channel2 ; |
| 2440 |
__vki_u8 channel3 ; |
|
2440 |
__vki_u8 channel3 ; |
| 2441 |
}; |
|
2441 |
}; |
| 2442 |
struct vki_cdrom_subchnl { |
|
2442 |
struct vki_cdrom_subchnl { |
| 2443 |
__vki_u8 cdsc_format ; |
|
2443 |
__vki_u8 cdsc_format ; |
| 2444 |
__vki_u8 cdsc_audiostatus ; |
|
2444 |
__vki_u8 cdsc_audiostatus ; |
| 2445 |
__vki_u8 cdsc_adr : 4 ; |
|
2445 |
__vki_u8 cdsc_adr : 4 ; |
| 2446 |
__vki_u8 cdsc_ctrl : 4 ; |
|
2446 |
__vki_u8 cdsc_ctrl : 4 ; |
| 2447 |
__vki_u8 cdsc_trk ; |
|
2447 |
__vki_u8 cdsc_trk ; |
| 2448 |
__vki_u8 cdsc_ind ; |
|
2448 |
__vki_u8 cdsc_ind ; |
| 2449 |
union vki_cdrom_addr cdsc_absaddr ; |
|
2449 |
union vki_cdrom_addr cdsc_absaddr ; |
| 2450 |
union vki_cdrom_addr cdsc_reladdr ; |
|
2450 |
union vki_cdrom_addr cdsc_reladdr ; |
| 2451 |
}; |
|
2451 |
}; |
| 2452 |
struct vki_cdrom_tocentry { |
|
2452 |
struct vki_cdrom_tocentry { |
| 2453 |
__vki_u8 cdte_track ; |
|
2453 |
__vki_u8 cdte_track ; |
| 2454 |
__vki_u8 cdte_adr : 4 ; |
|
2454 |
__vki_u8 cdte_adr : 4 ; |
| 2455 |
__vki_u8 cdte_ctrl : 4 ; |
|
2455 |
__vki_u8 cdte_ctrl : 4 ; |
| 2456 |
__vki_u8 cdte_format ; |
|
2456 |
__vki_u8 cdte_format ; |
| 2457 |
union vki_cdrom_addr cdte_addr ; |
|
2457 |
union vki_cdrom_addr cdte_addr ; |
| 2458 |
__vki_u8 cdte_datamode ; |
|
2458 |
__vki_u8 cdte_datamode ; |
| 2459 |
}; |
|
2459 |
}; |
| 2460 |
struct vki_cdrom_read { |
|
2460 |
struct vki_cdrom_read { |
| 2461 |
int cdread_lba ; |
|
2461 |
int cdread_lba ; |
| 2462 |
char *cdread_bufaddr ; |
|
2462 |
char *cdread_bufaddr ; |
| 2463 |
int cdread_buflen ; |
|
2463 |
int cdread_buflen ; |
| 2464 |
}; |
|
2464 |
}; |
| 2465 |
struct vki_cdrom_read_audio { |
|
2465 |
struct vki_cdrom_read_audio { |
| 2466 |
union vki_cdrom_addr addr ; |
|
2466 |
union vki_cdrom_addr addr ; |
| 2467 |
__vki_u8 addr_format ; |
|
2467 |
__vki_u8 addr_format ; |
| 2468 |
int nframes ; |
|
2468 |
int nframes ; |
| 2469 |
__vki_u8 *buf ; |
|
2469 |
__vki_u8 *buf ; |
| 2470 |
}; |
|
2470 |
}; |
| 2471 |
struct vki_cdrom_multisession { |
|
2471 |
struct vki_cdrom_multisession { |
| 2472 |
union vki_cdrom_addr addr ; |
|
2472 |
union vki_cdrom_addr addr ; |
| 2473 |
__vki_u8 xa_flag ; |
|
2473 |
__vki_u8 xa_flag ; |
| 2474 |
__vki_u8 addr_format ; |
|
2474 |
__vki_u8 addr_format ; |
| 2475 |
}; |
|
2475 |
}; |
| 2476 |
struct vki_cdrom_mcn { |
|
2476 |
struct vki_cdrom_mcn { |
| 2477 |
__vki_u8 medium_catalog_number[14] ; |
|
2477 |
__vki_u8 medium_catalog_number[14] ; |
| 2478 |
}; |
|
2478 |
}; |
| 2479 |
struct vki_cdrom_generic_command { |
|
2479 |
struct vki_cdrom_generic_command { |
| 2480 |
unsigned char cmd[12] ; |
|
2480 |
unsigned char cmd[12] ; |
| 2481 |
unsigned char *buffer ; |
|
2481 |
unsigned char *buffer ; |
| 2482 |
unsigned int buflen ; |
|
2482 |
unsigned int buflen ; |
| 2483 |
int stat ; |
|
2483 |
int stat ; |
| 2484 |
void *sense ; |
|
2484 |
void *sense ; |
| 2485 |
unsigned char data_direction ; |
|
2485 |
unsigned char data_direction ; |
| 2486 |
int quiet ; |
|
2486 |
int quiet ; |
| 2487 |
int timeout ; |
|
2487 |
int timeout ; |
| 2488 |
void *reserved[1] ; |
|
2488 |
void *reserved[1] ; |
| 2489 |
}; |
|
2489 |
}; |
| 2490 |
struct vki_audio_buf_info { |
|
2490 |
struct vki_audio_buf_info { |
| 2491 |
int fragments ; |
|
2491 |
int fragments ; |
| 2492 |
int fragstotal ; |
|
2492 |
int fragstotal ; |
| 2493 |
int fragsize ; |
|
2493 |
int fragsize ; |
| 2494 |
int bytes ; |
|
2494 |
int bytes ; |
| 2495 |
}; |
|
2495 |
}; |
| 2496 |
typedef struct vki_audio_buf_info vki_audio_buf_info; |
|
2496 |
typedef struct vki_audio_buf_info vki_audio_buf_info; |
| 2497 |
struct vki_hd_geometry { |
|
2497 |
struct vki_hd_geometry { |
| 2498 |
unsigned char heads ; |
|
2498 |
unsigned char heads ; |
| 2499 |
unsigned char sectors ; |
|
2499 |
unsigned char sectors ; |
| 2500 |
unsigned short cylinders ; |
|
2500 |
unsigned short cylinders ; |
| 2501 |
unsigned long start ; |
|
2501 |
unsigned long start ; |
| 2502 |
}; |
|
2502 |
}; |
| 2503 |
struct vki_fb_fix_screeninfo { |
|
2503 |
struct vki_fb_fix_screeninfo { |
| 2504 |
char id[16] ; |
|
2504 |
char id[16] ; |
| 2505 |
unsigned long smem_start ; |
|
2505 |
unsigned long smem_start ; |
| 2506 |
__vki_u32 smem_len ; |
|
2506 |
__vki_u32 smem_len ; |
| 2507 |
__vki_u32 type ; |
|
2507 |
__vki_u32 type ; |
| 2508 |
__vki_u32 type_aux ; |
|
2508 |
__vki_u32 type_aux ; |
| 2509 |
__vki_u32 visual ; |
|
2509 |
__vki_u32 visual ; |
| 2510 |
__vki_u16 xpanstep ; |
|
2510 |
__vki_u16 xpanstep ; |
| 2511 |
__vki_u16 ypanstep ; |
|
2511 |
__vki_u16 ypanstep ; |
| 2512 |
__vki_u16 ywrapstep ; |
|
2512 |
__vki_u16 ywrapstep ; |
| 2513 |
__vki_u32 line_length ; |
|
2513 |
__vki_u32 line_length ; |
| 2514 |
unsigned long mmio_start ; |
|
2514 |
unsigned long mmio_start ; |
| 2515 |
__vki_u32 mmio_len ; |
|
2515 |
__vki_u32 mmio_len ; |
| 2516 |
__vki_u32 accel ; |
|
2516 |
__vki_u32 accel ; |
| 2517 |
__vki_u16 reserved[3] ; |
|
2517 |
__vki_u16 reserved[3] ; |
| 2518 |
}; |
|
2518 |
}; |
| 2519 |
struct vki_fb_bitfield { |
|
2519 |
struct vki_fb_bitfield { |
| 2520 |
__vki_u32 offset ; |
|
2520 |
__vki_u32 offset ; |
| 2521 |
__vki_u32 length ; |
|
2521 |
__vki_u32 length ; |
| 2522 |
__vki_u32 msb_right ; |
|
2522 |
__vki_u32 msb_right ; |
| 2523 |
}; |
|
2523 |
}; |
| 2524 |
struct vki_fb_var_screeninfo { |
|
2524 |
struct vki_fb_var_screeninfo { |
| 2525 |
__vki_u32 xres ; |
|
2525 |
__vki_u32 xres ; |
| 2526 |
__vki_u32 yres ; |
|
2526 |
__vki_u32 yres ; |
| 2527 |
__vki_u32 xres_virtual ; |
|
2527 |
__vki_u32 xres_virtual ; |
| 2528 |
__vki_u32 yres_virtual ; |
|
2528 |
__vki_u32 yres_virtual ; |
| 2529 |
__vki_u32 xoffset ; |
|
2529 |
__vki_u32 xoffset ; |
| 2530 |
__vki_u32 yoffset ; |
|
2530 |
__vki_u32 yoffset ; |
| 2531 |
__vki_u32 bits_per_pixel ; |
|
2531 |
__vki_u32 bits_per_pixel ; |
| 2532 |
__vki_u32 grayscale ; |
|
2532 |
__vki_u32 grayscale ; |
| 2533 |
struct vki_fb_bitfield red ; |
|
2533 |
struct vki_fb_bitfield red ; |
| 2534 |
struct vki_fb_bitfield green ; |
|
2534 |
struct vki_fb_bitfield green ; |
| 2535 |
struct vki_fb_bitfield blue ; |
|
2535 |
struct vki_fb_bitfield blue ; |
| 2536 |
struct vki_fb_bitfield transp ; |
|
2536 |
struct vki_fb_bitfield transp ; |
| 2537 |
__vki_u32 nonstd ; |
|
2537 |
__vki_u32 nonstd ; |
| 2538 |
__vki_u32 activate ; |
|
2538 |
__vki_u32 activate ; |
| 2539 |
__vki_u32 height ; |
|
2539 |
__vki_u32 height ; |
| 2540 |
__vki_u32 width ; |
|
2540 |
__vki_u32 width ; |
| 2541 |
__vki_u32 accel_flags ; |
|
2541 |
__vki_u32 accel_flags ; |
| 2542 |
__vki_u32 pixclock ; |
|
2542 |
__vki_u32 pixclock ; |
| 2543 |
__vki_u32 left_margin ; |
|
2543 |
__vki_u32 left_margin ; |
| 2544 |
__vki_u32 right_margin ; |
|
2544 |
__vki_u32 right_margin ; |
| 2545 |
__vki_u32 upper_margin ; |
|
2545 |
__vki_u32 upper_margin ; |
| 2546 |
__vki_u32 lower_margin ; |
|
2546 |
__vki_u32 lower_margin ; |
| 2547 |
__vki_u32 hsync_len ; |
|
2547 |
__vki_u32 hsync_len ; |
| 2548 |
__vki_u32 vsync_len ; |
|
2548 |
__vki_u32 vsync_len ; |
| 2549 |
__vki_u32 sync ; |
|
2549 |
__vki_u32 sync ; |
| 2550 |
__vki_u32 vmode ; |
|
2550 |
__vki_u32 vmode ; |
| 2551 |
__vki_u32 rotate ; |
|
2551 |
__vki_u32 rotate ; |
| 2552 |
__vki_u32 reserved[5] ; |
|
2552 |
__vki_u32 reserved[5] ; |
| 2553 |
}; |
|
2553 |
}; |
| 2554 |
struct vki_consolefontdesc { |
|
2554 |
struct vki_consolefontdesc { |
| 2555 |
unsigned short charcount ; |
|
2555 |
unsigned short charcount ; |
| 2556 |
unsigned short charheight ; |
|
2556 |
unsigned short charheight ; |
| 2557 |
char *chardata ; |
|
2557 |
char *chardata ; |
| 2558 |
}; |
|
2558 |
}; |
| 2559 |
struct vki_unipair { |
|
2559 |
struct vki_unipair { |
| 2560 |
unsigned short unicode ; |
|
2560 |
unsigned short unicode ; |
| 2561 |
unsigned short fontpos ; |
|
2561 |
unsigned short fontpos ; |
| 2562 |
}; |
|
2562 |
}; |
| 2563 |
struct vki_unimapdesc { |
|
2563 |
struct vki_unimapdesc { |
| 2564 |
unsigned short entry_ct ; |
|
2564 |
unsigned short entry_ct ; |
| 2565 |
struct vki_unipair *entries ; |
|
2565 |
struct vki_unipair *entries ; |
| 2566 |
}; |
|
2566 |
}; |
| 2567 |
struct vki_unimapinit { |
|
2567 |
struct vki_unimapinit { |
| 2568 |
unsigned short advised_hashsize ; |
|
2568 |
unsigned short advised_hashsize ; |
| 2569 |
unsigned short advised_hashstep ; |
|
2569 |
unsigned short advised_hashstep ; |
| 2570 |
unsigned short advised_hashlevel ; |
|
2570 |
unsigned short advised_hashlevel ; |
| 2571 |
}; |
|
2571 |
}; |
| 2572 |
struct vki_kbentry { |
|
2572 |
struct vki_kbentry { |
| 2573 |
unsigned char kb_table ; |
|
2573 |
unsigned char kb_table ; |
| 2574 |
unsigned char kb_index ; |
|
2574 |
unsigned char kb_index ; |
| 2575 |
unsigned short kb_value ; |
|
2575 |
unsigned short kb_value ; |
| 2576 |
}; |
|
2576 |
}; |
| 2577 |
struct vki_kbsentry { |
|
2577 |
struct vki_kbsentry { |
| 2578 |
unsigned char kb_func ; |
|
2578 |
unsigned char kb_func ; |
| 2579 |
unsigned char kb_string[512] ; |
|
2579 |
unsigned char kb_string[512] ; |
| 2580 |
}; |
|
2580 |
}; |
| 2581 |
struct vki_kbdiacr { |
|
2581 |
struct vki_kbdiacr { |
| 2582 |
unsigned char diacr ; |
|
2582 |
unsigned char diacr ; |
| 2583 |
unsigned char base ; |
|
2583 |
unsigned char base ; |
| 2584 |
unsigned char result ; |
|
2584 |
unsigned char result ; |
| 2585 |
}; |
|
2585 |
}; |
| 2586 |
struct vki_kbdiacrs { |
|
2586 |
struct vki_kbdiacrs { |
| 2587 |
unsigned int kb_cnt ; |
|
2587 |
unsigned int kb_cnt ; |
| 2588 |
struct vki_kbdiacr kbdiacr[256] ; |
|
2588 |
struct vki_kbdiacr kbdiacr[256] ; |
| 2589 |
}; |
|
2589 |
}; |
| 2590 |
struct vki_kbkeycode { |
|
2590 |
struct vki_kbkeycode { |
| 2591 |
unsigned int scancode ; |
|
2591 |
unsigned int scancode ; |
| 2592 |
unsigned int keycode ; |
|
2592 |
unsigned int keycode ; |
| 2593 |
}; |
|
2593 |
}; |
| 2594 |
struct vki_kbd_repeat { |
|
2594 |
struct vki_kbd_repeat { |
| 2595 |
int delay ; |
|
2595 |
int delay ; |
| 2596 |
int period ; |
|
2596 |
int period ; |
| 2597 |
}; |
|
2597 |
}; |
| 2598 |
struct vki_console_font_op { |
|
2598 |
struct vki_console_font_op { |
| 2599 |
unsigned int op ; |
|
2599 |
unsigned int op ; |
| 2600 |
unsigned int flags ; |
|
2600 |
unsigned int flags ; |
| 2601 |
unsigned int width ; |
|
2601 |
unsigned int width ; |
| 2602 |
unsigned int height ; |
|
2602 |
unsigned int height ; |
| 2603 |
unsigned int charcount ; |
|
2603 |
unsigned int charcount ; |
| 2604 |
unsigned char *data ; |
|
2604 |
unsigned char *data ; |
| 2605 |
}; |
|
2605 |
}; |
| 2606 |
typedef __vki_kernel_uid32_t vki_qid_t; |
|
2606 |
typedef __vki_kernel_uid32_t vki_qid_t; |
| 2607 |
struct __anonstruct_93 { |
|
2607 |
struct __anonstruct_93 { |
| 2608 |
int : 0 ; |
|
2608 |
int : 0 ; |
| 2609 |
}; |
|
2609 |
}; |
| 2610 |
struct __anonstruct_94 { |
|
2610 |
struct __anonstruct_94 { |
| 2611 |
int : 0 ; |
|
2611 |
int : 0 ; |
| 2612 |
}; |
|
2612 |
}; |
| 2613 |
enum __anonenum_92 { |
|
2613 |
enum __anonenum_92 { |
| 2614 |
VKI_SNDRV_PCM_IOCTL_HW_FREE = 16658, |
|
2614 |
VKI_SNDRV_PCM_IOCTL_HW_FREE = 16658, |
| 2615 |
VKI_SNDRV_PCM_IOCTL_HWSYNC = 16674, |
|
2615 |
VKI_SNDRV_PCM_IOCTL_HWSYNC = 16674, |
| 2616 |
VKI_SNDRV_PCM_IOCTL_PREPARE = 16704, |
|
2616 |
VKI_SNDRV_PCM_IOCTL_PREPARE = 16704, |
| 2617 |
VKI_SNDRV_PCM_IOCTL_RESET = 16705, |
|
2617 |
VKI_SNDRV_PCM_IOCTL_RESET = 16705, |
| 2618 |
VKI_SNDRV_PCM_IOCTL_START = 16706, |
|
2618 |
VKI_SNDRV_PCM_IOCTL_START = 16706, |
| 2619 |
VKI_SNDRV_PCM_IOCTL_DROP = 16707, |
|
2619 |
VKI_SNDRV_PCM_IOCTL_DROP = 16707, |
| 2620 |
VKI_SNDRV_PCM_IOCTL_DRAIN = 16708, |
|
2620 |
VKI_SNDRV_PCM_IOCTL_DRAIN = 16708, |
| 2621 |
VKI_SNDRV_PCM_IOCTL_PAUSE = 1074020677, |
|
2621 |
VKI_SNDRV_PCM_IOCTL_PAUSE = 1074020677, |
| 2622 |
VKI_SNDRV_PCM_IOCTL_RESUME = 16711, |
|
2622 |
VKI_SNDRV_PCM_IOCTL_RESUME = 16711, |
| 2623 |
VKI_SNDRV_PCM_IOCTL_XRUN = 16712, |
|
2623 |
VKI_SNDRV_PCM_IOCTL_XRUN = 16712, |
| 2624 |
VKI_SNDRV_PCM_IOCTL_LINK = 1074020704, |
|
2624 |
VKI_SNDRV_PCM_IOCTL_LINK = 1074020704, |
| 2625 |
VKI_SNDRV_PCM_IOCTL_UNLINK = 16737 |
|
2625 |
VKI_SNDRV_PCM_IOCTL_UNLINK = 16737 |
| 2626 |
} ; |
|
2626 |
} ; |
| 2627 |
enum __anonenum_95 { |
|
2627 |
enum __anonenum_95 { |
| 2628 |
VKI_SNDRV_TIMER_IOCTL_START = 21664, |
|
2628 |
VKI_SNDRV_TIMER_IOCTL_START = 21664, |
| 2629 |
VKI_SNDRV_TIMER_IOCTL_STOP = 21665, |
|
2629 |
VKI_SNDRV_TIMER_IOCTL_STOP = 21665, |
| 2630 |
VKI_SNDRV_TIMER_IOCTL_CONTINUE = 21666, |
|
2630 |
VKI_SNDRV_TIMER_IOCTL_CONTINUE = 21666, |
| 2631 |
VKI_SNDRV_TIMER_IOCTL_PAUSE = 21667 |
|
2631 |
VKI_SNDRV_TIMER_IOCTL_PAUSE = 21667 |
| 2632 |
} ; |
|
2632 |
} ; |
| 2633 |
struct vki_serial_icounter_struct { |
|
2633 |
struct vki_serial_icounter_struct { |
| 2634 |
int cts ; |
|
2634 |
int cts ; |
| 2635 |
int dsr ; |
|
2635 |
int dsr ; |
| 2636 |
int rng ; |
|
2636 |
int rng ; |
| 2637 |
int dcd ; |
|
2637 |
int dcd ; |
| 2638 |
int rx ; |
|
2638 |
int rx ; |
| 2639 |
int tx ; |
|
2639 |
int tx ; |
| 2640 |
int frame ; |
|
2640 |
int frame ; |
| 2641 |
int overrun ; |
|
2641 |
int overrun ; |
| 2642 |
int parity ; |
|
2642 |
int parity ; |
| 2643 |
int brk ; |
|
2643 |
int brk ; |
| 2644 |
int buf_overrun ; |
|
2644 |
int buf_overrun ; |
| 2645 |
int reserved[9] ; |
|
2645 |
int reserved[9] ; |
| 2646 |
}; |
|
2646 |
}; |
| 2647 |
struct vki_vt_mode { |
|
2647 |
struct vki_vt_mode { |
| 2648 |
char mode ; |
|
2648 |
char mode ; |
| 2649 |
char waitv ; |
|
2649 |
char waitv ; |
| 2650 |
short relsig ; |
|
2650 |
short relsig ; |
| 2651 |
short acqsig ; |
|
2651 |
short acqsig ; |
| 2652 |
short frsig ; |
|
2652 |
short frsig ; |
| 2653 |
}; |
|
2653 |
}; |
| 2654 |
struct vki_vt_stat { |
|
2654 |
struct vki_vt_stat { |
| 2655 |
unsigned short v_active ; |
|
2655 |
unsigned short v_active ; |
| 2656 |
unsigned short v_signal ; |
|
2656 |
unsigned short v_signal ; |
| 2657 |
unsigned short v_state ; |
|
2657 |
unsigned short v_state ; |
| 2658 |
}; |
|
2658 |
}; |
| 2659 |
struct vki_vt_sizes { |
|
2659 |
struct vki_vt_sizes { |
| 2660 |
unsigned short v_rows ; |
|
2660 |
unsigned short v_rows ; |
| 2661 |
unsigned short v_cols ; |
|
2661 |
unsigned short v_cols ; |
| 2662 |
unsigned short v_scrollsize ; |
|
2662 |
unsigned short v_scrollsize ; |
| 2663 |
}; |
|
2663 |
}; |
| 2664 |
struct vki_vt_consize { |
|
2664 |
struct vki_vt_consize { |
| 2665 |
unsigned short v_rows ; |
|
2665 |
unsigned short v_rows ; |
| 2666 |
unsigned short v_cols ; |
|
2666 |
unsigned short v_cols ; |
| 2667 |
unsigned short v_vlin ; |
|
2667 |
unsigned short v_vlin ; |
| 2668 |
unsigned short v_clin ; |
|
2668 |
unsigned short v_clin ; |
| 2669 |
unsigned short v_vcol ; |
|
2669 |
unsigned short v_vcol ; |
| 2670 |
unsigned short v_ccol ; |
|
2670 |
unsigned short v_ccol ; |
| 2671 |
}; |
|
2671 |
}; |
| 2672 |
struct vki_usbdevfs_ctrltransfer { |
|
2672 |
struct vki_usbdevfs_ctrltransfer { |
| 2673 |
__vki_u8 bRequestType ; |
|
2673 |
__vki_u8 bRequestType ; |
| 2674 |
__vki_u8 bRequest ; |
|
2674 |
__vki_u8 bRequest ; |
| 2675 |
__vki_u16 wValue ; |
|
2675 |
__vki_u16 wValue ; |
| 2676 |
__vki_u16 wIndex ; |
|
2676 |
__vki_u16 wIndex ; |
| 2677 |
__vki_u16 wLength ; |
|
2677 |
__vki_u16 wLength ; |
| 2678 |
__vki_u32 timeout ; |
|
2678 |
__vki_u32 timeout ; |
| 2679 |
void *data ; |
|
2679 |
void *data ; |
| 2680 |
}; |
|
2680 |
}; |
| 2681 |
struct vki_usbdevfs_bulktransfer { |
|
2681 |
struct vki_usbdevfs_bulktransfer { |
| 2682 |
unsigned int ep ; |
|
2682 |
unsigned int ep ; |
| 2683 |
unsigned int len ; |
|
2683 |
unsigned int len ; |
| 2684 |
unsigned int timeout ; |
|
2684 |
unsigned int timeout ; |
| 2685 |
void *data ; |
|
2685 |
void *data ; |
| 2686 |
}; |
|
2686 |
}; |
| 2687 |
struct vki_usbdevfs_getdriver { |
|
2687 |
struct vki_usbdevfs_getdriver { |
| 2688 |
unsigned int interface ; |
|
2688 |
unsigned int interface ; |
| 2689 |
char driver[256] ; |
|
2689 |
char driver[256] ; |
| 2690 |
}; |
|
2690 |
}; |
| 2691 |
struct vki_usbdevfs_connectinfo { |
|
2691 |
struct vki_usbdevfs_connectinfo { |
| 2692 |
unsigned int devnum ; |
|
2692 |
unsigned int devnum ; |
| 2693 |
unsigned char slow ; |
|
2693 |
unsigned char slow ; |
| 2694 |
}; |
|
2694 |
}; |
| 2695 |
struct vki_usbdevfs_iso_packet_desc { |
|
2695 |
struct vki_usbdevfs_iso_packet_desc { |
| 2696 |
unsigned int length ; |
|
2696 |
unsigned int length ; |
| 2697 |
unsigned int actual_length ; |
|
2697 |
unsigned int actual_length ; |
| 2698 |
unsigned int status ; |
|
2698 |
unsigned int status ; |
| 2699 |
}; |
|
2699 |
}; |
| 2700 |
struct vki_usbdevfs_urb { |
|
2700 |
struct vki_usbdevfs_urb { |
| 2701 |
unsigned char type ; |
|
2701 |
unsigned char type ; |
| 2702 |
unsigned char endpoint ; |
|
2702 |
unsigned char endpoint ; |
| 2703 |
int status ; |
|
2703 |
int status ; |
| 2704 |
unsigned int flags ; |
|
2704 |
unsigned int flags ; |
| 2705 |
void *buffer ; |
|
2705 |
void *buffer ; |
| 2706 |
int buffer_length ; |
|
2706 |
int buffer_length ; |
| 2707 |
int actual_length ; |
|
2707 |
int actual_length ; |
| 2708 |
int start_frame ; |
|
2708 |
int start_frame ; |
| 2709 |
int number_of_packets ; |
|
2709 |
int number_of_packets ; |
| 2710 |
int error_count ; |
|
2710 |
int error_count ; |
| 2711 |
unsigned int signr ; |
|
2711 |
unsigned int signr ; |
| 2712 |
void *usercontext ; |
|
2712 |
void *usercontext ; |
| 2713 |
struct vki_usbdevfs_iso_packet_desc iso_frame_desc[0] ; |
|
2713 |
struct vki_usbdevfs_iso_packet_desc iso_frame_desc[0] ; |
| 2714 |
}; |
|
2714 |
}; |
| 2715 |
struct vki_usbdevfs_ioctl { |
|
2715 |
struct vki_usbdevfs_ioctl { |
| 2716 |
int ifno ; |
|
2716 |
int ifno ; |
| 2717 |
int ioctl_code ; |
|
2717 |
int ioctl_code ; |
| 2718 |
void *data ; |
|
2718 |
void *data ; |
| 2719 |
}; |
|
2719 |
}; |
| 2720 |
struct vki_usbdevfs_setuppacket { |
|
2720 |
struct vki_usbdevfs_setuppacket { |
| 2721 |
__vki_u8 bRequestType ; |
|
2721 |
__vki_u8 bRequestType ; |
| 2722 |
__vki_u8 bRequest ; |
|
2722 |
__vki_u8 bRequest ; |
| 2723 |
__vki_u16 wValue ; |
|
2723 |
__vki_u16 wValue ; |
| 2724 |
__vki_u16 wIndex ; |
|
2724 |
__vki_u16 wIndex ; |
| 2725 |
__vki_u16 wLength ; |
|
2725 |
__vki_u16 wLength ; |
| 2726 |
}; |
|
2726 |
}; |
| 2727 |
typedef vki_int32_t vki_key_serial_t; |
|
2727 |
typedef vki_int32_t vki_key_serial_t; |
| 2728 |
typedef vki_uint32_t vki_key_perm_t; |
|
2728 |
typedef vki_uint32_t vki_key_perm_t; |
| 2729 |
struct vki_iw_param { |
|
2729 |
struct vki_iw_param { |
| 2730 |
__vki_s32 value ; |
|
2730 |
__vki_s32 value ; |
| 2731 |
__vki_u8 fixed ; |
|
2731 |
__vki_u8 fixed ; |
| 2732 |
__vki_u8 disabled ; |
|
2732 |
__vki_u8 disabled ; |
| 2733 |
__vki_u16 flags ; |
|
2733 |
__vki_u16 flags ; |
| 2734 |
}; |
|
2734 |
}; |
| 2735 |
struct vki_iw_point { |
|
2735 |
struct vki_iw_point { |
| 2736 |
void *pointer ; |
|
2736 |
void *pointer ; |
| 2737 |
__vki_u16 length ; |
|
2737 |
__vki_u16 length ; |
| 2738 |
__vki_u16 flags ; |
|
2738 |
__vki_u16 flags ; |
| 2739 |
}; |
|
2739 |
}; |
| 2740 |
struct vki_iw_freq { |
|
2740 |
struct vki_iw_freq { |
| 2741 |
__vki_s32 m ; |
|
2741 |
__vki_s32 m ; |
| 2742 |
__vki_s16 e ; |
|
2742 |
__vki_s16 e ; |
| 2743 |
__vki_u8 i ; |
|
2743 |
__vki_u8 i ; |
| 2744 |
__vki_u8 flags ; |
|
2744 |
__vki_u8 flags ; |
| 2745 |
}; |
|
2745 |
}; |
| 2746 |
struct vki_iw_quality { |
|
2746 |
struct vki_iw_quality { |
| 2747 |
__vki_u8 qual ; |
|
2747 |
__vki_u8 qual ; |
| 2748 |
__vki_u8 level ; |
|
2748 |
__vki_u8 level ; |
| 2749 |
__vki_u8 noise ; |
|
2749 |
__vki_u8 noise ; |
| 2750 |
__vki_u8 updated ; |
|
2750 |
__vki_u8 updated ; |
| 2751 |
}; |
|
2751 |
}; |
| 2752 |
union vki_iwreq_data { |
|
2752 |
union vki_iwreq_data { |
| 2753 |
char name[16] ; |
|
2753 |
char name[16] ; |
| 2754 |
struct vki_iw_point essid ; |
|
2754 |
struct vki_iw_point essid ; |
| 2755 |
struct vki_iw_param nwid ; |
|
2755 |
struct vki_iw_param nwid ; |
| 2756 |
struct vki_iw_freq freq ; |
|
2756 |
struct vki_iw_freq freq ; |
| 2757 |
struct vki_iw_param sens ; |
|
2757 |
struct vki_iw_param sens ; |
| 2758 |
struct vki_iw_param bitrate ; |
|
2758 |
struct vki_iw_param bitrate ; |
| 2759 |
struct vki_iw_param txpower ; |
|
2759 |
struct vki_iw_param txpower ; |
| 2760 |
struct vki_iw_param rts ; |
|
2760 |
struct vki_iw_param rts ; |
| 2761 |
struct vki_iw_param frag ; |
|
2761 |
struct vki_iw_param frag ; |
| 2762 |
__vki_u32 mode ; |
|
2762 |
__vki_u32 mode ; |
| 2763 |
struct vki_iw_param retry ; |
|
2763 |
struct vki_iw_param retry ; |
| 2764 |
struct vki_iw_point encoding ; |
|
2764 |
struct vki_iw_point encoding ; |
| 2765 |
struct vki_iw_param power ; |
|
2765 |
struct vki_iw_param power ; |
| 2766 |
struct vki_iw_quality qual ; |
|
2766 |
struct vki_iw_quality qual ; |
| 2767 |
struct vki_sockaddr ap_addr ; |
|
2767 |
struct vki_sockaddr ap_addr ; |
| 2768 |
struct vki_sockaddr addr ; |
|
2768 |
struct vki_sockaddr addr ; |
| 2769 |
struct vki_iw_param param ; |
|
2769 |
struct vki_iw_param param ; |
| 2770 |
struct vki_iw_point data ; |
|
2770 |
struct vki_iw_point data ; |
| 2771 |
}; |
|
2771 |
}; |
| 2772 |
union __anonunion_ifr_ifrn_96 { |
|
2772 |
union __anonunion_ifr_ifrn_96 { |
| 2773 |
char ifrn_name[16] ; |
|
2773 |
char ifrn_name[16] ; |
| 2774 |
}; |
|
2774 |
}; |
| 2775 |
struct vki_iwreq { |
|
2775 |
struct vki_iwreq { |
| 2776 |
union __anonunion_ifr_ifrn_96 ifr_ifrn ; |
|
2776 |
union __anonunion_ifr_ifrn_96 ifr_ifrn ; |
| 2777 |
union vki_iwreq_data u ; |
|
2777 |
union vki_iwreq_data u ; |
| 2778 |
}; |
|
2778 |
}; |
| 2779 |
union __anonunion____missing_field_name_97 { |
|
2779 |
union __anonunion____missing_field_name_97 { |
| 2780 |
__vki_u64 sample_period ; |
|
2780 |
__vki_u64 sample_period ; |
| 2781 |
__vki_u64 sample_freq ; |
|
2781 |
__vki_u64 sample_freq ; |
| 2782 |
}; |
|
2782 |
}; |
| 2783 |
union __anonunion____missing_field_name_98 { |
|
2783 |
union __anonunion____missing_field_name_98 { |
| 2784 |
__vki_u32 wakeup_events ; |
|
2784 |
__vki_u32 wakeup_events ; |
| 2785 |
__vki_u32 wakeup_watermark ; |
|
2785 |
__vki_u32 wakeup_watermark ; |
| 2786 |
}; |
|
2786 |
}; |
| 2787 |
union __anonunion____missing_field_name_99 { |
|
2787 |
union __anonunion____missing_field_name_99 { |
| 2788 |
__vki_u64 bp_addr ; |
|
2788 |
__vki_u64 bp_addr ; |
| 2789 |
__vki_u64 config1 ; |
|
2789 |
__vki_u64 config1 ; |
| 2790 |
}; |
|
2790 |
}; |
| 2791 |
union __anonunion____missing_field_name_100 { |
|
2791 |
union __anonunion____missing_field_name_100 { |
| 2792 |
__vki_u64 bp_len ; |
|
2792 |
__vki_u64 bp_len ; |
| 2793 |
__vki_u64 config2 ; |
|
2793 |
__vki_u64 config2 ; |
| 2794 |
}; |
|
2794 |
}; |
| 2795 |
struct vki_perf_event_attr { |
|
2795 |
struct vki_perf_event_attr { |
| 2796 |
__vki_u32 type ; |
|
2796 |
__vki_u32 type ; |
| 2797 |
__vki_u32 size ; |
|
2797 |
__vki_u32 size ; |
| 2798 |
__vki_u64 config ; |
|
2798 |
__vki_u64 config ; |
| 2799 |
union __anonunion____missing_field_name_97 __annonCompField1 ; |
|
2799 |
union __anonunion____missing_field_name_97 __annonCompField1 ; |
| 2800 |
__vki_u64 sample_type ; |
|
2800 |
__vki_u64 sample_type ; |
| 2801 |
__vki_u64 read_format ; |
|
2801 |
__vki_u64 read_format ; |
| 2802 |
__vki_u64 disabled : 1 ; |
|
2802 |
__vki_u64 disabled : 1 ; |
| 2803 |
__vki_u64 inherit : 1 ; |
|
2803 |
__vki_u64 inherit : 1 ; |
| 2804 |
__vki_u64 pinned : 1 ; |
|
2804 |
__vki_u64 pinned : 1 ; |
| 2805 |
__vki_u64 exclusive : 1 ; |
|
2805 |
__vki_u64 exclusive : 1 ; |
| 2806 |
__vki_u64 exclude_user : 1 ; |
|
2806 |
__vki_u64 exclude_user : 1 ; |
| 2807 |
__vki_u64 exclude_kernel : 1 ; |
|
2807 |
__vki_u64 exclude_kernel : 1 ; |
| 2808 |
__vki_u64 exclude_hv : 1 ; |
|
2808 |
__vki_u64 exclude_hv : 1 ; |
| 2809 |
__vki_u64 exclude_idle : 1 ; |
|
2809 |
__vki_u64 exclude_idle : 1 ; |
| 2810 |
__vki_u64 mmap : 1 ; |
|
2810 |
__vki_u64 mmap : 1 ; |
| 2811 |
__vki_u64 comm : 1 ; |
|
2811 |
__vki_u64 comm : 1 ; |
| 2812 |
__vki_u64 freq : 1 ; |
|
2812 |
__vki_u64 freq : 1 ; |
| 2813 |
__vki_u64 inherit_stat : 1 ; |
|
2813 |
__vki_u64 inherit_stat : 1 ; |
| 2814 |
__vki_u64 enable_on_exec : 1 ; |
|
2814 |
__vki_u64 enable_on_exec : 1 ; |
| 2815 |
__vki_u64 task : 1 ; |
|
2815 |
__vki_u64 task : 1 ; |
| 2816 |
__vki_u64 watermark : 1 ; |
|
2816 |
__vki_u64 watermark : 1 ; |
| 2817 |
__vki_u64 precise_ip : 2 ; |
|
2817 |
__vki_u64 precise_ip : 2 ; |
| 2818 |
__vki_u64 mmap_data : 1 ; |
|
2818 |
__vki_u64 mmap_data : 1 ; |
| 2819 |
__vki_u64 sample_id_all : 1 ; |
|
2819 |
__vki_u64 sample_id_all : 1 ; |
| 2820 |
__vki_u64 __reserved_1 : 45 ; |
|
2820 |
__vki_u64 __reserved_1 : 45 ; |
| 2821 |
union __anonunion____missing_field_name_98 __annonCompField2 ; |
|
2821 |
union __anonunion____missing_field_name_98 __annonCompField2 ; |
| 2822 |
__vki_u32 bp_type ; |
|
2822 |
__vki_u32 bp_type ; |
| 2823 |
union __anonunion____missing_field_name_99 __annonCompField3 ; |
|
2823 |
union __anonunion____missing_field_name_99 __annonCompField3 ; |
| 2824 |
union __anonunion____missing_field_name_100 __annonCompField4 ; |
|
2824 |
union __anonunion____missing_field_name_100 __annonCompField4 ; |
| 2825 |
}; |
|
2825 |
}; |
| 2826 |
struct vki_getcpu_cache { |
|
2826 |
struct vki_getcpu_cache { |
| 2827 |
unsigned long blob[128U / sizeof(long )] ; |
|
2827 |
unsigned long blob[128U / sizeof(long )] ; |
| 2828 |
}; |
|
2828 |
}; |
| 2829 |
typedef int __jmp_buf[6]; |
|
2829 |
typedef int __jmp_buf[6]; |
| 2830 |
typedef int __sig_atomic_t; |
|
2830 |
typedef int __sig_atomic_t; |
| 2831 |
struct __anonstruct___sigset_t_101 { |
|
2831 |
struct __anonstruct___sigset_t_101 { |
| 2832 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
|
2832 |
unsigned long __val[1024U / (8U * sizeof(unsigned long ))] ; |
| 2833 |
}; |
|
2833 |
}; |
| 2834 |
typedef struct __anonstruct___sigset_t_101 __sigset_t; |
|
2834 |
typedef struct __anonstruct___sigset_t_101 __sigset_t; |
| 2835 |
struct __jmp_buf_tag { |
|
2835 |
struct __jmp_buf_tag { |
| 2836 |
__jmp_buf __jmpbuf ; |
|
2836 |
__jmp_buf __jmpbuf ; |
| 2837 |
int __mask_was_saved ; |
|
2837 |
int __mask_was_saved ; |
| 2838 |
__sigset_t __saved_mask ; |
|
2838 |
__sigset_t __saved_mask ; |
| 2839 |
}; |
|
2839 |
}; |
| 2840 |
typedef struct __jmp_buf_tag jmp_buf[1]; |
|
2840 |
typedef struct __jmp_buf_tag jmp_buf[1]; |
| 2841 |
typedef struct __jmp_buf_tag sigjmp_buf[1]; |
|
2841 |
typedef struct __jmp_buf_tag sigjmp_buf[1]; |
| 2842 |
enum ThreadStatus { |
|
2842 |
enum ThreadStatus { |
| 2843 |
VgTs_Empty = 0, |
|
2843 |
VgTs_Empty = 0, |
| 2844 |
VgTs_Init = 1, |
|
2844 |
VgTs_Init = 1, |
| 2845 |
VgTs_Runnable = 2, |
|
2845 |
VgTs_Runnable = 2, |
| 2846 |
VgTs_WaitSys = 3, |
|
2846 |
VgTs_WaitSys = 3, |
| 2847 |
VgTs_Yielding = 4, |
|
2847 |
VgTs_Yielding = 4, |
| 2848 |
VgTs_Zombie = 5 |
|
2848 |
VgTs_Zombie = 5 |
| 2849 |
} ; |
|
2849 |
} ; |
| 2850 |
typedef enum ThreadStatus ThreadStatus; |
|
2850 |
typedef enum ThreadStatus ThreadStatus; |
| 2851 |
enum __anonenum_VgSchedReturnCode_102 { |
|
2851 |
enum __anonenum_VgSchedReturnCode_102 { |
| 2852 |
VgSrc_None = 0, |
|
2852 |
VgSrc_None = 0, |
| 2853 |
VgSrc_ExitThread = 1, |
|
2853 |
VgSrc_ExitThread = 1, |
| 2854 |
VgSrc_ExitProcess = 2, |
|
2854 |
VgSrc_ExitProcess = 2, |
| 2855 |
VgSrc_FatalSig = 3 |
|
2855 |
VgSrc_FatalSig = 3 |
| 2856 |
} ; |
|
2856 |
} ; |
| 2857 |
typedef enum __anonenum_VgSchedReturnCode_102 VgSchedReturnCode; |
|
2857 |
typedef enum __anonenum_VgSchedReturnCode_102 VgSchedReturnCode; |
| 2858 |
typedef VexGuestX86State VexGuestArchState; |
|
2858 |
typedef VexGuestX86State VexGuestArchState; |
| 2859 |
struct SyscallStatus; |
|
2859 |
struct SyscallStatus; |
| 2860 |
struct SyscallStatus; |
|
2860 |
struct SyscallStatus; |
| 2861 |
struct SyscallArgs; |
|
2861 |
struct SyscallArgs; |
| 2862 |
struct SyscallArgs; |
|
2862 |
struct SyscallArgs; |
| 2863 |
struct __anonstruct_ThreadArchState_103 { |
|
2863 |
struct __anonstruct_ThreadArchState_103 { |
| 2864 |
VexGuestArchState vex __attribute__((__aligned__(16))) ; |
|
2864 |
VexGuestArchState vex __attribute__((__aligned__(16))) ; |
| 2865 |
VexGuestArchState vex_shadow1 __attribute__((__aligned__(16))) ; |
|
2865 |
VexGuestArchState vex_shadow1 __attribute__((__aligned__(16))) ; |
| 2866 |
VexGuestArchState vex_shadow2 __attribute__((__aligned__(16))) ; |
|
2866 |
VexGuestArchState vex_shadow2 __attribute__((__aligned__(16))) ; |
| 2867 |
UChar vex_spill[4096] __attribute__((__aligned__(16))) ; |
|
2867 |
UChar vex_spill[4096] __attribute__((__aligned__(16))) ; |
| 2868 |
}; |
|
2868 |
}; |
| 2869 |
typedef struct __anonstruct_ThreadArchState_103 ThreadArchState; |
|
2869 |
typedef struct __anonstruct_ThreadArchState_103 ThreadArchState; |
| 2870 |
struct __anonstruct_ThreadOSstate_104 { |
|
2870 |
struct __anonstruct_ThreadOSstate_104 { |
| 2871 |
Int lwpid ; |
|
2871 |
Int lwpid ; |
| 2872 |
Int threadgroup ; |
|
2872 |
Int threadgroup ; |
| 2873 |
ThreadId parent ; |
|
2873 |
ThreadId parent ; |
| 2874 |
Addr valgrind_stack_base ; |
|
2874 |
Addr valgrind_stack_base ; |
| 2875 |
Addr valgrind_stack_init_SP ; |
|
2875 |
Addr valgrind_stack_init_SP ; |
| 2876 |
Word exitcode ; |
|
2876 |
Word exitcode ; |
| 2877 |
Int fatalsig ; |
|
2877 |
Int fatalsig ; |
| 2878 |
}; |
|
2878 |
}; |
| 2879 |
typedef struct __anonstruct_ThreadOSstate_104 ThreadOSstate; |
|
2879 |
typedef struct __anonstruct_ThreadOSstate_104 ThreadOSstate; |
| 2880 |
struct SigQueue; |
|
2880 |
struct SigQueue; |
| 2881 |
struct __anonstruct_ThreadState_105 { |
|
2881 |
struct __anonstruct_ThreadState_105 { |
| 2882 |
ThreadId tid ; |
|
2882 |
ThreadId tid ; |
| 2883 |
ThreadStatus status ; |
|
2883 |
ThreadStatus status ; |
| 2884 |
VgSchedReturnCode exitreason ; |
|
2884 |
VgSchedReturnCode exitreason ; |
| 2885 |
ThreadArchState arch ; |
|
2885 |
ThreadArchState arch ; |
| 2886 |
vki_sigset_t sig_mask ; |
|
2886 |
vki_sigset_t sig_mask ; |
| 2887 |
vki_sigset_t tmp_sig_mask ; |
|
2887 |
vki_sigset_t tmp_sig_mask ; |
| 2888 |
struct SigQueue *sig_queue ; |
|
2888 |
struct SigQueue *sig_queue ; |
| 2889 |
SizeT client_stack_szB ; |
|
2889 |
SizeT client_stack_szB ; |
| 2890 |
Addr client_stack_highest_word ; |
|
2890 |
Addr client_stack_highest_word ; |
| 2891 |
vki_stack_t altstack ; |
|
2891 |
vki_stack_t altstack ; |
| 2892 |
ThreadOSstate os_state ; |
|
2892 |
ThreadOSstate os_state ; |
| 2893 |
Bool sched_jmpbuf_valid ; |
|
2893 |
Bool sched_jmpbuf_valid ; |
| 2894 |
jmp_buf sched_jmpbuf ; |
|
2894 |
jmp_buf sched_jmpbuf ; |
| 2895 |
}; |
|
2895 |
}; |
| 2896 |
typedef struct __anonstruct_ThreadState_105 ThreadState; |
|
2896 |
typedef struct __anonstruct_ThreadState_105 ThreadState; |
| 2897 |
struct _XArray; |
|
2897 |
struct _XArray; |
| 2898 |
typedef struct _XArray XArray; |
|
2898 |
typedef struct _XArray XArray; |
| 2899 |
enum __anonenum_SegKind_106 { |
|
2899 |
enum __anonenum_SegKind_106 { |
| 2900 |
SkFree = 0, |
|
2900 |
SkFree = 0, |
| 2901 |
SkAnonC = 1, |
|
2901 |
SkAnonC = 1, |
| 2902 |
SkAnonV = 2, |
|
2902 |
SkAnonV = 2, |
| 2903 |
SkFileC = 3, |
|
2903 |
SkFileC = 3, |
| 2904 |
SkFileV = 4, |
|
2904 |
SkFileV = 4, |
| 2905 |
SkShmC = 5, |
|
2905 |
SkShmC = 5, |
| 2906 |
SkResvn = 6 |
|
2906 |
SkResvn = 6 |
| 2907 |
} ; |
|
2907 |
} ; |
| 2908 |
typedef enum __anonenum_SegKind_106 SegKind; |
|
2908 |
typedef enum __anonenum_SegKind_106 SegKind; |
| 2909 |
enum __anonenum_ShrinkMode_107 { |
|
2909 |
enum __anonenum_ShrinkMode_107 { |
| 2910 |
SmLower = 0, |
|
2910 |
SmLower = 0, |
| 2911 |
SmFixed = 1, |
|
2911 |
SmFixed = 1, |
| 2912 |
SmUpper = 2 |
|
2912 |
SmUpper = 2 |
| 2913 |
} ; |
|
2913 |
} ; |
| 2914 |
typedef enum __anonenum_ShrinkMode_107 ShrinkMode; |
|
2914 |
typedef enum __anonenum_ShrinkMode_107 ShrinkMode; |
| 2915 |
struct __anonstruct_NSegment_108 { |
|
2915 |
struct __anonstruct_NSegment_108 { |
| 2916 |
SegKind kind ; |
|
2916 |
SegKind kind ; |
| 2917 |
Addr start ; |
|
2917 |
Addr start ; |
| 2918 |
Addr end ; |
|
2918 |
Addr end ; |
| 2919 |
ShrinkMode smode ; |
|
2919 |
ShrinkMode smode ; |
| 2920 |
ULong dev ; |
|
2920 |
ULong dev ; |
| 2921 |
ULong ino ; |
|
2921 |
ULong ino ; |
| 2922 |
Off64T offset ; |
|
2922 |
Off64T offset ; |
| 2923 |
UInt mode ; |
|
2923 |
UInt mode ; |
| 2924 |
Int fnIdx ; |
|
2924 |
Int fnIdx ; |
| 2925 |
Bool hasR ; |
|
2925 |
Bool hasR ; |
| 2926 |
Bool hasW ; |
|
2926 |
Bool hasW ; |
| 2927 |
Bool hasX ; |
|
2927 |
Bool hasX ; |
| 2928 |
Bool hasT ; |
|
2928 |
Bool hasT ; |
| 2929 |
Bool isCH ; |
|
2929 |
Bool isCH ; |
| 2930 |
Bool mark ; |
|
2930 |
Bool mark ; |
| 2931 |
}; |
|
2931 |
}; |
| 2932 |
typedef struct __anonstruct_NSegment_108 NSegment; |
|
2932 |
typedef struct __anonstruct_NSegment_108 NSegment; |
| 2933 |
enum __anonenum_rkind_110 { |
|
2933 |
enum __anonenum_rkind_110 { |
| 2934 |
MFixed = 0, |
|
2934 |
MFixed = 0, |
| 2935 |
MHint = 1, |
|
2935 |
MHint = 1, |
| 2936 |
MAny = 2 |
|
2936 |
MAny = 2 |
| 2937 |
} ; |
|
2937 |
} ; |
| 2938 |
struct __anonstruct_MapRequest_109 { |
|
2938 |
struct __anonstruct_MapRequest_109 { |
| 2939 |
enum __anonenum_rkind_110 rkind ; |
|
2939 |
enum __anonenum_rkind_110 rkind ; |
| 2940 |
Addr start ; |
|
2940 |
Addr start ; |
| 2941 |
Addr len ; |
|
2941 |
Addr len ; |
| 2942 |
}; |
|
2942 |
}; |
| 2943 |
typedef struct __anonstruct_MapRequest_109 MapRequest; |
|
2943 |
typedef struct __anonstruct_MapRequest_109 MapRequest; |
| 2944 |
struct __anonstruct_AixCodeSegChange_111 { |
|
2944 |
struct __anonstruct_AixCodeSegChange_111 { |
| 2945 |
Addr code_start ; |
|
2945 |
Addr code_start ; |
| 2946 |
Word code_len ; |
|
2946 |
Word code_len ; |
| 2947 |
Addr data_start ; |
|
2947 |
Addr data_start ; |
| 2948 |
Word data_len ; |
|
2948 |
Word data_len ; |
| 2949 |
UChar *file_name ; |
|
2949 |
UChar *file_name ; |
| 2950 |
UChar *mem_name ; |
|
2950 |
UChar *mem_name ; |
| 2951 |
Bool is_mainexe ; |
|
2951 |
Bool is_mainexe ; |
| 2952 |
Bool acquire ; |
|
2952 |
Bool acquire ; |
| 2953 |
}; |
|
2953 |
}; |
| 2954 |
typedef struct __anonstruct_AixCodeSegChange_111 AixCodeSegChange; |
|
2954 |
typedef struct __anonstruct_AixCodeSegChange_111 AixCodeSegChange; |
| 2955 |
struct __anonstruct_VgStack_112 { |
|
2955 |
struct __anonstruct_VgStack_112 { |
| 2956 |
HChar bytes[1064960] ; |
|
2956 |
HChar bytes[1064960] ; |
| 2957 |
}; |
|
2957 |
}; |
| 2958 |
typedef struct __anonstruct_VgStack_112 VgStack; |
|
2958 |
typedef struct __anonstruct_VgStack_112 VgStack; |
| 2959 |
struct _ExeContext; |
|
2959 |
struct _ExeContext; |
| 2960 |
typedef struct _ExeContext ExeContext; |
|
2960 |
typedef struct _ExeContext ExeContext; |
| 2961 |
enum __anonenum_VgRes_113 { |
|
2961 |
enum __anonenum_VgRes_113 { |
| 2962 |
Vg_LowRes = 0, |
|
2962 |
Vg_LowRes = 0, |
| 2963 |
Vg_MedRes = 1, |
|
2963 |
Vg_MedRes = 1, |
| 2964 |
Vg_HighRes = 2 |
|
2964 |
Vg_HighRes = 2 |
| 2965 |
} ; |
|
2965 |
} ; |
| 2966 |
typedef enum __anonenum_VgRes_113 VgRes; |
|
2966 |
typedef enum __anonenum_VgRes_113 VgRes; |
| 2967 |
typedef Int ErrorKind; |
|
2967 |
typedef Int ErrorKind; |
| 2968 |
struct _Error; |
|
2968 |
struct _Error; |
| 2969 |
typedef struct _Error Error; |
|
2969 |
typedef struct _Error Error; |
| 2970 |
typedef Int SuppKind; |
|
2970 |
typedef Int SuppKind; |
| 2971 |
struct _Supp; |
|
2971 |
struct _Supp; |
| 2972 |
typedef struct _Supp Supp; |
|
2972 |
typedef struct _Supp Supp; |
| 2973 |
enum __anonenum_CoreErrorKind_114 { |
|
2973 |
enum __anonenum_CoreErrorKind_114 { |
| 2974 |
ThreadErr = -1 |
|
2974 |
ThreadErr = -1 |
| 2975 |
} ; |
|
2975 |
} ; |
| 2976 |
typedef enum __anonenum_CoreErrorKind_114 CoreErrorKind; |
|
2976 |
typedef enum __anonenum_CoreErrorKind_114 CoreErrorKind; |
| 2977 |
enum __anonenum_PointKind_115 { |
|
2977 |
enum __anonenum_PointKind_115 { |
| 2978 |
software_breakpoint = 0, |
|
2978 |
software_breakpoint = 0, |
| 2979 |
hardware_breakpoint = 1, |
|
2979 |
hardware_breakpoint = 1, |
| 2980 |
write_watchpoint = 2, |
|
2980 |
write_watchpoint = 2, |
| 2981 |
read_watchpoint = 3, |
|
2981 |
read_watchpoint = 3, |
| 2982 |
access_watchpoint = 4 |
|
2982 |
access_watchpoint = 4 |
| 2983 |
} ; |
|
2983 |
} ; |
| 2984 |
typedef enum __anonenum_PointKind_115 PointKind; |
|
2984 |
typedef enum __anonenum_PointKind_115 PointKind; |
| 2985 |
enum __anonenum_kwd_report_error_116 { |
|
2985 |
enum __anonenum_kwd_report_error_116 { |
| 2986 |
kwd_report_none = 0, |
|
2986 |
kwd_report_none = 0, |
| 2987 |
kwd_report_all = 1, |
|
2987 |
kwd_report_all = 1, |
| 2988 |
kwd_report_duplicated_matches = 2 |
|
2988 |
kwd_report_duplicated_matches = 2 |
| 2989 |
} ; |
|
2989 |
} ; |
| 2990 |
typedef enum __anonenum_kwd_report_error_116 kwd_report_error; |
|
2990 |
typedef enum __anonenum_kwd_report_error_116 kwd_report_error; |
| 2991 |
enum __anonenum_FinishReason_117 { |
|
2991 |
enum __anonenum_FinishReason_117 { |
| 2992 |
orderly_finish = 0, |
|
2992 |
orderly_finish = 0, |
| 2993 |
reset_after_error = 1, |
|
2993 |
reset_after_error = 1, |
| 2994 |
reset_after_fork = 2 |
|
2994 |
reset_after_fork = 2 |
| 2995 |
} ; |
|
2995 |
} ; |
| 2996 |
typedef enum __anonenum_FinishReason_117 FinishReason; |
|
2996 |
typedef enum __anonenum_FinishReason_117 FinishReason; |
| 2997 |
struct __anonstruct_VgdbShared32_118 { |
|
2997 |
struct __anonstruct_VgdbShared32_118 { |
| 2998 |
int vgdb_pid ; |
|
2998 |
int vgdb_pid ; |
| 2999 |
int volatile written_by_vgdb ; |
|
2999 |
int volatile written_by_vgdb ; |
| 3000 |
int volatile seen_by_valgrind ; |
|
3000 |
int volatile seen_by_valgrind ; |
| 3001 |
Addr32 invoke_gdbserver ; |
|
3001 |
Addr32 invoke_gdbserver ; |
| 3002 |
Addr32 threads ; |
|
3002 |
Addr32 threads ; |
| 3003 |
int sizeof_ThreadState ; |
|
3003 |
int sizeof_ThreadState ; |
| 3004 |
int offset_status ; |
|
3004 |
int offset_status ; |
| 3005 |
int offset_lwpid ; |
|
3005 |
int offset_lwpid ; |
| 3006 |
}; |
|
3006 |
}; |
| 3007 |
typedef struct __anonstruct_VgdbShared32_118 VgdbShared32; |
|
3007 |
typedef struct __anonstruct_VgdbShared32_118 VgdbShared32; |
| 3008 |
struct __anonstruct_VgdbShared64_119 { |
|
3008 |
struct __anonstruct_VgdbShared64_119 { |
| 3009 |
int vgdb_pid ; |
|
3009 |
int vgdb_pid ; |
| 3010 |
int volatile written_by_vgdb ; |
|
3010 |
int volatile written_by_vgdb ; |
| 3011 |
int volatile seen_by_valgrind ; |
|
3011 |
int volatile seen_by_valgrind ; |
| 3012 |
Addr64 invoke_gdbserver ; |
|
3012 |
Addr64 invoke_gdbserver ; |
| 3013 |
Addr64 threads ; |
|
3013 |
Addr64 threads ; |
| 3014 |
int sizeof_ThreadState ; |
|
3014 |
int sizeof_ThreadState ; |
| 3015 |
int offset_status ; |
|
3015 |
int offset_status ; |
| 3016 |
int offset_lwpid ; |
|
3016 |
int offset_lwpid ; |
| 3017 |
}; |
|
3017 |
}; |
| 3018 |
typedef struct __anonstruct_VgdbShared64_119 VgdbShared64; |
|
3018 |
typedef struct __anonstruct_VgdbShared64_119 VgdbShared64; |
| 3019 |
typedef VgdbShared32 VgdbShared; |
|
3019 |
typedef VgdbShared32 VgdbShared; |
| 3020 |
struct _IICreateImageInfo; |
|
3020 |
struct _IICreateImageInfo; |
| 3021 |
typedef struct _IICreateImageInfo IICreateImageInfo; |
|
3021 |
typedef struct _IICreateImageInfo IICreateImageInfo; |
| 3022 |
struct _IIFinaliseImageInfo; |
|
3022 |
struct _IIFinaliseImageInfo; |
| 3023 |
typedef struct _IIFinaliseImageInfo IIFinaliseImageInfo; |
|
3023 |
typedef struct _IIFinaliseImageInfo IIFinaliseImageInfo; |
| 3024 |
struct _IICreateImageInfo { |
|
3024 |
struct _IICreateImageInfo { |
| 3025 |
HChar *toolname ; |
|
3025 |
HChar *toolname ; |
| 3026 |
Addr sp_at_startup ; |
|
3026 |
Addr sp_at_startup ; |
| 3027 |
Addr clstack_top ; |
|
3027 |
Addr clstack_top ; |
| 3028 |
HChar **argv ; |
|
3028 |
HChar **argv ; |
| 3029 |
HChar **envp ; |
|
3029 |
HChar **envp ; |
| 3030 |
}; |
|
3030 |
}; |
| 3031 |
struct _IIFinaliseImageInfo { |
|
3031 |
struct _IIFinaliseImageInfo { |
| 3032 |
SizeT clstack_max_size ; |
|
3032 |
SizeT clstack_max_size ; |
| 3033 |
Addr initial_client_SP ; |
|
3033 |
Addr initial_client_SP ; |
| 3034 |
Addr initial_client_IP ; |
|
3034 |
Addr initial_client_IP ; |
| 3035 |
Addr initial_client_TOC ; |
|
3035 |
Addr initial_client_TOC ; |
| 3036 |
UInt *client_auxv ; |
|
3036 |
UInt *client_auxv ; |
| 3037 |
}; |
|
3037 |
}; |
| 3038 |
struct vg_stat { |
|
3038 |
struct vg_stat { |
| 3039 |
ULong dev ; |
|
3039 |
ULong dev ; |
| 3040 |
ULong ino ; |
|
3040 |
ULong ino ; |
| 3041 |
ULong nlink ; |
|
3041 |
ULong nlink ; |
| 3042 |
UInt mode ; |
|
3042 |
UInt mode ; |
| 3043 |
UInt uid ; |
|
3043 |
UInt uid ; |
| 3044 |
UInt gid ; |
|
3044 |
UInt gid ; |
| 3045 |
ULong rdev ; |
|
3045 |
ULong rdev ; |
| 3046 |
Long size ; |
|
3046 |
Long size ; |
| 3047 |
ULong blksize ; |
|
3047 |
ULong blksize ; |
| 3048 |
ULong blocks ; |
|
3048 |
ULong blocks ; |
| 3049 |
ULong atime ; |
|
3049 |
ULong atime ; |
| 3050 |
ULong atime_nsec ; |
|
3050 |
ULong atime_nsec ; |
| 3051 |
ULong mtime ; |
|
3051 |
ULong mtime ; |
| 3052 |
ULong mtime_nsec ; |
|
3052 |
ULong mtime_nsec ; |
| 3053 |
ULong ctime ; |
|
3053 |
ULong ctime ; |
| 3054 |
ULong ctime_nsec ; |
|
3054 |
ULong ctime_nsec ; |
| 3055 |
}; |
|
3055 |
}; |
| 3056 |
enum __anonenum_VgMsgKind_120 { |
|
3056 |
enum __anonenum_VgMsgKind_120 { |
| 3057 |
Vg_FailMsg = 0, |
|
3057 |
Vg_FailMsg = 0, |
| 3058 |
Vg_UserMsg = 1, |
|
3058 |
Vg_UserMsg = 1, |
| 3059 |
Vg_DebugMsg = 2, |
|
3059 |
Vg_DebugMsg = 2, |
| 3060 |
Vg_ClientMsg = 3 |
|
3060 |
Vg_ClientMsg = 3 |
| 3061 |
} ; |
|
3061 |
} ; |
| 3062 |
typedef enum __anonenum_VgMsgKind_120 VgMsgKind; |
|
3062 |
typedef enum __anonenum_VgMsgKind_120 VgMsgKind; |
| 3063 |
struct __anonstruct_OutputSink_121 { |
|
3063 |
struct __anonstruct_OutputSink_121 { |
| 3064 |
Int fd ; |
|
3064 |
Int fd ; |
| 3065 |
Bool is_socket ; |
|
3065 |
Bool is_socket ; |
| 3066 |
}; |
|
3066 |
}; |
| 3067 |
typedef struct __anonstruct_OutputSink_121 OutputSink; |
|
3067 |
typedef struct __anonstruct_OutputSink_121 OutputSink; |
| 3068 |
typedef void (*vg_atfork_t)(ThreadId ); |
|
3068 |
typedef void (*vg_atfork_t)(ThreadId ); |
| 3069 |
typedef Int ArenaId; |
|
3069 |
typedef Int ArenaId; |
| 3070 |
struct vg_mallinfo { |
|
3070 |
struct vg_mallinfo { |
| 3071 |
int arena ; |
|
3071 |
int arena ; |
| 3072 |
int ordblks ; |
|
3072 |
int ordblks ; |
| 3073 |
int smblks ; |
|
3073 |
int smblks ; |
| 3074 |
int hblks ; |
|
3074 |
int hblks ; |
| 3075 |
int hblkhd ; |
|
3075 |
int hblkhd ; |
| 3076 |
int usmblks ; |
|
3076 |
int usmblks ; |
| 3077 |
int fsmblks ; |
|
3077 |
int fsmblks ; |
| 3078 |
int uordblks ; |
|
3078 |
int uordblks ; |
| 3079 |
int fordblks ; |
|
3079 |
int fordblks ; |
| 3080 |
int keepcost ; |
|
3080 |
int keepcost ; |
| 3081 |
}; |
|
3081 |
}; |
| 3082 |
enum __anonenum_VgVgdb_122 { |
|
3082 |
enum __anonenum_VgVgdb_122 { |
| 3083 |
Vg_VgdbNo = 0, |
|
3083 |
Vg_VgdbNo = 0, |
| 3084 |
Vg_VgdbYes = 1, |
|
3084 |
Vg_VgdbYes = 1, |
| 3085 |
Vg_VgdbFull = 2 |
|
3085 |
Vg_VgdbFull = 2 |
| 3086 |
} ; |
|
3086 |
} ; |
| 3087 |
typedef enum __anonenum_VgVgdb_122 VgVgdb; |
|
3087 |
typedef enum __anonenum_VgVgdb_122 VgVgdb; |
| 3088 |
enum __anonenum_VgSmc_123 { |
|
3088 |
enum __anonenum_VgSmc_123 { |
| 3089 |
Vg_SmcNone = 0, |
|
3089 |
Vg_SmcNone = 0, |
| 3090 |
Vg_SmcStack = 1, |
|
3090 |
Vg_SmcStack = 1, |
| 3091 |
Vg_SmcAll = 2, |
|
3091 |
Vg_SmcAll = 2, |
| 3092 |
Vg_SmcAllNonFile = 3 |
|
3092 |
Vg_SmcAllNonFile = 3 |
| 3093 |
} ; |
|
3093 |
} ; |
| 3094 |
typedef enum __anonenum_VgSmc_123 VgSmc; |
|
3094 |
typedef enum __anonenum_VgSmc_123 VgSmc; |
| 3095 |
enum __anonenum_Vg_FnNameKind_124 { |
|
3095 |
enum __anonenum_Vg_FnNameKind_124 { |
| 3096 |
Vg_FnNameNormal = 0, |
|
3096 |
Vg_FnNameNormal = 0, |
| 3097 |
Vg_FnNameMain = 1, |
|
3097 |
Vg_FnNameMain = 1, |
| 3098 |
Vg_FnNameBelowMain = 2 |
|
3098 |
Vg_FnNameBelowMain = 2 |
| 3099 |
} ; |
|
3099 |
} ; |
| 3100 |
typedef enum __anonenum_Vg_FnNameKind_124 Vg_FnNameKind; |
|
3100 |
typedef enum __anonenum_Vg_FnNameKind_124 Vg_FnNameKind; |
| 3101 |
struct __anonstruct_StackBlock_125 { |
|
3101 |
struct __anonstruct_StackBlock_125 { |
| 3102 |
PtrdiffT base ; |
|
3102 |
PtrdiffT base ; |
| 3103 |
SizeT szB ; |
|
3103 |
SizeT szB ; |
| 3104 |
Bool spRel ; |
|
3104 |
Bool spRel ; |
| 3105 |
Bool isVec ; |
|
3105 |
Bool isVec ; |
| 3106 |
HChar name[16] ; |
|
3106 |
HChar name[16] ; |
| 3107 |
}; |
|
3107 |
}; |
| 3108 |
typedef struct __anonstruct_StackBlock_125 StackBlock; |
|
3108 |
typedef struct __anonstruct_StackBlock_125 StackBlock; |
| 3109 |
struct __anonstruct_GlobalBlock_126 { |
|
3109 |
struct __anonstruct_GlobalBlock_126 { |
| 3110 |
Addr addr ; |
|
3110 |
Addr addr ; |
| 3111 |
SizeT szB ; |
|
3111 |
SizeT szB ; |
| 3112 |
Bool isVec ; |
|
3112 |
Bool isVec ; |
| 3113 |
HChar name[16] ; |
|
3113 |
HChar name[16] ; |
| 3114 |
HChar soname[16] ; |
|
3114 |
HChar soname[16] ; |
| 3115 |
}; |
|
3115 |
}; |
| 3116 |
typedef struct __anonstruct_GlobalBlock_126 GlobalBlock; |
|
3116 |
typedef struct __anonstruct_GlobalBlock_126 GlobalBlock; |
| 3117 |
struct _DebugInfo; |
|
3117 |
struct _DebugInfo; |
| 3118 |
typedef struct _DebugInfo DebugInfo; |
|
3118 |
typedef struct _DebugInfo DebugInfo; |
| 3119 |
enum __anonenum_VgSectKind_127 { |
|
3119 |
enum __anonenum_VgSectKind_127 { |
| 3120 |
Vg_SectUnknown = 0, |
|
3120 |
Vg_SectUnknown = 0, |
| 3121 |
Vg_SectText = 1, |
|
3121 |
Vg_SectText = 1, |
| 3122 |
Vg_SectData = 2, |
|
3122 |
Vg_SectData = 2, |
| 3123 |
Vg_SectBSS = 3, |
|
3123 |
Vg_SectBSS = 3, |
| 3124 |
Vg_SectGOT = 4, |
|
3124 |
Vg_SectGOT = 4, |
| 3125 |
Vg_SectPLT = 5, |
|
3125 |
Vg_SectPLT = 5, |
| 3126 |
Vg_SectGOTPLT = 6, |
|
3126 |
Vg_SectGOTPLT = 6, |
| 3127 |
Vg_SectOPD = 7 |
|
3127 |
Vg_SectOPD = 7 |
| 3128 |
} ; |
|
3128 |
} ; |
| 3129 |
typedef enum __anonenum_VgSectKind_127 VgSectKind; |
|
3129 |
typedef enum __anonenum_VgSectKind_127 VgSectKind; |
| 3130 |
struct __anonstruct_D3UnwindRegs_128 { |
|
3130 |
struct __anonstruct_D3UnwindRegs_128 { |
| 3131 |
Addr xip ; |
|
3131 |
Addr xip ; |
| 3132 |
Addr xsp ; |
|
3132 |
Addr xsp ; |
| 3133 |
Addr xbp ; |
|
3133 |
Addr xbp ; |
| 3134 |
}; |
|
3134 |
}; |
| 3135 |
typedef struct __anonstruct_D3UnwindRegs_128 D3UnwindRegs; |
|
3135 |
typedef struct __anonstruct_D3UnwindRegs_128 D3UnwindRegs; |
| 3136 |
struct __anonstruct_VgCallbackClosure_129 { |
|
3136 |
struct __anonstruct_VgCallbackClosure_129 { |
| 3137 |
Addr64 nraddr ; |
|
3137 |
Addr64 nraddr ; |
| 3138 |
Addr64 readdr ; |
|
3138 |
Addr64 readdr ; |
| 3139 |
ThreadId tid ; |
|
3139 |
ThreadId tid ; |
| 3140 |
}; |
|
3140 |
}; |
| 3141 |
typedef struct __anonstruct_VgCallbackClosure_129 VgCallbackClosure; |
|
3141 |
typedef struct __anonstruct_VgCallbackClosure_129 VgCallbackClosure; |
| 3142 |
enum __anonenum_CorePart_130 { |
|
3142 |
enum __anonenum_CorePart_130 { |
| 3143 |
Vg_CoreStartup = 1, |
|
3143 |
Vg_CoreStartup = 1, |
| 3144 |
Vg_CoreSignal = 2, |
|
3144 |
Vg_CoreSignal = 2, |
| 3145 |
Vg_CoreSysCall = 3, |
|
3145 |
Vg_CoreSysCall = 3, |
| 3146 |
Vg_CoreSysCallArgInMem = 4, |
|
3146 |
Vg_CoreSysCallArgInMem = 4, |
| 3147 |
Vg_CoreTranslate = 5, |
|
3147 |
Vg_CoreTranslate = 5, |
| 3148 |
Vg_CoreClientReq = 6 |
|
3148 |
Vg_CoreClientReq = 6 |
| 3149 |
} ; |
|
3149 |
} ; |
| 3150 |
typedef enum __anonenum_CorePart_130 CorePart; |
|
3150 |
typedef enum __anonenum_CorePart_130 CorePart; |
| 3151 |
struct __anonstruct_VgDetails_131 { |
|
3151 |
struct __anonstruct_VgDetails_131 { |
| 3152 |
Char *name ; |
|
3152 |
Char *name ; |
| 3153 |
Char *version ; |
|
3153 |
Char *version ; |
| 3154 |
Char *description ; |
|
3154 |
Char *description ; |
| 3155 |
Char *copyright_author ; |
|
3155 |
Char *copyright_author ; |
| 3156 |
Char *bug_reports_to ; |
|
3156 |
Char *bug_reports_to ; |
| 3157 |
UInt avg_translation_sizeB ; |
|
3157 |
UInt avg_translation_sizeB ; |
| 3158 |
}; |
|
3158 |
}; |
| 3159 |
typedef struct __anonstruct_VgDetails_131 VgDetails; |
|
3159 |
typedef struct __anonstruct_VgDetails_131 VgDetails; |
| 3160 |
struct __anonstruct_VgNeeds_132 { |
|
3160 |
struct __anonstruct_VgNeeds_132 { |
| 3161 |
Bool libc_freeres ; |
|
3161 |
Bool libc_freeres ; |
| 3162 |
Bool core_errors ; |
|
3162 |
Bool core_errors ; |
| 3163 |
Bool tool_errors ; |
|
3163 |
Bool tool_errors ; |
| 3164 |
Bool superblock_discards ; |
|
3164 |
Bool superblock_discards ; |
| 3165 |
Bool command_line_options ; |
|
3165 |
Bool command_line_options ; |
| 3166 |
Bool client_requests ; |
|
3166 |
Bool client_requests ; |
| 3167 |
Bool syscall_wrapper ; |
|
3167 |
Bool syscall_wrapper ; |
| 3168 |
Bool sanity_checks ; |
|
3168 |
Bool sanity_checks ; |
| 3169 |
Bool var_info ; |
|
3169 |
Bool var_info ; |
| 3170 |
Bool malloc_replacement ; |
|
3170 |
Bool malloc_replacement ; |
| 3171 |
Bool xml_output ; |
|
3171 |
Bool xml_output ; |
| 3172 |
Bool final_IR_tidy_pass ; |
|
3172 |
Bool final_IR_tidy_pass ; |
| 3173 |
}; |
|
3173 |
}; |
| 3174 |
typedef struct __anonstruct_VgNeeds_132 VgNeeds; |
|
3174 |
typedef struct __anonstruct_VgNeeds_132 VgNeeds; |
| 3175 |
struct __anonstruct_VgToolInterface_133 { |
|
3175 |
struct __anonstruct_VgToolInterface_133 { |
| 3176 |
void (*tool_pre_clo_init)(void) ; |
|
3176 |
void (*tool_pre_clo_init)(void) ; |
| 3177 |
void (*tool_post_clo_init)(void) ; |
|
3177 |
void (*tool_post_clo_init)(void) ; |
| 3178 |
IRSB *(*tool_instrument)(VgCallbackClosure * , IRSB * , VexGuestLayout * , |
|
3178 |
IRSB *(*tool_instrument)(VgCallbackClosure * , IRSB * , VexGuestLayout * , |
| 3179 |
VexGuestExtents * , IRType , IRType ) ; |
|
3179 |
VexGuestExtents * , IRType , IRType ) ; |
| 3180 |
void (*tool_fini)(Int ) ; |
|
3180 |
void (*tool_fini)(Int ) ; |
| 3181 |
Bool (*tool_eq_Error)(VgRes , Error * , Error * ) ; |
|
3181 |
Bool (*tool_eq_Error)(VgRes , Error * , Error * ) ; |
| 3182 |
void (*tool_before_pp_Error)(Error * ) ; |
|
3182 |
void (*tool_before_pp_Error)(Error * ) ; |
| 3183 |
void (*tool_pp_Error)(Error * ) ; |
|
3183 |
void (*tool_pp_Error)(Error * ) ; |
| 3184 |
Bool tool_show_ThreadIDs_for_errors ; |
|
3184 |
Bool tool_show_ThreadIDs_for_errors ; |
| 3185 |
UInt (*tool_update_extra)(Error * ) ; |
|
3185 |
UInt (*tool_update_extra)(Error * ) ; |
| 3186 |
Bool (*tool_recognised_suppression)(Char * , Supp * ) ; |
|
3186 |
Bool (*tool_recognised_suppression)(Char * , Supp * ) ; |
| 3187 |
Bool (*tool_read_extra_suppression_info)(Int , Char ** , SizeT * , Supp * ) ; |
|
3187 |
Bool (*tool_read_extra_suppression_info)(Int , Char ** , SizeT * , Supp * ) ; |
| 3188 |
Bool (*tool_error_matches_suppression)(Error * , Supp * ) ; |
|
3188 |
Bool (*tool_error_matches_suppression)(Error * , Supp * ) ; |
| 3189 |
Char *(*tool_get_error_name)(Error * ) ; |
|
3189 |
Char *(*tool_get_error_name)(Error * ) ; |
| 3190 |
Bool (*tool_get_extra_suppression_info)(Error * , Char * , Int ) ; |
|
3190 |
Bool (*tool_get_extra_suppression_info)(Error * , Char * , Int ) ; |
| 3191 |
void (*tool_discard_superblock_info)(Addr64 , VexGuestExtents ) ; |
|
3191 |
void (*tool_discard_superblock_info)(Addr64 , VexGuestExtents ) ; |
| 3192 |
Bool (*tool_process_cmd_line_option)(Char * ) ; |
|
3192 |
Bool (*tool_process_cmd_line_option)(Char * ) ; |
| 3193 |
void (*tool_print_usage)(void) ; |
|
3193 |
void (*tool_print_usage)(void) ; |
| 3194 |
void (*tool_print_debug_usage)(void) ; |
|
3194 |
void (*tool_print_debug_usage)(void) ; |
| 3195 |
Bool (*tool_handle_client_request)(ThreadId , UWord * , UWord * ) ; |
|
3195 |
Bool (*tool_handle_client_request)(ThreadId , UWord * , UWord * ) ; |
| 3196 |
void (*tool_pre_syscall)(ThreadId , UInt , UWord * , UInt ) ; |
|
3196 |
void (*tool_pre_syscall)(ThreadId , UInt , UWord * , UInt ) ; |
| 3197 |
void (*tool_post_syscall)(ThreadId , UInt , UWord * , UInt , SysRes ) ; |
|
3197 |
void (*tool_post_syscall)(ThreadId , UInt , UWord * , UInt , SysRes ) ; |
| 3198 |
Bool (*tool_cheap_sanity_check)(void) ; |
|
3198 |
Bool (*tool_cheap_sanity_check)(void) ; |
| 3199 |
Bool (*tool_expensive_sanity_check)(void) ; |
|
3199 |
Bool (*tool_expensive_sanity_check)(void) ; |
| 3200 |
void *(*tool_malloc)(ThreadId , SizeT ) ; |
|
3200 |
void *(*tool_malloc)(ThreadId , SizeT ) ; |
| 3201 |
void *(*tool___builtin_new)(ThreadId , SizeT ) ; |
|
3201 |
void *(*tool___builtin_new)(ThreadId , SizeT ) ; |
| 3202 |
void *(*tool___builtin_vec_new)(ThreadId , SizeT ) ; |
|
3202 |
void *(*tool___builtin_vec_new)(ThreadId , SizeT ) ; |
| 3203 |
void *(*tool_memalign)(ThreadId , SizeT , SizeT ) ; |
|
3203 |
void *(*tool_memalign)(ThreadId , SizeT , SizeT ) ; |
| 3204 |
void *(*tool_calloc)(ThreadId , SizeT , SizeT ) ; |
|
3204 |
void *(*tool_calloc)(ThreadId , SizeT , SizeT ) ; |
| 3205 |
void (*tool_free)(ThreadId , void * ) ; |
|
3205 |
void (*tool_free)(ThreadId , void * ) ; |
| 3206 |
void (*tool___builtin_delete)(ThreadId , void * ) ; |
|
3206 |
void (*tool___builtin_delete)(ThreadId , void * ) ; |
| 3207 |
void (*tool___builtin_vec_delete)(ThreadId , void * ) ; |
|
3207 |
void (*tool___builtin_vec_delete)(ThreadId , void * ) ; |
| 3208 |
void *(*tool_realloc)(ThreadId , void * , SizeT ) ; |
|
3208 |
void *(*tool_realloc)(ThreadId , void * , SizeT ) ; |
| 3209 |
SizeT (*tool_malloc_usable_size)(ThreadId , void * ) ; |
|
3209 |
SizeT (*tool_malloc_usable_size)(ThreadId , void * ) ; |
| 3210 |
SizeT tool_client_redzone_szB ; |
|
3210 |
SizeT tool_client_redzone_szB ; |
| 3211 |
IRSB *(*tool_final_IR_tidy_pass)(IRSB * ) ; |
|
3211 |
IRSB *(*tool_final_IR_tidy_pass)(IRSB * ) ; |
| 3212 |
void (*track_new_mem_startup)(Addr , SizeT , Bool , Bool , Bool , |
|
3212 |
void (*track_new_mem_startup)(Addr , SizeT , Bool , Bool , Bool , |
| 3213 |
ULong ) ; |
|
3213 |
ULong ) ; |
| 3214 |
void (*track_new_mem_stack_signal)(Addr , SizeT , ThreadId ) ; |
|
3214 |
void (*track_new_mem_stack_signal)(Addr , SizeT , ThreadId ) ; |
| 3215 |
void (*track_new_mem_brk)(Addr , SizeT , ThreadId ) ; |
|
3215 |
void (*track_new_mem_brk)(Addr , SizeT , ThreadId ) ; |
| 3216 |
void (*track_new_mem_mmap)(Addr , SizeT , Bool , Bool , Bool , ULong ) ; |
|
3216 |
void (*track_new_mem_mmap)(Addr , SizeT , Bool , Bool , Bool , ULong ) ; |
| 3217 |
void (*track_copy_mem_remap)(Addr src , Addr dst , SizeT ) ; |
|
3217 |
void (*track_copy_mem_remap)(Addr src , Addr dst , SizeT ) ; |
| 3218 |
void (*track_change_mem_mprotect)(Addr , SizeT , Bool , Bool , Bool ) ; |
|
3218 |
void (*track_change_mem_mprotect)(Addr , SizeT , Bool , Bool , Bool ) ; |
| 3219 |
void (*track_die_mem_stack_signal)(Addr , SizeT ) ; |
|
3219 |
void (*track_die_mem_stack_signal)(Addr , SizeT ) ; |
| 3220 |
void (*track_die_mem_brk)(Addr , SizeT ) ; |
|
3220 |
void (*track_die_mem_brk)(Addr , SizeT ) ; |
| 3221 |
void (*track_die_mem_munmap)(Addr , SizeT ) ; |
|
3221 |
void (*track_die_mem_munmap)(Addr , SizeT ) ; |
| 3222 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_4_w_ECU))(Addr , |
|
3222 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_4_w_ECU))(Addr , |
| 3223 |
UInt ) ; |
|
3223 |
UInt ) ; |
| 3224 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_8_w_ECU))(Addr , |
|
3224 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_8_w_ECU))(Addr , |
| 3225 |
UInt ) ; |
|
3225 |
UInt ) ; |
| 3226 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_12_w_ECU))(Addr , |
|
3226 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_12_w_ECU))(Addr , |
| 3227 |
UInt ) ; |
|
3227 |
UInt ) ; |
| 3228 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_16_w_ECU))(Addr , |
|
3228 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_16_w_ECU))(Addr , |
| 3229 |
UInt ) ; |
|
3229 |
UInt ) ; |
| 3230 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_32_w_ECU))(Addr , |
|
3230 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_32_w_ECU))(Addr , |
| 3231 |
UInt ) ; |
|
3231 |
UInt ) ; |
| 3232 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_112_w_ECU))(Addr , |
|
3232 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_112_w_ECU))(Addr , |
| 3233 |
UInt ) ; |
|
3233 |
UInt ) ; |
| 3234 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_128_w_ECU))(Addr , |
|
3234 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_128_w_ECU))(Addr , |
| 3235 |
UInt ) ; |
|
3235 |
UInt ) ; |
| 3236 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_144_w_ECU))(Addr , |
|
3236 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_144_w_ECU))(Addr , |
| 3237 |
UInt ) ; |
|
3237 |
UInt ) ; |
| 3238 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_160_w_ECU))(Addr , |
|
3238 |
void ( __attribute__((__regparm__(2))) (*track_new_mem_stack_160_w_ECU))(Addr , |
| 3239 |
UInt ) ; |
|
3239 |
UInt ) ; |
| 3240 |
void (*track_new_mem_stack_w_ECU)(Addr , SizeT , UInt ) ; |
|
3240 |
void (*track_new_mem_stack_w_ECU)(Addr , SizeT , UInt ) ; |
| 3241 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_4))(Addr ) ; |
|
3241 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_4))(Addr ) ; |
| 3242 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_8))(Addr ) ; |
|
3242 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_8))(Addr ) ; |
| 3243 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_12))(Addr ) ; |
|
3243 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_12))(Addr ) ; |
| 3244 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_16))(Addr ) ; |
|
3244 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_16))(Addr ) ; |
| 3245 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_32))(Addr ) ; |
|
3245 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_32))(Addr ) ; |
| 3246 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_112))(Addr ) ; |
|
3246 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_112))(Addr ) ; |
| 3247 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_128))(Addr ) ; |
|
3247 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_128))(Addr ) ; |
| 3248 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_144))(Addr ) ; |
|
3248 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_144))(Addr ) ; |
| 3249 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_160))(Addr ) ; |
|
3249 |
void ( __attribute__((__regparm__(1))) (*track_new_mem_stack_160))(Addr ) ; |
| 3250 |
void (*track_new_mem_stack)(Addr , SizeT ) ; |
|
3250 |
void (*track_new_mem_stack)(Addr , SizeT ) ; |
| 3251 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_4))(Addr ) ; |
|
3251 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_4))(Addr ) ; |
| 3252 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_8))(Addr ) ; |
|
3252 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_8))(Addr ) ; |
| 3253 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_12))(Addr ) ; |
|
3253 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_12))(Addr ) ; |
| 3254 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_16))(Addr ) ; |
|
3254 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_16))(Addr ) ; |
| 3255 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_32))(Addr ) ; |
|
3255 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_32))(Addr ) ; |
| 3256 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_112))(Addr ) ; |
|
3256 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_112))(Addr ) ; |
| 3257 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_128))(Addr ) ; |
|
3257 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_128))(Addr ) ; |
| 3258 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_144))(Addr ) ; |
|
3258 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_144))(Addr ) ; |
| 3259 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_160))(Addr ) ; |
|
3259 |
void ( __attribute__((__regparm__(1))) (*track_die_mem_stack_160))(Addr ) ; |
| 3260 |
void (*track_die_mem_stack)(Addr , SizeT ) ; |
|
3260 |
void (*track_die_mem_stack)(Addr , SizeT ) ; |
| 3261 |
void (*track_ban_mem_stack)(Addr , SizeT ) ; |
|
3261 |
void (*track_ban_mem_stack)(Addr , SizeT ) ; |
| 3262 |
void (*track_pre_mem_read)(CorePart , ThreadId , Char * , Addr , SizeT ) ; |
|
3262 |
void (*track_pre_mem_read)(CorePart , ThreadId , Char * , Addr , SizeT ) ; |
| 3263 |
void (*track_pre_mem_read_asciiz)(CorePart , ThreadId , Char * , Addr ) ; |
|
3263 |
void (*track_pre_mem_read_asciiz)(CorePart , ThreadId , Char * , Addr ) ; |
| 3264 |
void (*track_pre_mem_write)(CorePart , ThreadId , Char * , Addr , SizeT ) ; |
|
3264 |
void (*track_pre_mem_write)(CorePart , ThreadId , Char * , Addr , SizeT ) ; |
| 3265 |
void (*track_post_mem_write)(CorePart , ThreadId , Addr , SizeT ) ; |
|
3265 |
void (*track_post_mem_write)(CorePart , ThreadId , Addr , SizeT ) ; |
| 3266 |
void (*track_pre_reg_read)(CorePart , ThreadId , Char * , PtrdiffT , |
|
3266 |
void (*track_pre_reg_read)(CorePart , ThreadId , Char * , PtrdiffT , |
| 3267 |
SizeT ) ; |
|
3267 |
SizeT ) ; |
| 3268 |
void (*track_post_reg_write)(CorePart , ThreadId , PtrdiffT , SizeT ) ; |
|
3268 |
void (*track_post_reg_write)(CorePart , ThreadId , PtrdiffT , SizeT ) ; |
| 3269 |
void (*track_post_reg_write_clientcall_return)(ThreadId , PtrdiffT , |
|
3269 |
void (*track_post_reg_write_clientcall_return)(ThreadId , PtrdiffT , |
| 3270 |
SizeT , Addr ) ; |
|
3270 |
SizeT , Addr ) ; |
| 3271 |
void (*track_start_client_code)(ThreadId , ULong ) ; |
|
3271 |
void (*track_start_client_code)(ThreadId , ULong ) ; |
| 3272 |
void (*track_stop_client_code)(ThreadId , ULong ) ; |
|
3272 |
void (*track_stop_client_code)(ThreadId , ULong ) ; |
| 3273 |
void (*track_pre_thread_ll_create)(ThreadId , ThreadId ) ; |
|
3273 |
void (*track_pre_thread_ll_create)(ThreadId , ThreadId ) ; |
| 3274 |
void (*track_pre_thread_first_insn)(ThreadId ) ; |
|
3274 |
void (*track_pre_thread_first_insn)(ThreadId ) ; |
| 3275 |
void (*track_pre_thread_ll_exit)(ThreadId ) ; |
|
3275 |
void (*track_pre_thread_ll_exit)(ThreadId ) ; |
| 3276 |
void (*track_pre_deliver_signal)(ThreadId , Int sigNo , Bool ) ; |
|
3276 |
void (*track_pre_deliver_signal)(ThreadId , Int sigNo , Bool ) ; |
| 3277 |
void (*track_post_deliver_signal)(ThreadId , Int sigNo ) ; |
|
3277 |
void (*track_post_deliver_signal)(ThreadId , Int sigNo ) ; |
| 3278 |
}; |
|
3278 |
}; |
| 3279 |
typedef struct __anonstruct_VgToolInterface_133 VgToolInterface; |
|
3279 |
typedef struct __anonstruct_VgToolInterface_133 VgToolInterface; |
| 3280 |
struct __anonstruct_FastCacheEntry_134 { |
|
3280 |
struct __anonstruct_FastCacheEntry_134 { |
| 3281 |
Addr guest ; |
|
3281 |
Addr guest ; |
| 3282 |
Addr host ; |
|
3282 |
Addr host ; |
| 3283 |
}; |
|
3283 |
}; |
| 3284 |
typedef struct __anonstruct_FastCacheEntry_134 FastCacheEntry; |
|
3284 |
typedef struct __anonstruct_FastCacheEntry_134 FastCacheEntry; |
| 3285 |
struct _BBProfEntry { |
|
3285 |
struct _BBProfEntry { |
| 3286 |
Addr64 addr ; |
|
3286 |
Addr64 addr ; |
| 3287 |
ULong score ; |
|
3287 |
ULong score ; |
| 3288 |
}; |
|
3288 |
}; |
| 3289 |
typedef struct _BBProfEntry BBProfEntry; |
|
3289 |
typedef struct _BBProfEntry BBProfEntry; |
| 3290 |
enum __anonenum_log_to_135 { |
|
3290 |
enum __anonenum_log_to_135 { |
| 3291 |
VgLogTo_Fd = 0, |
|
3291 |
VgLogTo_Fd = 0, |
| 3292 |
VgLogTo_File = 1, |
|
3292 |
VgLogTo_File = 1, |
| 3293 |
VgLogTo_Socket = 2 |
|
3293 |
VgLogTo_Socket = 2 |
| 3294 |
} ; |
|
3294 |
} ; |
| 3295 |
struct __anonstruct_Addr_n_ULong_136 { |
|
3295 |
struct __anonstruct_Addr_n_ULong_136 { |
| 3296 |
Addr a ; |
|
3296 |
Addr a ; |
| 3297 |
ULong ull ; |
|
3297 |
ULong ull ; |
| 3298 |
}; |
|
3298 |
}; |
| 3299 |
typedef struct __anonstruct_Addr_n_ULong_136 Addr_n_ULong; |
|
3299 |
typedef struct __anonstruct_Addr_n_ULong_136 Addr_n_ULong; |
| 3300 |
typedef signed char int8_t; |
|
3300 |
typedef signed char int8_t; |
| 3301 |
typedef short int16_t; |
|
3301 |
typedef short int16_t; |
| 3302 |
typedef int int32_t; |
|
3302 |
typedef int int32_t; |
| 3303 |
typedef long long int64_t; |
|
3303 |
typedef long long int64_t; |
| 3304 |
typedef unsigned char uint8_t; |
|
3304 |
typedef unsigned char uint8_t; |
| 3305 |
typedef unsigned short uint16_t; |
|
3305 |
typedef unsigned short uint16_t; |
| 3306 |
typedef unsigned int uint32_t; |
|
3306 |
typedef unsigned int uint32_t; |
| 3307 |
typedef unsigned long long uint64_t; |
|
3307 |
typedef unsigned long long uint64_t; |
| 3308 |
typedef signed char int_least8_t; |
|
3308 |
typedef signed char int_least8_t; |
| 3309 |
typedef short int_least16_t; |
|
3309 |
typedef short int_least16_t; |
| 3310 |
typedef int int_least32_t; |
|
3310 |
typedef int int_least32_t; |
| 3311 |
typedef long long int_least64_t; |
|
3311 |
typedef long long int_least64_t; |
| 3312 |
typedef unsigned char uint_least8_t; |
|
3312 |
typedef unsigned char uint_least8_t; |
| 3313 |
typedef unsigned short uint_least16_t; |
|
3313 |
typedef unsigned short uint_least16_t; |
| 3314 |
typedef unsigned int uint_least32_t; |
|
3314 |
typedef unsigned int uint_least32_t; |
| 3315 |
typedef unsigned long long uint_least64_t; |
|
3315 |
typedef unsigned long long uint_least64_t; |
| 3316 |
typedef signed char int_fast8_t; |
|
3316 |
typedef signed char int_fast8_t; |
| 3317 |
typedef int int_fast16_t; |
|
3317 |
typedef int int_fast16_t; |
| 3318 |
typedef int int_fast32_t; |
|
3318 |
typedef int int_fast32_t; |
| 3319 |
typedef long long int_fast64_t; |
|
3319 |
typedef long long int_fast64_t; |
| 3320 |
typedef unsigned char uint_fast8_t; |
|
3320 |
typedef unsigned char uint_fast8_t; |
| 3321 |
typedef unsigned int uint_fast16_t; |
|
3321 |
typedef unsigned int uint_fast16_t; |
| 3322 |
typedef unsigned int uint_fast32_t; |
|
3322 |
typedef unsigned int uint_fast32_t; |
| 3323 |
typedef unsigned long long uint_fast64_t; |
|
3323 |
typedef unsigned long long uint_fast64_t; |
| 3324 |
typedef int intptr_t; |
|
3324 |
typedef int intptr_t; |
| 3325 |
typedef unsigned int uintptr_t; |
|
3325 |
typedef unsigned int uintptr_t; |
| 3326 |
typedef long long intmax_t; |
|
3326 |
typedef long long intmax_t; |
| 3327 |
typedef unsigned long long uintmax_t; |
|
3327 |
typedef unsigned long long uintmax_t; |
| 3328 |
typedef uint16_t Elf32_Half; |
|
3328 |
typedef uint16_t Elf32_Half; |
| 3329 |
typedef uint16_t Elf64_Half; |
|
3329 |
typedef uint16_t Elf64_Half; |
| 3330 |
typedef uint32_t Elf32_Word; |
|
3330 |
typedef uint32_t Elf32_Word; |
| 3331 |
typedef int32_t Elf32_Sword; |
|
3331 |
typedef int32_t Elf32_Sword; |
| 3332 |
typedef uint32_t Elf64_Word; |
|
3332 |
typedef uint32_t Elf64_Word; |
| 3333 |
typedef int32_t Elf64_Sword; |
|
3333 |
typedef int32_t Elf64_Sword; |
| 3334 |
typedef uint64_t Elf32_Xword; |
|
3334 |
typedef uint64_t Elf32_Xword; |
| 3335 |
typedef int64_t Elf32_Sxword; |
|
3335 |
typedef int64_t Elf32_Sxword; |
| 3336 |
typedef uint64_t Elf64_Xword; |
|
3336 |
typedef uint64_t Elf64_Xword; |
| 3337 |
typedef int64_t Elf64_Sxword; |
|
3337 |
typedef int64_t Elf64_Sxword; |
| 3338 |
typedef uint32_t Elf32_Addr; |
|
3338 |
typedef uint32_t Elf32_Addr; |
| 3339 |
typedef uint64_t Elf64_Addr; |
|
3339 |
typedef uint64_t Elf64_Addr; |
| 3340 |
typedef uint32_t Elf32_Off; |
|
3340 |
typedef uint32_t Elf32_Off; |
| 3341 |
typedef uint64_t Elf64_Off; |
|
3341 |
typedef uint64_t Elf64_Off; |
| 3342 |
typedef uint16_t Elf32_Section; |
|
3342 |
typedef uint16_t Elf32_Section; |
| 3343 |
typedef uint16_t Elf64_Section; |
|
3343 |
typedef uint16_t Elf64_Section; |
| 3344 |
typedef Elf32_Half Elf32_Versym; |
|
3344 |
typedef Elf32_Half Elf32_Versym; |
| 3345 |
typedef Elf64_Half Elf64_Versym; |
|
3345 |
typedef Elf64_Half Elf64_Versym; |
| 3346 |
struct __anonstruct_Elf32_Ehdr_137 { |
|
3346 |
struct __anonstruct_Elf32_Ehdr_137 { |
| 3347 |
unsigned char e_ident[16] ; |
|
3347 |
unsigned char e_ident[16] ; |
| 3348 |
Elf32_Half e_type ; |
|
3348 |
Elf32_Half e_type ; |
| 3349 |
Elf32_Half e_machine ; |
|
3349 |
Elf32_Half e_machine ; |
| 3350 |
Elf32_Word e_version ; |
|
3350 |
Elf32_Word e_version ; |
| 3351 |
Elf32_Addr e_entry ; |
|
3351 |
Elf32_Addr e_entry ; |
| 3352 |
Elf32_Off e_phoff ; |
|
3352 |
Elf32_Off e_phoff ; |
| 3353 |
Elf32_Off e_shoff ; |
|
3353 |
Elf32_Off e_shoff ; |
| 3354 |
Elf32_Word e_flags ; |
|
3354 |
Elf32_Word e_flags ; |
| 3355 |
Elf32_Half e_ehsize ; |
|
3355 |
Elf32_Half e_ehsize ; |
| 3356 |
Elf32_Half e_phentsize ; |
|
3356 |
Elf32_Half e_phentsize ; |
| 3357 |
Elf32_Half e_phnum ; |
|
3357 |
Elf32_Half e_phnum ; |
| 3358 |
Elf32_Half e_shentsize ; |
|
3358 |
Elf32_Half e_shentsize ; |
| 3359 |
Elf32_Half e_shnum ; |
|
3359 |
Elf32_Half e_shnum ; |
| 3360 |
Elf32_Half e_shstrndx ; |
|
3360 |
Elf32_Half e_shstrndx ; |
| 3361 |
}; |
|
3361 |
}; |
| 3362 |
typedef struct __anonstruct_Elf32_Ehdr_137 Elf32_Ehdr; |
|
3362 |
typedef struct __anonstruct_Elf32_Ehdr_137 Elf32_Ehdr; |
| 3363 |
struct __anonstruct_Elf64_Ehdr_138 { |
|
3363 |
struct __anonstruct_Elf64_Ehdr_138 { |
| 3364 |
unsigned char e_ident[16] ; |
|
3364 |
unsigned char e_ident[16] ; |
| 3365 |
Elf64_Half e_type ; |
|
3365 |
Elf64_Half e_type ; |
| 3366 |
Elf64_Half e_machine ; |
|
3366 |
Elf64_Half e_machine ; |
| 3367 |
Elf64_Word e_version ; |
|
3367 |
Elf64_Word e_version ; |
| 3368 |
Elf64_Addr e_entry ; |
|
3368 |
Elf64_Addr e_entry ; |
| 3369 |
Elf64_Off e_phoff ; |
|
3369 |
Elf64_Off e_phoff ; |
| 3370 |
Elf64_Off e_shoff ; |
|
3370 |
Elf64_Off e_shoff ; |
| 3371 |
Elf64_Word e_flags ; |
|
3371 |
Elf64_Word e_flags ; |
| 3372 |
Elf64_Half e_ehsize ; |
|
3372 |
Elf64_Half e_ehsize ; |
| 3373 |
Elf64_Half e_phentsize ; |
|
3373 |
Elf64_Half e_phentsize ; |
| 3374 |
Elf64_Half e_phnum ; |
|
3374 |
Elf64_Half e_phnum ; |
| 3375 |
Elf64_Half e_shentsize ; |
|
3375 |
Elf64_Half e_shentsize ; |
| 3376 |
Elf64_Half e_shnum ; |
|
3376 |
Elf64_Half e_shnum ; |
| 3377 |
Elf64_Half e_shstrndx ; |
|
3377 |
Elf64_Half e_shstrndx ; |
| 3378 |
}; |
|
3378 |
}; |
| 3379 |
typedef struct __anonstruct_Elf64_Ehdr_138 Elf64_Ehdr; |
|
3379 |
typedef struct __anonstruct_Elf64_Ehdr_138 Elf64_Ehdr; |
| 3380 |
struct __anonstruct_Elf32_Shdr_139 { |
|
3380 |
struct __anonstruct_Elf32_Shdr_139 { |
| 3381 |
Elf32_Word sh_name ; |
|
3381 |
Elf32_Word sh_name ; |
| 3382 |
Elf32_Word sh_type ; |
|
3382 |
Elf32_Word sh_type ; |
| 3383 |
Elf32_Word sh_flags ; |
|
3383 |
Elf32_Word sh_flags ; |
| 3384 |
Elf32_Addr sh_addr ; |
|
3384 |
Elf32_Addr sh_addr ; |
| 3385 |
Elf32_Off sh_offset ; |
|
3385 |
Elf32_Off sh_offset ; |
| 3386 |
Elf32_Word sh_size ; |
|
3386 |
Elf32_Word sh_size ; |
| 3387 |
Elf32_Word sh_link ; |
|
3387 |
Elf32_Word sh_link ; |
| 3388 |
Elf32_Word sh_info ; |
|
3388 |
Elf32_Word sh_info ; |
| 3389 |
Elf32_Word sh_addralign ; |
|
3389 |
Elf32_Word sh_addralign ; |
| 3390 |
Elf32_Word sh_entsize ; |
|
3390 |
Elf32_Word sh_entsize ; |
| 3391 |
}; |
|
3391 |
}; |
| 3392 |
typedef struct __anonstruct_Elf32_Shdr_139 Elf32_Shdr; |
|
3392 |
typedef struct __anonstruct_Elf32_Shdr_139 Elf32_Shdr; |
| 3393 |
struct __anonstruct_Elf64_Shdr_140 { |
|
3393 |
struct __anonstruct_Elf64_Shdr_140 { |
| 3394 |
Elf64_Word sh_name ; |
|
3394 |
Elf64_Word sh_name ; |
| 3395 |
Elf64_Word sh_type ; |
|
3395 |
Elf64_Word sh_type ; |
| 3396 |
Elf64_Xword sh_flags ; |
|
3396 |
Elf64_Xword sh_flags ; |
| 3397 |
Elf64_Addr sh_addr ; |
|
3397 |
Elf64_Addr sh_addr ; |
| 3398 |
Elf64_Off sh_offset ; |
|
3398 |
Elf64_Off sh_offset ; |
| 3399 |
Elf64_Xword sh_size ; |
|
3399 |
Elf64_Xword sh_size ; |
| 3400 |
Elf64_Word sh_link ; |
|
3400 |
Elf64_Word sh_link ; |
| 3401 |
Elf64_Word sh_info ; |
|
3401 |
Elf64_Word sh_info ; |
| 3402 |
Elf64_Xword sh_addralign ; |
|
3402 |
Elf64_Xword sh_addralign ; |
| 3403 |
Elf64_Xword sh_entsize ; |
|
3403 |
Elf64_Xword sh_entsize ; |
| 3404 |
}; |
|
3404 |
}; |
| 3405 |
typedef struct __anonstruct_Elf64_Shdr_140 Elf64_Shdr; |
|
3405 |
typedef struct __anonstruct_Elf64_Shdr_140 Elf64_Shdr; |
| 3406 |
struct __anonstruct_Elf32_Sym_141 { |
|
3406 |
struct __anonstruct_Elf32_Sym_141 { |
| 3407 |
Elf32_Word st_name ; |
|
3407 |
Elf32_Word st_name ; |
| 3408 |
Elf32_Addr st_value ; |
|
3408 |
Elf32_Addr st_value ; |
| 3409 |
Elf32_Word st_size ; |
|
3409 |
Elf32_Word st_size ; |
| 3410 |
unsigned char st_info ; |
|
3410 |
unsigned char st_info ; |
| 3411 |
unsigned char st_other ; |
|
3411 |
unsigned char st_other ; |
| 3412 |
Elf32_Section st_shndx ; |
|
3412 |
Elf32_Section st_shndx ; |
| 3413 |
}; |
|
3413 |
}; |
| 3414 |
typedef struct __anonstruct_Elf32_Sym_141 Elf32_Sym; |
|
3414 |
typedef struct __anonstruct_Elf32_Sym_141 Elf32_Sym; |
| 3415 |
struct __anonstruct_Elf64_Sym_142 { |
|
3415 |
struct __anonstruct_Elf64_Sym_142 { |
| 3416 |
Elf64_Word st_name ; |
|
3416 |
Elf64_Word st_name ; |
| 3417 |
unsigned char st_info ; |
|
3417 |
unsigned char st_info ; |
| 3418 |
unsigned char st_other ; |
|
3418 |
unsigned char st_other ; |
| 3419 |
Elf64_Section st_shndx ; |
|
3419 |
Elf64_Section st_shndx ; |
| 3420 |
Elf64_Addr st_value ; |
|
3420 |
Elf64_Addr st_value ; |
| 3421 |
Elf64_Xword st_size ; |
|
3421 |
Elf64_Xword st_size ; |
| 3422 |
}; |
|
3422 |
}; |
| 3423 |
typedef struct __anonstruct_Elf64_Sym_142 Elf64_Sym; |
|
3423 |
typedef struct __anonstruct_Elf64_Sym_142 Elf64_Sym; |
| 3424 |
struct __anonstruct_Elf32_Syminfo_143 { |
|
3424 |
struct __anonstruct_Elf32_Syminfo_143 { |
| 3425 |
Elf32_Half si_boundto ; |
|
3425 |
Elf32_Half si_boundto ; |
| 3426 |
Elf32_Half si_flags ; |
|
3426 |
Elf32_Half si_flags ; |
| 3427 |
}; |
|
3427 |
}; |
| 3428 |
typedef struct __anonstruct_Elf32_Syminfo_143 Elf32_Syminfo; |
|
3428 |
typedef struct __anonstruct_Elf32_Syminfo_143 Elf32_Syminfo; |
| 3429 |
struct __anonstruct_Elf64_Syminfo_144 { |
|
3429 |
struct __anonstruct_Elf64_Syminfo_144 { |
| 3430 |
Elf64_Half si_boundto ; |
|
3430 |
Elf64_Half si_boundto ; |
| 3431 |
Elf64_Half si_flags ; |
|
3431 |
Elf64_Half si_flags ; |
| 3432 |
}; |
|
3432 |
}; |
| 3433 |
typedef struct __anonstruct_Elf64_Syminfo_144 Elf64_Syminfo; |
|
3433 |
typedef struct __anonstruct_Elf64_Syminfo_144 Elf64_Syminfo; |
| 3434 |
struct __anonstruct_Elf32_Rel_145 { |
|
3434 |
struct __anonstruct_Elf32_Rel_145 { |
| 3435 |
Elf32_Addr r_offset ; |
|
3435 |
Elf32_Addr r_offset ; |
| 3436 |
Elf32_Word r_info ; |
|
3436 |
Elf32_Word r_info ; |
| 3437 |
}; |
|
3437 |
}; |
| 3438 |
typedef struct __anonstruct_Elf32_Rel_145 Elf32_Rel; |
|
3438 |
typedef struct __anonstruct_Elf32_Rel_145 Elf32_Rel; |
| 3439 |
struct __anonstruct_Elf64_Rel_146 { |
|
3439 |
struct __anonstruct_Elf64_Rel_146 { |
| 3440 |
Elf64_Addr r_offset ; |
|
3440 |
Elf64_Addr r_offset ; |
| 3441 |
Elf64_Xword r_info ; |
|
3441 |
Elf64_Xword r_info ; |
| 3442 |
}; |
|
3442 |
}; |
| 3443 |
typedef struct __anonstruct_Elf64_Rel_146 Elf64_Rel; |
|
3443 |
typedef struct __anonstruct_Elf64_Rel_146 Elf64_Rel; |
| 3444 |
struct __anonstruct_Elf32_Rela_147 { |
|
3444 |
struct __anonstruct_Elf32_Rela_147 { |
| 3445 |
Elf32_Addr r_offset ; |
|
3445 |
Elf32_Addr r_offset ; |
| 3446 |
Elf32_Word r_info ; |
|
3446 |
Elf32_Word r_info ; |
| 3447 |
Elf32_Sword r_addend ; |
|
3447 |
Elf32_Sword r_addend ; |
| 3448 |
}; |
|
3448 |
}; |
| 3449 |
typedef struct __anonstruct_Elf32_Rela_147 Elf32_Rela; |
|
3449 |
typedef struct __anonstruct_Elf32_Rela_147 Elf32_Rela; |
| 3450 |
struct __anonstruct_Elf64_Rela_148 { |
|
3450 |
struct __anonstruct_Elf64_Rela_148 { |
| 3451 |
Elf64_Addr r_offset ; |
|
3451 |
Elf64_Addr r_offset ; |
| 3452 |
Elf64_Xword r_info ; |
|
3452 |
Elf64_Xword r_info ; |
| 3453 |
Elf64_Sxword r_addend ; |
|
3453 |
Elf64_Sxword r_addend ; |
| 3454 |
}; |
|
3454 |
}; |
| 3455 |
typedef struct __anonstruct_Elf64_Rela_148 Elf64_Rela; |
|
3455 |
typedef struct __anonstruct_Elf64_Rela_148 Elf64_Rela; |
| 3456 |
struct __anonstruct_Elf32_Phdr_149 { |
|
3456 |
struct __anonstruct_Elf32_Phdr_149 { |
| 3457 |
Elf32_Word p_type ; |
|
3457 |
Elf32_Word p_type ; |
| 3458 |
Elf32_Off p_offset ; |
|
3458 |
Elf32_Off p_offset ; |
| 3459 |
Elf32_Addr p_vaddr ; |
|
3459 |
Elf32_Addr p_vaddr ; |
| 3460 |
Elf32_Addr p_paddr ; |
|
3460 |
Elf32_Addr p_paddr ; |
| 3461 |
Elf32_Word p_filesz ; |
|
3461 |
Elf32_Word p_filesz ; |
| 3462 |
Elf32_Word p_memsz ; |
|
3462 |
Elf32_Word p_memsz ; |
| 3463 |
Elf32_Word p_flags ; |
|
3463 |
Elf32_Word p_flags ; |
| 3464 |
Elf32_Word p_align ; |
|
3464 |
Elf32_Word p_align ; |
| 3465 |
}; |
|
3465 |
}; |
| 3466 |
typedef struct __anonstruct_Elf32_Phdr_149 Elf32_Phdr; |
|
3466 |
typedef struct __anonstruct_Elf32_Phdr_149 Elf32_Phdr; |
| 3467 |
struct __anonstruct_Elf64_Phdr_150 { |
|
3467 |
struct __anonstruct_Elf64_Phdr_150 { |
| 3468 |
Elf64_Word p_type ; |
|
3468 |
Elf64_Word p_type ; |
| 3469 |
Elf64_Word p_flags ; |
|
3469 |
Elf64_Word p_flags ; |
| 3470 |
Elf64_Off p_offset ; |
|
3470 |
Elf64_Off p_offset ; |
| 3471 |
Elf64_Addr p_vaddr ; |
|
3471 |
Elf64_Addr p_vaddr ; |
| 3472 |
Elf64_Addr p_paddr ; |
|
3472 |
Elf64_Addr p_paddr ; |
| 3473 |
Elf64_Xword p_filesz ; |
|
3473 |
Elf64_Xword p_filesz ; |
| 3474 |
Elf64_Xword p_memsz ; |
|
3474 |
Elf64_Xword p_memsz ; |
| 3475 |
Elf64_Xword p_align ; |
|
3475 |
Elf64_Xword p_align ; |
| 3476 |
}; |
|
3476 |
}; |
| 3477 |
typedef struct __anonstruct_Elf64_Phdr_150 Elf64_Phdr; |
|
3477 |
typedef struct __anonstruct_Elf64_Phdr_150 Elf64_Phdr; |
| 3478 |
union __anonunion_d_un_152 { |
|
3478 |
union __anonunion_d_un_152 { |
| 3479 |
Elf32_Word d_val ; |
|
3479 |
Elf32_Word d_val ; |
| 3480 |
Elf32_Addr d_ptr ; |
|
3480 |
Elf32_Addr d_ptr ; |
| 3481 |
}; |
|
3481 |
}; |
| 3482 |
struct __anonstruct_Elf32_Dyn_151 { |
|
3482 |
struct __anonstruct_Elf32_Dyn_151 { |
| 3483 |
Elf32_Sword d_tag ; |
|
3483 |
Elf32_Sword d_tag ; |
| 3484 |
union __anonunion_d_un_152 d_un ; |
|
3484 |
union __anonunion_d_un_152 d_un ; |
| 3485 |
}; |
|
3485 |
}; |
| 3486 |
typedef struct __anonstruct_Elf32_Dyn_151 Elf32_Dyn; |
|
3486 |
typedef struct __anonstruct_Elf32_Dyn_151 Elf32_Dyn; |
| 3487 |
union __anonunion_d_un_154 { |
|
3487 |
union __anonunion_d_un_154 { |
| 3488 |
Elf64_Xword d_val ; |
|
3488 |
Elf64_Xword d_val ; |
| 3489 |
Elf64_Addr d_ptr ; |
|
3489 |
Elf64_Addr d_ptr ; |
| 3490 |
}; |
|
3490 |
}; |
| 3491 |
struct __anonstruct_Elf64_Dyn_153 { |
|
3491 |
struct __anonstruct_Elf64_Dyn_153 { |
| 3492 |
Elf64_Sxword d_tag ; |
|
3492 |
Elf64_Sxword d_tag ; |
| 3493 |
union __anonunion_d_un_154 d_un ; |
|
3493 |
union __anonunion_d_un_154 d_un ; |
| 3494 |
}; |
|
3494 |
}; |
| 3495 |
typedef struct __anonstruct_Elf64_Dyn_153 Elf64_Dyn; |
|
3495 |
typedef struct __anonstruct_Elf64_Dyn_153 Elf64_Dyn; |
| 3496 |
struct __anonstruct_Elf32_Verdef_155 { |
|
3496 |
struct __anonstruct_Elf32_Verdef_155 { |
| 3497 |
Elf32_Half vd_version ; |
|
3497 |
Elf32_Half vd_version ; |
| 3498 |
Elf32_Half vd_flags ; |
|
3498 |
Elf32_Half vd_flags ; |
| 3499 |
Elf32_Half vd_ndx ; |
|
3499 |
Elf32_Half vd_ndx ; |
| 3500 |
Elf32_Half vd_cnt ; |
|
3500 |
Elf32_Half vd_cnt ; |
| 3501 |
Elf32_Word vd_hash ; |
|
3501 |
Elf32_Word vd_hash ; |
| 3502 |
Elf32_Word vd_aux ; |
|
3502 |
Elf32_Word vd_aux ; |
| 3503 |
Elf32_Word vd_next ; |
|
3503 |
Elf32_Word vd_next ; |
| 3504 |
}; |
|
3504 |
}; |
| 3505 |
typedef struct __anonstruct_Elf32_Verdef_155 Elf32_Verdef; |
|
3505 |
typedef struct __anonstruct_Elf32_Verdef_155 Elf32_Verdef; |
| 3506 |
struct __anonstruct_Elf64_Verdef_156 { |
|
3506 |
struct __anonstruct_Elf64_Verdef_156 { |
| 3507 |
Elf64_Half vd_version ; |
|
3507 |
Elf64_Half vd_version ; |
| 3508 |
Elf64_Half vd_flags ; |
|
3508 |
Elf64_Half vd_flags ; |
| 3509 |
Elf64_Half vd_ndx ; |
|
3509 |
Elf64_Half vd_ndx ; |
| 3510 |
Elf64_Half vd_cnt ; |
|
3510 |
Elf64_Half vd_cnt ; |
| 3511 |
Elf64_Word vd_hash ; |
|
3511 |
Elf64_Word vd_hash ; |
| 3512 |
Elf64_Word vd_aux ; |
|
3512 |
Elf64_Word vd_aux ; |
| 3513 |
Elf64_Word vd_next ; |
|
3513 |
Elf64_Word vd_next ; |
| 3514 |
}; |
|
3514 |
}; |
| 3515 |
typedef struct __anonstruct_Elf64_Verdef_156 Elf64_Verdef; |
|
3515 |
typedef struct __anonstruct_Elf64_Verdef_156 Elf64_Verdef; |
| 3516 |
struct __anonstruct_Elf32_Verdaux_157 { |
|
3516 |
struct __anonstruct_Elf32_Verdaux_157 { |
| 3517 |
Elf32_Word vda_name ; |
|
3517 |
Elf32_Word vda_name ; |
| 3518 |
Elf32_Word vda_next ; |
|
3518 |
Elf32_Word vda_next ; |
| 3519 |
}; |
|
3519 |
}; |
| 3520 |
typedef struct __anonstruct_Elf32_Verdaux_157 Elf32_Verdaux; |
|
3520 |
typedef struct __anonstruct_Elf32_Verdaux_157 Elf32_Verdaux; |
| 3521 |
struct __anonstruct_Elf64_Verdaux_158 { |
|
3521 |
struct __anonstruct_Elf64_Verdaux_158 { |
| 3522 |
Elf64_Word vda_name ; |
|
3522 |
Elf64_Word vda_name ; |
| 3523 |
Elf64_Word vda_next ; |
|
3523 |
Elf64_Word vda_next ; |
| 3524 |
}; |
|
3524 |
}; |
| 3525 |
typedef struct __anonstruct_Elf64_Verdaux_158 Elf64_Verdaux; |
|
3525 |
typedef struct __anonstruct_Elf64_Verdaux_158 Elf64_Verdaux; |
| 3526 |
struct __anonstruct_Elf32_Verneed_159 { |
|
3526 |
struct __anonstruct_Elf32_Verneed_159 { |
| 3527 |
Elf32_Half vn_version ; |
|
3527 |
Elf32_Half vn_version ; |
| 3528 |
Elf32_Half vn_cnt ; |
|
3528 |
Elf32_Half vn_cnt ; |
| 3529 |
Elf32_Word vn_file ; |
|
3529 |
Elf32_Word vn_file ; |
| 3530 |
Elf32_Word vn_aux ; |
|
3530 |
Elf32_Word vn_aux ; |
| 3531 |
Elf32_Word vn_next ; |
|
3531 |
Elf32_Word vn_next ; |
| 3532 |
}; |
|
3532 |
}; |
| 3533 |
typedef struct __anonstruct_Elf32_Verneed_159 Elf32_Verneed; |
|
3533 |
typedef struct __anonstruct_Elf32_Verneed_159 Elf32_Verneed; |
| 3534 |
struct __anonstruct_Elf64_Verneed_160 { |
|
3534 |
struct __anonstruct_Elf64_Verneed_160 { |
| 3535 |
Elf64_Half vn_version ; |
|
3535 |
Elf64_Half vn_version ; |
| 3536 |
Elf64_Half vn_cnt ; |
|
3536 |
Elf64_Half vn_cnt ; |
| 3537 |
Elf64_Word vn_file ; |
|
3537 |
Elf64_Word vn_file ; |
| 3538 |
Elf64_Word vn_aux ; |
|
3538 |
Elf64_Word vn_aux ; |
| 3539 |
Elf64_Word vn_next ; |
|
3539 |
Elf64_Word vn_next ; |
| 3540 |
}; |
|
3540 |
}; |
| 3541 |
typedef struct __anonstruct_Elf64_Verneed_160 Elf64_Verneed; |
|
3541 |
typedef struct __anonstruct_Elf64_Verneed_160 Elf64_Verneed; |
| 3542 |
struct __anonstruct_Elf32_Vernaux_161 { |
|
3542 |
struct __anonstruct_Elf32_Vernaux_161 { |
| 3543 |
Elf32_Word vna_hash ; |
|
3543 |
Elf32_Word vna_hash ; |
| 3544 |
Elf32_Half vna_flags ; |
|
3544 |
Elf32_Half vna_flags ; |
| 3545 |
Elf32_Half vna_other ; |
|
3545 |
Elf32_Half vna_other ; |
| 3546 |
Elf32_Word vna_name ; |
|
3546 |
Elf32_Word vna_name ; |
| 3547 |
Elf32_Word vna_next ; |
|
3547 |
Elf32_Word vna_next ; |
| 3548 |
}; |
|
3548 |
}; |
| 3549 |
typedef struct __anonstruct_Elf32_Vernaux_161 Elf32_Vernaux; |
|
3549 |
typedef struct __anonstruct_Elf32_Vernaux_161 Elf32_Vernaux; |
| 3550 |
struct __anonstruct_Elf64_Vernaux_162 { |
|
3550 |
struct __anonstruct_Elf64_Vernaux_162 { |
| 3551 |
Elf64_Word vna_hash ; |
|
3551 |
Elf64_Word vna_hash ; |
| 3552 |
Elf64_Half vna_flags ; |
|
3552 |
Elf64_Half vna_flags ; |
| 3553 |
Elf64_Half vna_other ; |
|
3553 |
Elf64_Half vna_other ; |
| 3554 |
Elf64_Word vna_name ; |
|
3554 |
Elf64_Word vna_name ; |
| 3555 |
Elf64_Word vna_next ; |
|
3555 |
Elf64_Word vna_next ; |
| 3556 |
}; |
|
3556 |
}; |
| 3557 |
typedef struct __anonstruct_Elf64_Vernaux_162 Elf64_Vernaux; |
|
3557 |
typedef struct __anonstruct_Elf64_Vernaux_162 Elf64_Vernaux; |
| 3558 |
union __anonunion_a_un_164 { |
|
3558 |
union __anonunion_a_un_164 { |
| 3559 |
uint32_t a_val ; |
|
3559 |
uint32_t a_val ; |
| 3560 |
}; |
|
3560 |
}; |
| 3561 |
struct __anonstruct_Elf32_auxv_t_163 { |
|
3561 |
struct __anonstruct_Elf32_auxv_t_163 { |
| 3562 |
uint32_t a_type ; |
|
3562 |
uint32_t a_type ; |
| 3563 |
union __anonunion_a_un_164 a_un ; |
|
3563 |
union __anonunion_a_un_164 a_un ; |
| 3564 |
}; |
|
3564 |
}; |
| 3565 |
typedef struct __anonstruct_Elf32_auxv_t_163 Elf32_auxv_t; |
|
3565 |
typedef struct __anonstruct_Elf32_auxv_t_163 Elf32_auxv_t; |
| 3566 |
union __anonunion_a_un_166 { |
|
3566 |
union __anonunion_a_un_166 { |
| 3567 |
uint64_t a_val ; |
|
3567 |
uint64_t a_val ; |
| 3568 |
}; |
|
3568 |
}; |
| 3569 |
struct __anonstruct_Elf64_auxv_t_165 { |
|
3569 |
struct __anonstruct_Elf64_auxv_t_165 { |
| 3570 |
uint64_t a_type ; |
|
3570 |
uint64_t a_type ; |
| 3571 |
union __anonunion_a_un_166 a_un ; |
|
3571 |
union __anonunion_a_un_166 a_un ; |
| 3572 |
}; |
|
3572 |
}; |
| 3573 |
typedef struct __anonstruct_Elf64_auxv_t_165 Elf64_auxv_t; |
|
3573 |
typedef struct __anonstruct_Elf64_auxv_t_165 Elf64_auxv_t; |
| 3574 |
struct __anonstruct_Elf32_Nhdr_167 { |
|
3574 |
struct __anonstruct_Elf32_Nhdr_167 { |
| 3575 |
Elf32_Word n_namesz ; |
|
3575 |
Elf32_Word n_namesz ; |
| 3576 |
Elf32_Word n_descsz ; |
|
3576 |
Elf32_Word n_descsz ; |
| 3577 |
Elf32_Word n_type ; |
|
3577 |
Elf32_Word n_type ; |
| 3578 |
}; |
|
3578 |
}; |
| 3579 |
typedef struct __anonstruct_Elf32_Nhdr_167 Elf32_Nhdr; |
|
3579 |
typedef struct __anonstruct_Elf32_Nhdr_167 Elf32_Nhdr; |
| 3580 |
struct __anonstruct_Elf64_Nhdr_168 { |
|
3580 |
struct __anonstruct_Elf64_Nhdr_168 { |
| 3581 |
Elf64_Word n_namesz ; |
|
3581 |
Elf64_Word n_namesz ; |
| 3582 |
Elf64_Word n_descsz ; |
|
3582 |
Elf64_Word n_descsz ; |
| 3583 |
Elf64_Word n_type ; |
|
3583 |
Elf64_Word n_type ; |
| 3584 |
}; |
|
3584 |
}; |
| 3585 |
typedef struct __anonstruct_Elf64_Nhdr_168 Elf64_Nhdr; |
|
3585 |
typedef struct __anonstruct_Elf64_Nhdr_168 Elf64_Nhdr; |
| 3586 |
struct __anonstruct_Elf32_Move_169 { |
|
3586 |
struct __anonstruct_Elf32_Move_169 { |
| 3587 |
Elf32_Xword m_value ; |
|
3587 |
Elf32_Xword m_value ; |
| 3588 |
Elf32_Word m_info ; |
|
3588 |
Elf32_Word m_info ; |
| 3589 |
Elf32_Word m_poffset ; |
|
3589 |
Elf32_Word m_poffset ; |
| 3590 |
Elf32_Half m_repeat ; |
|
3590 |
Elf32_Half m_repeat ; |
| 3591 |
Elf32_Half m_stride ; |
|
3591 |
Elf32_Half m_stride ; |
| 3592 |
}; |
|
3592 |
}; |
| 3593 |
typedef struct __anonstruct_Elf32_Move_169 Elf32_Move; |
|
3593 |
typedef struct __anonstruct_Elf32_Move_169 Elf32_Move; |
| 3594 |
struct __anonstruct_Elf64_Move_170 { |
|
3594 |
struct __anonstruct_Elf64_Move_170 { |
| 3595 |
Elf64_Xword m_value ; |
|
3595 |
Elf64_Xword m_value ; |
| 3596 |
Elf64_Xword m_info ; |
|
3596 |
Elf64_Xword m_info ; |
| 3597 |
Elf64_Xword m_poffset ; |
|
3597 |
Elf64_Xword m_poffset ; |
| 3598 |
Elf64_Half m_repeat ; |
|
3598 |
Elf64_Half m_repeat ; |
| 3599 |
Elf64_Half m_stride ; |
|
3599 |
Elf64_Half m_stride ; |
| 3600 |
}; |
|
3600 |
}; |
| 3601 |
typedef struct __anonstruct_Elf64_Move_170 Elf64_Move; |
|
3601 |
typedef struct __anonstruct_Elf64_Move_170 Elf64_Move; |
| 3602 |
struct __anonstruct_gt_header_172 { |
|
3602 |
struct __anonstruct_gt_header_172 { |
| 3603 |
Elf32_Word gt_current_g_value ; |
|
3603 |
Elf32_Word gt_current_g_value ; |
| 3604 |
Elf32_Word gt_unused ; |
|
3604 |
Elf32_Word gt_unused ; |
| 3605 |
}; |
|
3605 |
}; |
| 3606 |
struct __anonstruct_gt_entry_173 { |
|
3606 |
struct __anonstruct_gt_entry_173 { |
| 3607 |
Elf32_Word gt_g_value ; |
|
3607 |
Elf32_Word gt_g_value ; |
| 3608 |
Elf32_Word gt_bytes ; |
|
3608 |
Elf32_Word gt_bytes ; |
| 3609 |
}; |
|
3609 |
}; |
| 3610 |
union __anonunion_Elf32_gptab_171 { |
|
3610 |
union __anonunion_Elf32_gptab_171 { |
| 3611 |
struct __anonstruct_gt_header_172 gt_header ; |
|
3611 |
struct __anonstruct_gt_header_172 gt_header ; |
| 3612 |
struct __anonstruct_gt_entry_173 gt_entry ; |
|
3612 |
struct __anonstruct_gt_entry_173 gt_entry ; |
| 3613 |
}; |
|
3613 |
}; |
| 3614 |
typedef union __anonunion_Elf32_gptab_171 Elf32_gptab; |
|
3614 |
typedef union __anonunion_Elf32_gptab_171 Elf32_gptab; |
| 3615 |
struct __anonstruct_Elf32_RegInfo_174 { |
|
3615 |
struct __anonstruct_Elf32_RegInfo_174 { |
| 3616 |
Elf32_Word ri_gprmask ; |
|
3616 |
Elf32_Word ri_gprmask ; |
| 3617 |
Elf32_Word ri_cprmask[4] ; |
|
3617 |
Elf32_Word ri_cprmask[4] ; |
| 3618 |
Elf32_Sword ri_gp_value ; |
|
3618 |
Elf32_Sword ri_gp_value ; |
| 3619 |
}; |
|
3619 |
}; |
| 3620 |
typedef struct __anonstruct_Elf32_RegInfo_174 Elf32_RegInfo; |
|
3620 |
typedef struct __anonstruct_Elf32_RegInfo_174 Elf32_RegInfo; |
| 3621 |
struct __anonstruct_Elf_Options_175 { |
|
3621 |
struct __anonstruct_Elf_Options_175 { |
| 3622 |
unsigned char kind ; |
|
3622 |
unsigned char kind ; |
| 3623 |
unsigned char size ; |
|
3623 |
unsigned char size ; |
| 3624 |
Elf32_Section section ; |
|
3624 |
Elf32_Section section ; |
| 3625 |
Elf32_Word info ; |
|
3625 |
Elf32_Word info ; |
| 3626 |
}; |
|
3626 |
}; |
| 3627 |
typedef struct __anonstruct_Elf_Options_175 Elf_Options; |
|
3627 |
typedef struct __anonstruct_Elf_Options_175 Elf_Options; |
| 3628 |
struct __anonstruct_Elf_Options_Hw_176 { |
|
3628 |
struct __anonstruct_Elf_Options_Hw_176 { |
| 3629 |
Elf32_Word hwp_flags1 ; |
|
3629 |
Elf32_Word hwp_flags1 ; |
| 3630 |
Elf32_Word hwp_flags2 ; |
|
3630 |
Elf32_Word hwp_flags2 ; |
| 3631 |
}; |
|
3631 |
}; |
| 3632 |
typedef struct __anonstruct_Elf_Options_Hw_176 Elf_Options_Hw; |
|
3632 |
typedef struct __anonstruct_Elf_Options_Hw_176 Elf_Options_Hw; |
| 3633 |
struct __anonstruct_Elf32_Lib_177 { |
|
3633 |
struct __anonstruct_Elf32_Lib_177 { |
| 3634 |
Elf32_Word l_name ; |
|
3634 |
Elf32_Word l_name ; |
| 3635 |
Elf32_Word l_time_stamp ; |
|
3635 |
Elf32_Word l_time_stamp ; |
| 3636 |
Elf32_Word l_checksum ; |
|
3636 |
Elf32_Word l_checksum ; |
| 3637 |
Elf32_Word l_version ; |
|
3637 |
Elf32_Word l_version ; |
| 3638 |
Elf32_Word l_flags ; |
|
3638 |
Elf32_Word l_flags ; |
| 3639 |
}; |
|
3639 |
}; |
| 3640 |
typedef struct __anonstruct_Elf32_Lib_177 Elf32_Lib; |
|
3640 |
typedef struct __anonstruct_Elf32_Lib_177 Elf32_Lib; |
| 3641 |
struct __anonstruct_Elf64_Lib_178 { |
|
3641 |
struct __anonstruct_Elf64_Lib_178 { |
| 3642 |
Elf64_Word l_name ; |
|
3642 |
Elf64_Word l_name ; |
| 3643 |
Elf64_Word l_time_stamp ; |
|
3643 |
Elf64_Word l_time_stamp ; |
| 3644 |
Elf64_Word l_checksum ; |
|
3644 |
Elf64_Word l_checksum ; |
| 3645 |
Elf64_Word l_version ; |
|
3645 |
Elf64_Word l_version ; |
| 3646 |
Elf64_Word l_flags ; |
|
3646 |
Elf64_Word l_flags ; |
| 3647 |
}; |
|
3647 |
}; |
| 3648 |
typedef struct __anonstruct_Elf64_Lib_178 Elf64_Lib; |
|
3648 |
typedef struct __anonstruct_Elf64_Lib_178 Elf64_Lib; |
| 3649 |
typedef Elf32_Addr Elf32_Conflict; |
|
3649 |
typedef Elf32_Addr Elf32_Conflict; |
| 3650 |
__inline static Bool toBool(Int x ) |
|
3650 |
__inline static Bool toBool(Int x ) |
| 3651 |
{ |
|
3651 |
{ |
| 3652 |
Int r ; |
|
3652 |
Int r ; |
| 3653 |
int tmp ; |
|
3653 |
int tmp ; |
| 3654 |
|
|
3654 |
|
| 3655 |
{ |
|
3655 |
{ |
| 3656 |
if (x == 0) { |
|
3656 |
if (x == 0) { |
| 3657 |
tmp = (int )((Bool )0); |
|
3657 |
tmp = (int )((Bool )0); |
| 3658 |
} else { |
|
3658 |
} else { |
| 3659 |
tmp = (int )((Bool )1); |
|
3659 |
tmp = (int )((Bool )1); |
| 3660 |
} |
|
3660 |
} |
| 3661 |
r = tmp; |
|
3661 |
r = tmp; |
| 3662 |
return ((Bool )r); |
|
3662 |
return ((Bool )r); |
| 3663 |
} |
|
3663 |
} |
| 3664 |
} |
|
3664 |
} |
| 3665 |
__inline static UChar toUChar(Int x ) |
|
3665 |
__inline static UChar toUChar(Int x ) |
| 3666 |
{ |
|
3666 |
{ |
| 3667 |
|
|
3667 |
|
| 3668 |
|
|
3668 |
|
| 3669 |
{ |
|
3669 |
{ |
| 3670 |
x &= 255; |
|
3670 |
x &= 255; |
| 3671 |
return ((UChar )x); |
|
3671 |
return ((UChar )x); |
| 3672 |
} |
|
3672 |
} |
| 3673 |
} |
|
3673 |
} |
| 3674 |
__inline static HChar toHChar(Int x ) |
|
3674 |
__inline static HChar toHChar(Int x ) |
| 3675 |
{ |
|
3675 |
{ |
| 3676 |
|
|
3676 |
|
| 3677 |
|
|
3677 |
|
| 3678 |
{ |
|
3678 |
{ |
| 3679 |
x &= 255; |
|
3679 |
x &= 255; |
| 3680 |
return ((HChar )x); |
|
3680 |
return ((HChar )x); |
| 3681 |
} |
|
3681 |
} |
| 3682 |
} |
|
3682 |
} |
| 3683 |
__inline static UShort toUShort(Int x ) |
|
3683 |
__inline static UShort toUShort(Int x ) |
| 3684 |
{ |
|
3684 |
{ |
| 3685 |
|
|
3685 |
|
| 3686 |
|
|
3686 |
|
| 3687 |
{ |
|
3687 |
{ |
| 3688 |
x &= 65535; |
|
3688 |
x &= 65535; |
| 3689 |
return ((UShort )x); |
|
3689 |
return ((UShort )x); |
| 3690 |
} |
|
3690 |
} |
| 3691 |
} |
|
3691 |
} |
| 3692 |
__inline static Short toShort(Int x ) |
|
3692 |
__inline static Short toShort(Int x ) |
| 3693 |
{ |
|
3693 |
{ |
| 3694 |
|
|
3694 |
|
| 3695 |
|
|
3695 |
|
| 3696 |
{ |
|
3696 |
{ |
| 3697 |
x &= 65535; |
|
3697 |
x &= 65535; |
| 3698 |
return ((Short )x); |
|
3698 |
return ((Short )x); |
| 3699 |
} |
|
3699 |
} |
| 3700 |
} |
|
3700 |
} |
| 3701 |
__inline static UInt toUInt(Long x ) |
|
3701 |
__inline static UInt toUInt(Long x ) |
| 3702 |
{ |
|
3702 |
{ |
| 3703 |
|
|
3703 |
|
| 3704 |
|
|
3704 |
|
| 3705 |
{ |
|
3705 |
{ |
| 3706 |
x &= 4294967295LL; |
|
3706 |
x &= 4294967295LL; |
| 3707 |
return ((UInt )x); |
|
3707 |
return ((UInt )x); |
| 3708 |
} |
|
3708 |
} |
| 3709 |
} |
|
3709 |
} |
| 3710 |
__inline static ULong Ptr_to_ULong(void *p ) |
|
3710 |
__inline static ULong Ptr_to_ULong(void *p ) |
| 3711 |
{ |
|
3711 |
{ |
| 3712 |
UInt w ; |
|
3712 |
UInt w ; |
| 3713 |
|
|
3713 |
|
| 3714 |
{ |
|
3714 |
{ |
| 3715 |
w = (UInt )p; |
|
3715 |
w = (UInt )p; |
| 3716 |
return ((ULong )w); |
|
3716 |
return ((ULong )w); |
| 3717 |
} |
|
3717 |
} |
| 3718 |
} |
|
3718 |
} |
| 3719 |
__inline static void *ULong_to_Ptr(ULong n ) |
|
3719 |
__inline static void *ULong_to_Ptr(ULong n ) |
| 3720 |
{ |
|
3720 |
{ |
| 3721 |
UInt w ; |
|
3721 |
UInt w ; |
| 3722 |
|
|
3722 |
|
| 3723 |
{ |
|
3723 |
{ |
| 3724 |
w = (UInt )n; |
|
3724 |
w = (UInt )n; |
| 3725 |
return ((void *)w); |
|
3725 |
return ((void *)w); |
| 3726 |
} |
|
3726 |
} |
| 3727 |
} |
|
3727 |
} |
| 3728 |
__inline static Bool sr_isError(SysRes sr ) |
|
3728 |
__inline static Bool sr_isError(SysRes sr ) |
| 3729 |
{ |
|
3729 |
{ |
| 3730 |
|
|
3730 |
|
| 3731 |
|
|
3731 |
|
| 3732 |
{ |
|
3732 |
{ |
| 3733 |
return (sr._isError); |
|
3733 |
return (sr._isError); |
| 3734 |
} |
|
3734 |
} |
| 3735 |
} |
|
3735 |
} |
| 3736 |
__inline static UWord sr_Res(SysRes sr ) |
|
3736 |
__inline static UWord sr_Res(SysRes sr ) |
| 3737 |
{ |
|
3737 |
{ |
| 3738 |
UWord tmp ; |
|
3738 |
UWord tmp ; |
| 3739 |
|
|
3739 |
|
| 3740 |
{ |
|
3740 |
{ |
| 3741 |
if (sr._isError) { |
|
3741 |
if (sr._isError) { |
| 3742 |
tmp = (UWord )0; |
|
3742 |
tmp = (UWord )0; |
| 3743 |
} else { |
|
3743 |
} else { |
| 3744 |
tmp = sr._val; |
|
3744 |
tmp = sr._val; |
| 3745 |
} |
|
3745 |
} |
| 3746 |
return (tmp); |
|
3746 |
return (tmp); |
| 3747 |
} |
|
3747 |
} |
| 3748 |
} |
|
3748 |
} |
| 3749 |
__inline static UWord sr_ResHI(SysRes sr ) |
|
3749 |
__inline static UWord sr_ResHI(SysRes sr ) |
| 3750 |
{ |
|
3750 |
{ |
| 3751 |
|
|
3751 |
|
| 3752 |
|
|
3752 |
|
| 3753 |
{ |
|
3753 |
{ |
| 3754 |
return ((UWord )0); |
|
3754 |
return ((UWord )0); |
| 3755 |
} |
|
3755 |
} |
| 3756 |
} |
|
3756 |
} |
| 3757 |
__inline static UWord sr_Err(SysRes sr ) |
|
3757 |
__inline static UWord sr_Err(SysRes sr ) |
| 3758 |
{ |
|
3758 |
{ |
| 3759 |
UWord tmp ; |
|
3759 |
UWord tmp ; |
| 3760 |
|
|
3760 |
|
| 3761 |
{ |
|
3761 |
{ |
| 3762 |
if (sr._isError) { |
|
3762 |
if (sr._isError) { |
| 3763 |
tmp = sr._val; |
|
3763 |
tmp = sr._val; |
| 3764 |
} else { |
|
3764 |
} else { |
| 3765 |
tmp = (UWord )0; |
|
3765 |
tmp = (UWord )0; |
| 3766 |
} |
|
3766 |
} |
| 3767 |
return (tmp); |
|
3767 |
return (tmp); |
| 3768 |
} |
|
3768 |
} |
| 3769 |
} |
|
3769 |
} |
| 3770 |
__inline static Bool sr_EQ(SysRes sr1 , SysRes sr2 ) |
|
3770 |
__inline static Bool sr_EQ(SysRes sr1 , SysRes sr2 ) |
| 3771 |
{ |
|
3771 |
{ |
| 3772 |
int tmp ; |
|
3772 |
int tmp ; |
| 3773 |
|
|
3773 |
|
| 3774 |
{ |
|
3774 |
{ |
| 3775 |
if (sr1._val == sr2._val) { |
|
3775 |
if (sr1._val == sr2._val) { |
| 3776 |
if (sr1._isError) { |
|
3776 |
if (sr1._isError) { |
| 3777 |
if (sr2._isError) { |
|
3777 |
if (sr2._isError) { |
| 3778 |
tmp = 1; |
|
3778 |
tmp = 1; |
| 3779 |
} else { |
|
3779 |
} else { |
| 3780 |
goto _L; |
|
3780 |
goto _L; |
| 3781 |
} |
|
3781 |
} |
| 3782 |
} else |
|
3782 |
} else |
| 3783 |
_L: |
|
3783 |
_L: |
| 3784 |
if (! sr1._isError) { |
|
3784 |
if (! sr1._isError) { |
| 3785 |
if (! sr2._isError) { |
|
3785 |
if (! sr2._isError) { |
| 3786 |
tmp = 1; |
|
3786 |
tmp = 1; |
| 3787 |
} else { |
|
3787 |
} else { |
| 3788 |
tmp = 0; |
|
3788 |
tmp = 0; |
| 3789 |
} |
|
3789 |
} |
| 3790 |
} else { |
|
3790 |
} else { |
| 3791 |
tmp = 0; |
|
3791 |
tmp = 0; |
| 3792 |
} |
|
3792 |
} |
| 3793 |
} else { |
|
3793 |
} else { |
| 3794 |
tmp = 0; |
|
3794 |
tmp = 0; |
| 3795 |
} |
|
3795 |
} |
| 3796 |
return ((Bool )tmp); |
|
3796 |
return ((Bool )tmp); |
| 3797 |
} |
|
3797 |
} |
| 3798 |
} |
|
3798 |
} |
| 3799 |
extern void ppIRType(IRType ) ; |
|
3799 |
extern void ppIRType(IRType ) ; |
| 3800 |
extern Int sizeofIRType(IRType ) ; |
|
3800 |
extern Int sizeofIRType(IRType ) ; |
| 3801 |
extern IRConst *IRConst_U1(Bool ) ; |
|
3801 |
extern IRConst *IRConst_U1(Bool ) ; |
| 3802 |
extern IRConst *IRConst_U8(UChar ) ; |
|
3802 |
extern IRConst *IRConst_U8(UChar ) ; |
| 3803 |
extern IRConst *IRConst_U16(UShort ) ; |
|
3803 |
extern IRConst *IRConst_U16(UShort ) ; |
| 3804 |
extern IRConst *IRConst_U32(UInt ) ; |
|
3804 |
extern IRConst *IRConst_U32(UInt ) ; |
| 3805 |
extern IRConst *IRConst_U64(ULong ) ; |
|
3805 |
extern IRConst *IRConst_U64(ULong ) ; |
| 3806 |
extern IRConst *IRConst_F32(Float ) ; |
|
3806 |
extern IRConst *IRConst_F32(Float ) ; |
| 3807 |
extern IRConst *IRConst_F32i(UInt ) ; |
|
3807 |
extern IRConst *IRConst_F32i(UInt ) ; |
| 3808 |
extern IRConst *IRConst_F64(Double ) ; |
|
3808 |
extern IRConst *IRConst_F64(Double ) ; |
| 3809 |
extern IRConst *IRConst_F64i(ULong ) ; |
|
3809 |
extern IRConst *IRConst_F64i(ULong ) ; |
| 3810 |
extern IRConst *IRConst_V128(UShort ) ; |
|
3810 |
extern IRConst *IRConst_V128(UShort ) ; |
| 3811 |
extern IRConst *deepCopyIRConst(IRConst * ) ; |
|
3811 |
extern IRConst *deepCopyIRConst(IRConst * ) ; |
| 3812 |
extern void ppIRConst(IRConst * ) ; |
|
3812 |
extern void ppIRConst(IRConst * ) ; |
| 3813 |
extern Bool eqIRConst(IRConst * , IRConst * ) ; |
|
3813 |
extern Bool eqIRConst(IRConst * , IRConst * ) ; |
| 3814 |
extern IRCallee *mkIRCallee(Int regparms , HChar *name , void *addr ) ; |
|
3814 |
extern IRCallee *mkIRCallee(Int regparms , HChar *name , void *addr ) ; |
| 3815 |
extern IRCallee *deepCopyIRCallee(IRCallee * ) ; |
|
3815 |
extern IRCallee *deepCopyIRCallee(IRCallee * ) ; |
| 3816 |
extern void ppIRCallee(IRCallee * ) ; |
|
3816 |
extern void ppIRCallee(IRCallee * ) ; |
| 3817 |
extern IRRegArray *mkIRRegArray(Int , IRType , Int ) ; |
|
3817 |
extern IRRegArray *mkIRRegArray(Int , IRType , Int ) ; |
| 3818 |
extern IRRegArray *deepCopyIRRegArray(IRRegArray * ) ; |
|
3818 |
extern IRRegArray *deepCopyIRRegArray(IRRegArray * ) ; |
| 3819 |
extern void ppIRRegArray(IRRegArray * ) ; |
|
3819 |
extern void ppIRRegArray(IRRegArray * ) ; |
| 3820 |
extern Bool eqIRRegArray(IRRegArray * , IRRegArray * ) ; |
|
3820 |
extern Bool eqIRRegArray(IRRegArray * , IRRegArray * ) ; |
| 3821 |
extern void ppIRTemp(IRTemp ) ; |
|
3821 |
extern void ppIRTemp(IRTemp ) ; |
| 3822 |
extern void ppIROp(IROp ) ; |
|
3822 |
extern void ppIROp(IROp ) ; |
| 3823 |
extern IRExpr *IRExpr_Binder(Int binder ) ; |
|
3823 |
extern IRExpr *IRExpr_Binder(Int binder ) ; |
| 3824 |
extern IRExpr *IRExpr_Get(Int off , IRType ty ) ; |
|
3824 |
extern IRExpr *IRExpr_Get(Int off , IRType ty ) ; |
| 3825 |
extern IRExpr *IRExpr_GetI(IRRegArray *descr , IRExpr *ix , Int bias ) ; |
|
3825 |
extern IRExpr *IRExpr_GetI(IRRegArray *descr , IRExpr *ix , Int bias ) ; |
| 3826 |
extern IRExpr *IRExpr_RdTmp(IRTemp tmp ) ; |
|
3826 |
extern IRExpr *IRExpr_RdTmp(IRTemp tmp ) ; |
| 3827 |
extern IRExpr *IRExpr_Qop(IROp op , IRExpr *arg1 , IRExpr *arg2 , IRExpr *arg3 , |
|
3827 |
extern IRExpr *IRExpr_Qop(IROp op , IRExpr *arg1 , IRExpr *arg2 , IRExpr *arg3 , |
| 3828 |
IRExpr *arg4 ) ; |
|
3828 |
IRExpr *arg4 ) ; |
| 3829 |
extern IRExpr *IRExpr_Triop(IROp op , IRExpr *arg1 , IRExpr *arg2 , |
|
3829 |
extern IRExpr *IRExpr_Triop(IROp op , IRExpr *arg1 , IRExpr *arg2 , |
| 3830 |
IRExpr *arg3 ) ; |
|
3830 |
IRExpr *arg3 ) ; |
| 3831 |
extern IRExpr *IRExpr_Binop(IROp op , IRExpr *arg1 , IRExpr *arg2 ) ; |
|
3831 |
extern IRExpr *IRExpr_Binop(IROp op , IRExpr *arg1 , IRExpr *arg2 ) ; |
| 3832 |
extern IRExpr *IRExpr_Unop(IROp op , IRExpr *arg ) ; |
|
3832 |
extern IRExpr *IRExpr_Unop(IROp op , IRExpr *arg ) ; |
| 3833 |
extern IRExpr *IRExpr_Load(IREndness end , IRType ty , IRExpr *addr ) ; |
|
3833 |
extern IRExpr *IRExpr_Load(IREndness end , IRType ty , IRExpr *addr ) ; |
| 3834 |
extern IRExpr *IRExpr_Const(IRConst *con ) ; |
|
3834 |
extern IRExpr *IRExpr_Const(IRConst *con ) ; |
| 3835 |
extern IRExpr *IRExpr_CCall(IRCallee *cee , IRType retty , IRExpr **args ) ; |
|
3835 |
extern IRExpr *IRExpr_CCall(IRCallee *cee , IRType retty , IRExpr **args ) ; |
| 3836 |
extern IRExpr *IRExpr_Mux0X(IRExpr *cond , IRExpr *expr0 , IRExpr *exprX ) ; |
|
3836 |
extern IRExpr *IRExpr_Mux0X(IRExpr *cond , IRExpr *expr0 , IRExpr *exprX ) ; |
| 3837 |
extern IRExpr *deepCopyIRExpr(IRExpr * ) ; |
|
3837 |
extern IRExpr *deepCopyIRExpr(IRExpr * ) ; |
| 3838 |
extern void ppIRExpr(IRExpr * ) ; |
|
3838 |
extern void ppIRExpr(IRExpr * ) ; |
| 3839 |
extern IRExpr **mkIRExprVec_0(void) ; |
|
3839 |
extern IRExpr **mkIRExprVec_0(void) ; |
| 3840 |
extern IRExpr **mkIRExprVec_1(IRExpr * ) ; |
|
3840 |
extern IRExpr **mkIRExprVec_1(IRExpr * ) ; |
| 3841 |
extern IRExpr **mkIRExprVec_2(IRExpr * , IRExpr * ) ; |
|
3841 |
extern IRExpr **mkIRExprVec_2(IRExpr * , IRExpr * ) ; |
| 3842 |
extern IRExpr **mkIRExprVec_3(IRExpr * , IRExpr * , IRExpr * ) ; |
|
3842 |
extern IRExpr **mkIRExprVec_3(IRExpr * , IRExpr * , IRExpr * ) ; |
| 3843 |
extern IRExpr **mkIRExprVec_4(IRExpr * , IRExpr * , IRExpr * , IRExpr * ) ; |
|
3843 |
extern IRExpr **mkIRExprVec_4(IRExpr * , IRExpr * , IRExpr * , IRExpr * ) ; |
| 3844 |
extern IRExpr **mkIRExprVec_5(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
|
3844 |
extern IRExpr **mkIRExprVec_5(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
| 3845 |
IRExpr * ) ; |
|
3845 |
IRExpr * ) ; |
| 3846 |
extern IRExpr **mkIRExprVec_6(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
|
3846 |
extern IRExpr **mkIRExprVec_6(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
| 3847 |
IRExpr * , IRExpr * ) ; |
|
3847 |
IRExpr * , IRExpr * ) ; |
| 3848 |
extern IRExpr **mkIRExprVec_7(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
|
3848 |
extern IRExpr **mkIRExprVec_7(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
| 3849 |
IRExpr * , IRExpr * , IRExpr * ) ; |
|
3849 |
IRExpr * , IRExpr * , IRExpr * ) ; |
| 3850 |
extern IRExpr **mkIRExprVec_8(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
|
3850 |
extern IRExpr **mkIRExprVec_8(IRExpr * , IRExpr * , IRExpr * , IRExpr * , |
| 3851 |
IRExpr * , IRExpr * , IRExpr * , IRExpr * ) ; |
|
3851 |
IRExpr * , IRExpr * , IRExpr * , IRExpr * ) ; |
| 3852 |
extern IRExpr **shallowCopyIRExprVec(IRExpr ** ) ; |
|
3852 |
extern IRExpr **shallowCopyIRExprVec(IRExpr ** ) ; |
| 3853 |
extern IRExpr **deepCopyIRExprVec(IRExpr ** ) ; |
|
3853 |
extern IRExpr **deepCopyIRExprVec(IRExpr ** ) ; |
| 3854 |
extern IRExpr *mkIRExpr_HWord(HWord ) ; |
|
3854 |
extern IRExpr *mkIRExpr_HWord(HWord ) ; |
| 3855 |
extern IRExpr *mkIRExprCCall(IRType retty , Int regparms , HChar *name , |
|
3855 |
extern IRExpr *mkIRExprCCall(IRType retty , Int regparms , HChar *name , |
| 3856 |
void *addr , IRExpr **args ) ; |
|
3856 |
void *addr , IRExpr **args ) ; |
| 3857 |
__inline static Bool isIRAtom(IRExpr *e ) |
|
3857 |
__inline static Bool isIRAtom(IRExpr *e ) |
| 3858 |
{ |
|
3858 |
{ |
| 3859 |
int tmp ; |
|
3859 |
int tmp ; |
| 3860 |
Bool tmp___0 ; |
|
3860 |
Bool tmp___0 ; |
| 3861 |
|
|
3861 |
|
| 3862 |
{ |
|
3862 |
{ |
| 3863 |
if ((unsigned int )e->tag == 86019U) { |
|
3863 |
if ((unsigned int )e->tag == 86019U) { |
| 3864 |
tmp = 1; |
|
3864 |
tmp = 1; |
| 3865 |
} else |
|
3865 |
} else |
| 3866 |
if ((unsigned int )e->tag == 86025U) { |
|
3866 |
if ((unsigned int )e->tag == 86025U) { |
| 3867 |
tmp = 1; |
|
3867 |
tmp = 1; |
| 3868 |
} else { |
|
3868 |
} else { |
| 3869 |
tmp = 0; |
|
3869 |
tmp = 0; |
| 3870 |
} |
|
3870 |
} |
| 3871 |
tmp___0 = toBool(tmp); |
|
3871 |
tmp___0 = toBool(tmp); |
| 3872 |
return (tmp___0); |
|
3872 |
return (tmp___0); |
| 3873 |
} |
|
3873 |
} |
| 3874 |
} |
|
3874 |
} |
| 3875 |
extern Bool eqIRAtom(IRExpr * , IRExpr * ) ; |
|
3875 |
extern Bool eqIRAtom(IRExpr * , IRExpr * ) ; |
| 3876 |
extern void ppIRJumpKind(IRJumpKind ) ; |
|
3876 |
extern void ppIRJumpKind(IRJumpKind ) ; |
| 3877 |
extern void ppIREffect(IREffect ) ; |
|
3877 |
extern void ppIREffect(IREffect ) ; |
| 3878 |
extern void ppIRDirty(IRDirty * ) ; |
|
3878 |
extern void ppIRDirty(IRDirty * ) ; |
| 3879 |
extern IRDirty *emptyIRDirty(void) ; |
|
3879 |
extern IRDirty *emptyIRDirty(void) ; |
| 3880 |
extern IRDirty *deepCopyIRDirty(IRDirty * ) ; |
|
3880 |
extern IRDirty *deepCopyIRDirty(IRDirty * ) ; |
| 3881 |
extern IRDirty *unsafeIRDirty_0_N(Int regparms , HChar *name , void *addr , |
|
3881 |
extern IRDirty *unsafeIRDirty_0_N(Int regparms , HChar *name , void *addr , |
| 3882 |
IRExpr **args ) ; |
|
3882 |
IRExpr **args ) ; |
| 3883 |
extern IRDirty *unsafeIRDirty_1_N(IRTemp dst , Int regparms , HChar *name , |
|
3883 |
extern IRDirty *unsafeIRDirty_1_N(IRTemp dst , Int regparms , HChar *name , |
| 3884 |
void *addr , IRExpr **args ) ; |
|
3884 |
void *addr , IRExpr **args ) ; |
| 3885 |
extern void ppIRMBusEvent(IRMBusEvent ) ; |
|
3885 |
extern void ppIRMBusEvent(IRMBusEvent ) ; |
| 3886 |
extern void ppIRCAS(IRCAS *cas ) ; |
|
3886 |
extern void ppIRCAS(IRCAS *cas ) ; |
| 3887 |
extern IRCAS *mkIRCAS(IRTemp oldHi , IRTemp oldLo , IREndness end , |
|
3887 |
extern IRCAS *mkIRCAS(IRTemp oldHi , IRTemp oldLo , IREndness end , |
| 3888 |
IRExpr *addr , IRExpr *expdHi , IRExpr *expdLo , |
|
3888 |
IRExpr *addr , IRExpr *expdHi , IRExpr *expdLo , |
| 3889 |
IRExpr *dataHi , IRExpr *dataLo ) ; |
|
3889 |
IRExpr *dataHi , IRExpr *dataLo ) ; |
| 3890 |
extern IRCAS *deepCopyIRCAS(IRCAS * ) ; |
|
3890 |
extern IRCAS *deepCopyIRCAS(IRCAS * ) ; |
| 3891 |
extern IRStmt *IRStmt_NoOp(void) ; |
|
3891 |
extern IRStmt *IRStmt_NoOp(void) ; |
| 3892 |
extern IRStmt *IRStmt_IMark(Addr64 addr , Int len , UChar delta ) ; |
|
3892 |
extern IRStmt *IRStmt_IMark(Addr64 addr , Int len , UChar delta ) ; |
| 3893 |
extern IRStmt *IRStmt_AbiHint(IRExpr *base , Int len , IRExpr *nia ) ; |
|
3893 |
extern IRStmt *IRStmt_AbiHint(IRExpr *base , Int len , IRExpr *nia ) ; |
| 3894 |
extern IRStmt *IRStmt_Put(Int off , IRExpr *data ) ; |
|
3894 |
extern IRStmt *IRStmt_Put(Int off , IRExpr *data ) ; |
| 3895 |
extern IRStmt *IRStmt_PutI(IRRegArray *descr , IRExpr *ix , Int bias , |
|
3895 |
extern IRStmt *IRStmt_PutI(IRRegArray *descr , IRExpr *ix , Int bias , |
| 3896 |
IRExpr *data ) ; |
|
3896 |
IRExpr *data ) ; |
| 3897 |
extern IRStmt *IRStmt_WrTmp(IRTemp tmp , IRExpr *data ) ; |
|
3897 |
extern IRStmt *IRStmt_WrTmp(IRTemp tmp , IRExpr *data ) ; |
| 3898 |
extern IRStmt *IRStmt_Store(IREndness end , IRExpr *addr , IRExpr *data ) ; |
|
3898 |
extern IRStmt *IRStmt_Store(IREndness end , IRExpr *addr , IRExpr *data ) ; |
| 3899 |
extern IRStmt *IRStmt_CAS(IRCAS *details ) ; |
|
3899 |
extern IRStmt *IRStmt_CAS(IRCAS *details ) ; |
| 3900 |
extern IRStmt *IRStmt_LLSC(IREndness end , IRTemp result , IRExpr *addr , |
|
3900 |
extern IRStmt *IRStmt_LLSC(IREndness end , IRTemp result , IRExpr *addr , |
| 3901 |
IRExpr *storedata ) ; |
|
3901 |
IRExpr *storedata ) ; |
| 3902 |
extern IRStmt *IRStmt_Dirty(IRDirty *details ) ; |
|
3902 |
extern IRStmt *IRStmt_Dirty(IRDirty *details ) ; |
| 3903 |
extern IRStmt *IRStmt_MBE(IRMBusEvent event ) ; |
|
3903 |
extern IRStmt *IRStmt_MBE(IRMBusEvent event ) ; |
| 3904 |
extern IRStmt *IRStmt_Exit(IRExpr *guard , IRJumpKind jk , IRConst *dst ) ; |
|
3904 |
extern IRStmt *IRStmt_Exit(IRExpr *guard , IRJumpKind jk , IRConst *dst ) ; |
| 3905 |
extern IRStmt *deepCopyIRStmt(IRStmt * ) ; |
|
3905 |
extern IRStmt *deepCopyIRStmt(IRStmt * ) ; |
| 3906 |
extern void ppIRStmt(IRStmt * ) ; |
|
3906 |
extern void ppIRStmt(IRStmt * ) ; |
| 3907 |
extern IRTemp newIRTemp(IRTypeEnv * , IRType ) ; |
|
3907 |
extern IRTemp newIRTemp(IRTypeEnv * , IRType ) ; |
| 3908 |
extern IRTypeEnv *deepCopyIRTypeEnv(IRTypeEnv * ) ; |
|
3908 |
extern IRTypeEnv *deepCopyIRTypeEnv(IRTypeEnv * ) ; |
| 3909 |
extern void ppIRTypeEnv(IRTypeEnv * ) ; |
|
3909 |
extern void ppIRTypeEnv(IRTypeEnv * ) ; |
| 3910 |
extern IRSB *emptyIRSB(void) ; |
|
3910 |
extern IRSB *emptyIRSB(void) ; |
| 3911 |
extern IRSB *deepCopyIRSB(IRSB * ) ; |
|
3911 |
extern IRSB *deepCopyIRSB(IRSB * ) ; |
| 3912 |
extern IRSB *deepCopyIRSBExceptStmts(IRSB * ) ; |
|
3912 |
extern IRSB *deepCopyIRSBExceptStmts(IRSB * ) ; |
| 3913 |
extern void ppIRSB(IRSB * ) ; |
|
3913 |
extern void ppIRSB(IRSB * ) ; |
| 3914 |
extern void addStmtToIRSB(IRSB * , IRStmt * ) ; |
|
3914 |
extern void addStmtToIRSB(IRSB * , IRStmt * ) ; |
| 3915 |
extern IRTypeEnv *emptyIRTypeEnv(void) ; |
|
3915 |
extern IRTypeEnv *emptyIRTypeEnv(void) ; |
| 3916 |
extern IRType typeOfIRConst(IRConst * ) ; |
|
3916 |
extern IRType typeOfIRConst(IRConst * ) ; |
| 3917 |
extern IRType typeOfIRTemp(IRTypeEnv * , IRTemp ) ; |
|
3917 |
extern IRType typeOfIRTemp(IRTypeEnv * , IRTemp ) ; |
| 3918 |
extern IRType typeOfIRExpr(IRTypeEnv * , IRExpr * ) ; |
|
3918 |
extern IRType typeOfIRExpr(IRTypeEnv * , IRExpr * ) ; |
| 3919 |
extern void sanityCheckIRSB(IRSB *bb , HChar *caller , Bool require_flatness , |
|
3919 |
extern void sanityCheckIRSB(IRSB *bb , HChar *caller , Bool require_flatness , |
| 3920 |
IRType guest_word_size ) ; |
|
3920 |
IRType guest_word_size ) ; |
| 3921 |
extern Bool isFlatIRStmt(IRStmt * ) ; |
|
3921 |
extern Bool isFlatIRStmt(IRStmt * ) ; |
| 3922 |
extern Bool isPlausibleIRType(IRType ty ) ; |
|
3922 |
extern Bool isPlausibleIRType(IRType ty ) ; |
| 3923 |
extern HChar const *LibVEX_ppVexArch(VexArch ) ; |
|
3923 |
extern HChar const *LibVEX_ppVexArch(VexArch ) ; |
| 3924 |
extern HChar const *LibVEX_ppVexHwCaps(VexArch , UInt ) ; |
|
3924 |
extern HChar const *LibVEX_ppVexHwCaps(VexArch , UInt ) ; |
| 3925 |
extern void LibVEX_default_VexArchInfo(VexArchInfo *vai ) ; |
|
3925 |
extern void LibVEX_default_VexArchInfo(VexArchInfo *vai ) ; |
| 3926 |
extern void LibVEX_default_VexAbiInfo(VexAbiInfo *vbi ) ; |
|
3926 |
extern void LibVEX_default_VexAbiInfo(VexAbiInfo *vbi ) ; |
| 3927 |
extern void LibVEX_default_VexControl(VexControl *vcon ) ; |
|
3927 |
extern void LibVEX_default_VexControl(VexControl *vcon ) ; |
| 3928 |
extern HChar *private_LibVEX_alloc_first ; |
|
3928 |
extern HChar *private_LibVEX_alloc_first ; |
| 3929 |
extern HChar *private_LibVEX_alloc_curr ; |
|
3929 |
extern HChar *private_LibVEX_alloc_curr ; |
| 3930 |
extern HChar *private_LibVEX_alloc_last ; |
|
3930 |
extern HChar *private_LibVEX_alloc_last ; |
| 3931 |
extern __attribute__((__noreturn__)) void private_LibVEX_alloc_OOM(void) ; |
|
3931 |
extern __attribute__((__noreturn__)) void private_LibVEX_alloc_OOM(void) ; |
| 3932 |
__inline static void *LibVEX_Alloc(Int nbytes ) |
|
3932 |
__inline static void *LibVEX_Alloc(Int nbytes ) |
| 3933 |
{ |
|
3933 |
{ |
| 3934 |
HChar *curr ; |
|
3934 |
HChar *curr ; |
| 3935 |
HChar *next ; |
|
3935 |
HChar *next ; |
| 3936 |
Int ALIGN ; |
|
3936 |
Int ALIGN ; |
| 3937 |
|
|
3937 |
|
| 3938 |
{ |
|
3938 |
{ |
| 3939 |
ALIGN = (Int )(sizeof(void *) - 1U); |
|
3939 |
ALIGN = (Int )(sizeof(void *) - 1U); |
| 3940 |
nbytes = (nbytes + ALIGN) & ~ ALIGN; |
|
3940 |
nbytes = (nbytes + ALIGN) & ~ ALIGN; |
| 3941 |
curr = private_LibVEX_alloc_curr; |
|
3941 |
curr = private_LibVEX_alloc_curr; |
| 3942 |
next = curr + nbytes; |
|
3942 |
next = curr + nbytes; |
| 3943 |
if ((unsigned int )next >= (unsigned int )private_LibVEX_alloc_last) { |
|
3943 |
if ((unsigned int )next >= (unsigned int )private_LibVEX_alloc_last) { |
| 3944 |
private_LibVEX_alloc_OOM(); |
|
3944 |
private_LibVEX_alloc_OOM(); |
| 3945 |
} else { |
|
3945 |
} else { |
| 3946 |
|
|
3946 |
|
| 3947 |
} |
|
3947 |
} |
| 3948 |
private_LibVEX_alloc_curr = next; |
|
3948 |
private_LibVEX_alloc_curr = next; |
| 3949 |
return ((void *)curr); |
|
3949 |
return ((void *)curr); |
| 3950 |
} |
|
3950 |
} |
| 3951 |
} |
|
3951 |
} |
| 3952 |
extern void LibVEX_ShowAllocStats(void) ; |
|
3952 |
extern void LibVEX_ShowAllocStats(void) ; |
| 3953 |
extern void LibVEX_Init( __attribute__((__noreturn__)) void (*failure_exit)(void) , |
|
3953 |
extern void LibVEX_Init( __attribute__((__noreturn__)) void (*failure_exit)(void) , |
| 3954 |
void (*log_bytes)(HChar * , Int nbytes ) , |
|
3954 |
void (*log_bytes)(HChar * , Int nbytes ) , |
| 3955 |
Int debuglevel , Bool valgrind_support , |
|
3955 |
Int debuglevel , Bool valgrind_support , |
| 3956 |
VexControl *vcon ) ; |
|
3956 |
VexControl *vcon ) ; |
| 3957 |
extern VexTranslateResult LibVEX_Translate(VexTranslateArgs * ) ; |
|
3957 |
extern VexTranslateResult LibVEX_Translate(VexTranslateArgs * ) ; |
| 3958 |
extern void LibVEX_ShowStats(void) ; |
|
3958 |
extern void LibVEX_ShowStats(void) ; |
| 3959 |
extern HChar *LibVEX_EmWarn_string(VexEmWarn ) ; |
|
3959 |
extern HChar *LibVEX_EmWarn_string(VexEmWarn ) ; |
| 3960 |
extern void LibVEX_GuestX86_initialise(VexGuestX86State *vex_state ) ; |
|
3960 |
extern void LibVEX_GuestX86_initialise(VexGuestX86State *vex_state ) ; |
| 3961 |
extern UInt LibVEX_GuestX86_get_eflags(VexGuestX86State *vex_state ) ; |
|
3961 |
extern UInt LibVEX_GuestX86_get_eflags(VexGuestX86State *vex_state ) ; |
| 3962 |
extern void LibVEX_GuestX86_put_eflag_c(UInt new_carry_flag , |
|
3962 |
extern void LibVEX_GuestX86_put_eflag_c(UInt new_carry_flag , |
| 3963 |
VexGuestX86State *vex_state ) ; |
|
3963 |
VexGuestX86State *vex_state ) ; |
| 3964 |
__inline static struct vki_cmsghdr *__vki_cmsg_nxthdr(void *__ctl , |
|
3964 |
__inline static struct vki_cmsghdr *__vki_cmsg_nxthdr(void *__ctl , |
| 3965 |
__vki_kernel_size_t __size , |
|
3965 |
__vki_kernel_size_t __size , |
| 3966 |
struct vki_cmsghdr *__cmsg ) |
|
3966 |
struct vki_cmsghdr *__cmsg ) |
| 3967 |
{ |
|
3967 |
{ |
| 3968 |
struct vki_cmsghdr *__ptr ; |
|
3968 |
struct vki_cmsghdr *__ptr ; |
| 3969 |
|
|
3969 |
|
| 3970 |
{ |
|
3970 |
{ |
| 3971 |
__ptr = (struct vki_cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(long )) - 1U) & ~ (sizeof(long ) - 1U))); |
|
3971 |
__ptr = (struct vki_cmsghdr *)((unsigned char *)__cmsg + (((__cmsg->cmsg_len + sizeof(long )) - 1U) & ~ (sizeof(long ) - 1U))); |
| 3972 |
if ((unsigned long )((char *)(__ptr + 1) - (char *)__ctl) > (unsigned long )__size) { |
|
3972 |
if ((unsigned long )((char *)(__ptr + 1) - (char *)__ctl) > (unsigned long )__size) { |
| 3973 |
return ((struct vki_cmsghdr *)0); |
|
3973 |
return ((struct vki_cmsghdr *)0); |
| 3974 |
} else { |
|
3974 |
} else { |
| 3975 |
|
|
3975 |
|
| 3976 |
} |
|
3976 |
} |
| 3977 |
return (__ptr); |
|
3977 |
return (__ptr); |
| 3978 |
} |
|
3978 |
} |
| 3979 |
} |
|
3979 |
} |
| 3980 |
__inline static struct vki_cmsghdr *vki_cmsg_nxthdr(struct vki_msghdr *__msg , |
|
3980 |
__inline static struct vki_cmsghdr *vki_cmsg_nxthdr(struct vki_msghdr *__msg , |
| 3981 |
struct vki_cmsghdr *__cmsg ) |
|
3981 |
struct vki_cmsghdr *__cmsg ) |
| 3982 |
{ |
|
3982 |
{ |
| 3983 |
struct vki_cmsghdr *tmp ; |
|
3983 |
struct vki_cmsghdr *tmp ; |
| 3984 |
|
|
3984 |
|
| 3985 |
{ |
|
3985 |
{ |
| 3986 |
tmp = __vki_cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); |
|
3986 |
tmp = __vki_cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); |
| 3987 |
return (tmp); |
|
3987 |
return (tmp); |
| 3988 |
} |
|
3988 |
} |
| 3989 |
} |
|
3989 |
} |
| 3990 |
extern void vgPlain_vki_do_initial_consistency_checks(void) ; |
|
3990 |
extern void vgPlain_vki_do_initial_consistency_checks(void) ; |
| 3991 |
extern Char *vgPlain_sysnum_string(Word sysnum , SizeT n_buf , Char *buf ) ; |
|
3991 |
extern Char *vgPlain_sysnum_string(Word sysnum , SizeT n_buf , Char *buf ) ; |
| 3992 |
extern Char *vgPlain_sysnum_string_extra(Word sysnum , SizeT n_buf , Char *buf ) ; |
|
3992 |
extern Char *vgPlain_sysnum_string_extra(Word sysnum , SizeT n_buf , Char *buf ) ; |
| 3993 |
extern __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ; |
|
3993 |
extern __attribute__((__nothrow__)) int setjmp(struct __jmp_buf_tag *__env ) ; |
| 3994 |
extern __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env , |
|
3994 |
extern __attribute__((__nothrow__)) int __sigsetjmp(struct __jmp_buf_tag *__env , |
| 3995 |
int __savemask ) ; |
|
3995 |
int __savemask ) ; |
| 3996 |
extern __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ; |
|
3996 |
extern __attribute__((__nothrow__)) int _setjmp(struct __jmp_buf_tag *__env ) ; |
| 3997 |
extern __attribute__((__nothrow__, |
|
3997 |
extern __attribute__((__nothrow__, |
| 3998 |
__noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
3998 |
__noreturn__)) void longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 3999 |
extern __attribute__((__nothrow__, |
|
3999 |
extern __attribute__((__nothrow__, |
| 4000 |
__noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
4000 |
__noreturn__)) void _longjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 4001 |
extern __attribute__((__nothrow__, |
|
4001 |
extern __attribute__((__nothrow__, |
| 4002 |
__noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ; |
|
4002 |
__noreturn__)) void siglongjmp(struct __jmp_buf_tag *__env , int __val ) ; |
| 4003 |
extern ThreadId vgPlain_get_running_tid(void) ; |
|
4003 |
extern ThreadId vgPlain_get_running_tid(void) ; |
| 4004 |
extern ThreadState vgPlain_threads[500] ; |
|
4004 |
extern ThreadState vgPlain_threads[500] ; |
| 4005 |
extern ThreadId vgPlain_running_tid ; |
|
4005 |
extern ThreadId vgPlain_running_tid ; |
| 4006 |
extern HChar const *vgPlain_name_of_ThreadStatus(ThreadStatus status ) ; |
|
4006 |
extern HChar const *vgPlain_name_of_ThreadStatus(ThreadStatus status ) ; |
| 4007 |
extern ThreadState *vgPlain_get_ThreadState(ThreadId tid ) ; |
|
4007 |
extern ThreadState *vgPlain_get_ThreadState(ThreadId tid ) ; |
| 4008 |
extern Bool vgPlain_is_valid_tid(ThreadId tid ) ; |
|
4008 |
extern Bool vgPlain_is_valid_tid(ThreadId tid ) ; |
| 4009 |
extern Bool vgPlain_is_running_thread(ThreadId tid ) ; |
|
4009 |
extern Bool vgPlain_is_running_thread(ThreadId tid ) ; |
| 4010 |
extern Bool vgPlain_is_exiting(ThreadId tid ) ; |
|
4010 |
extern Bool vgPlain_is_exiting(ThreadId tid ) ; |
| 4011 |
extern Int vgPlain_count_living_threads(void) ; |
|
4011 |
extern Int vgPlain_count_living_threads(void) ; |
| 4012 |
extern Int vgPlain_count_runnable_threads(void) ; |
|
4012 |
extern Int vgPlain_count_runnable_threads(void) ; |
| 4013 |
extern ThreadId vgPlain_lwpid_to_vgtid(Int lwpid ) ; |
|
4013 |
extern ThreadId vgPlain_lwpid_to_vgtid(Int lwpid ) ; |
| 4014 |
extern XArray *vgPlain_newXA(void *(*alloc_fn)(HChar * , SizeT ) , HChar *cc , |
|
4014 |
extern XArray *vgPlain_newXA(void *(*alloc_fn)(HChar * , SizeT ) , HChar *cc , |
| 4015 |
void (*free_fn)(void * ) , Word elemSzB ) ; |
|
4015 |
void (*free_fn)(void * ) , Word elemSzB ) ; |
| 4016 |
extern void vgPlain_deleteXA(XArray * ) ; |
|
4016 |
extern void vgPlain_deleteXA(XArray * ) ; |
| 4017 |
extern void vgPlain_setCmpFnXA(XArray * , Int (*compar)(void * , void * ) ) ; |
|
4017 |
extern void vgPlain_setCmpFnXA(XArray * , Int (*compar)(void * , void * ) ) ; |
| 4018 |
extern Word vgPlain_addToXA(XArray * , void *elem ) ; |
|
4018 |
extern Word vgPlain_addToXA(XArray * , void *elem ) ; |
| 4019 |
extern Word vgPlain_addBytesToXA(XArray *xao , void *bytesV , Word nbytes ) ; |
|
4019 |
extern Word vgPlain_addBytesToXA(XArray *xao , void *bytesV , Word nbytes ) ; |
| 4020 |
extern void vgPlain_sortXA(XArray * ) ; |
|
4020 |
extern void vgPlain_sortXA(XArray * ) ; |
| 4021 |
extern Bool vgPlain_lookupXA(XArray * , void *key , Word *first , Word *last ) ; |
|
4021 |
extern Bool vgPlain_lookupXA(XArray * , void *key , Word *first , Word *last ) ; |
| 4022 |
extern Bool vgPlain_lookupXA_UNSAFE(XArray *xao , void *key , Word *first , |
|
4022 |
extern Bool vgPlain_lookupXA_UNSAFE(XArray *xao , void *key , Word *first , |
| 4023 |
Word *last , Int (*cmpFn)(void * , void * ) ) ; |
|
4023 |
Word *last , Int (*cmpFn)(void * , void * ) ) ; |
| 4024 |
extern Word vgPlain_sizeXA(XArray * ) ; |
|
4024 |
extern Word vgPlain_sizeXA(XArray * ) ; |
| 4025 |
extern void *vgPlain_indexXA(XArray * , Word ) ; |
|
4025 |
extern void *vgPlain_indexXA(XArray * , Word ) ; |
| 4026 |
extern void vgPlain_dropTailXA(XArray * , Word ) ; |
|
4026 |
extern void vgPlain_dropTailXA(XArray * , Word ) ; |
| 4027 |
extern void vgPlain_dropHeadXA(XArray * , Word ) ; |
|
4027 |
extern void vgPlain_dropHeadXA(XArray * , Word ) ; |
| 4028 |
extern XArray *vgPlain_cloneXA(HChar *cc , XArray *xa ) ; |
|
4028 |
extern XArray *vgPlain_cloneXA(HChar *cc , XArray *xa ) ; |
| 4029 |
extern void vgPlain_getContentsXA_UNSAFE(XArray *sr , void **ctsP , Word *usedP ) ; |
|
4029 |
extern void vgPlain_getContentsXA_UNSAFE(XArray *sr , void **ctsP , Word *usedP ) ; |
| 4030 |
extern void ( vgPlain_xaprintf)(XArray *dst , |
|
4030 |
extern void ( vgPlain_xaprintf)(XArray *dst , |
| 4031 |
HChar const *format |
|
4031 |
HChar const *format |
| 4032 |
, ...) ; |
|
4032 |
, ...) ; |
| 4033 |
extern void vgPlain_xaprintf_no_f_c(XArray *dst , HChar const *format , ...) ; |
|
4033 |
extern void vgPlain_xaprintf_no_f_c(XArray *dst , HChar const *format , ...) ; |
| 4034 |
extern XArray *vgPlain_args_for_client ; |
|
4034 |
extern XArray *vgPlain_args_for_client ; |
| 4035 |
extern XArray *vgPlain_args_for_valgrind ; |
|
4035 |
extern XArray *vgPlain_args_for_valgrind ; |
| 4036 |
extern Int vgPlain_args_for_valgrind_noexecpass ; |
|
4036 |
extern Int vgPlain_args_for_valgrind_noexecpass ; |
| 4037 |
extern HChar const *vgPlain_args_the_exename ; |
|
4037 |
extern HChar const *vgPlain_args_the_exename ; |
| 4038 |
extern Addr vgPlain_clstk_base ; |
|
4038 |
extern Addr vgPlain_clstk_base ; |
| 4039 |
extern Addr vgPlain_clstk_end ; |
|
4039 |
extern Addr vgPlain_clstk_end ; |
| 4040 |
extern UWord vgPlain_clstk_id ; |
|
4040 |
extern UWord vgPlain_clstk_id ; |
| 4041 |
extern Addr vgPlain_brk_base ; |
|
4041 |
extern Addr vgPlain_brk_base ; |
| 4042 |
extern Addr vgPlain_brk_limit ; |
|
4042 |
extern Addr vgPlain_brk_limit ; |
| 4043 |
extern Int vgPlain_cl_exec_fd ; |
|
4043 |
extern Int vgPlain_cl_exec_fd ; |
| 4044 |
extern Int vgPlain_cl_cmdline_fd ; |
|
4044 |
extern Int vgPlain_cl_cmdline_fd ; |
| 4045 |
extern struct vki_rlimit vgPlain_client_rlimit_data ; |
|
4045 |
extern struct vki_rlimit vgPlain_client_rlimit_data ; |
| 4046 |
extern struct vki_rlimit vgPlain_client_rlimit_stack ; |
|
4046 |
extern struct vki_rlimit vgPlain_client_rlimit_stack ; |
| 4047 |
extern HChar *vgPlain_name_of_launcher ; |
|
4047 |
extern HChar *vgPlain_name_of_launcher ; |
| 4048 |
extern Int vgPlain_fd_soft_limit ; |
|
4048 |
extern Int vgPlain_fd_soft_limit ; |
| 4049 |
extern Int vgPlain_fd_hard_limit ; |
|
4049 |
extern Int vgPlain_fd_hard_limit ; |
| 4050 |
extern Addr vgPlain_client___libc_freeres_wrapper ; |
|
4050 |
extern Addr vgPlain_client___libc_freeres_wrapper ; |
| 4051 |
extern Addr vgPlain_client__dl_sysinfo_int80 ; |
|
4051 |
extern Addr vgPlain_client__dl_sysinfo_int80 ; |
| 4052 |
extern Int vgPlain_am_get_segment_starts(Addr *starts , Int nStarts ) ; |
|
4052 |
extern Int vgPlain_am_get_segment_starts(Addr *starts , Int nStarts ) ; |
| 4053 |
extern NSegment const *vgPlain_am_find_nsegment(Addr a ) ; |
|
4053 |
extern NSegment const *vgPlain_am_find_nsegment(Addr a ) ; |
| 4054 |
extern HChar *vgPlain_am_get_filename(NSegment const * ) ; |
|
4054 |
extern HChar *vgPlain_am_get_filename(NSegment const * ) ; |
| 4055 |
extern Bool vgPlain_am_is_valid_for_client(Addr start , SizeT len , UInt prot ) ; |
|
4055 |
extern Bool vgPlain_am_is_valid_for_client(Addr start , SizeT len , UInt prot ) ; |
| 4056 |
extern void *vgPlain_am_shadow_alloc(SizeT size ) ; |
|
4056 |
extern void *vgPlain_am_shadow_alloc(SizeT size ) ; |
| 4057 |
extern SysRes vgPlain_am_munmap_valgrind(Addr start , SizeT length ) ; |
|
4057 |
extern SysRes vgPlain_am_munmap_valgrind(Addr start , SizeT length ) ; |
| 4058 |
extern Addr vgPlain_am_startup(Addr sp_at_startup ) ; |
|
4058 |
extern Addr vgPlain_am_startup(Addr sp_at_startup ) ; |
| 4059 |
extern NSegment const *vgPlain_am_next_nsegment(NSegment *here , Bool fwds ) ; |
|
4059 |
extern NSegment const *vgPlain_am_next_nsegment(NSegment *here , Bool fwds ) ; |
| 4060 |
extern Bool vgPlain_am_is_valid_for_client_or_free_or_resvn(Addr start , |
|
4060 |
extern Bool vgPlain_am_is_valid_for_client_or_free_or_resvn(Addr start , |
| 4061 |
SizeT len , |
|
4061 |
SizeT len , |
| 4062 |
UInt prot ) ; |
|
4062 |
UInt prot ) ; |
| 4063 |
extern ULong vgPlain_am_get_anonsize_total(void) ; |
|
4063 |
extern ULong vgPlain_am_get_anonsize_total(void) ; |
| 4064 |
extern void vgPlain_am_show_nsegments(Int logLevel , HChar *who ) ; |
|
4064 |
extern void vgPlain_am_show_nsegments(Int logLevel , HChar *who ) ; |
| 4065 |
extern Bool vgPlain_am_do_sync_check(HChar const *fn , HChar const *file , |
|
4065 |
extern Bool vgPlain_am_do_sync_check(HChar const *fn , HChar const *file , |
| 4066 |
Int line ) ; |
|
4066 |
Int line ) ; |
| 4067 |
extern Addr vgPlain_am_get_advisory(MapRequest *req , Bool forClient , Bool *ok ) ; |
|
4067 |
extern Addr vgPlain_am_get_advisory(MapRequest *req , Bool forClient , Bool *ok ) ; |
| 4068 |
extern Addr vgPlain_am_get_advisory_client_simple(Addr start , SizeT len , |
|
4068 |
extern Addr vgPlain_am_get_advisory_client_simple(Addr start , SizeT len , |
| 4069 |
Bool *ok ) ; |
|
4069 |
Bool *ok ) ; |
| 4070 |
extern Bool vgPlain_am_notify_client_mmap(Addr a , SizeT len , UInt prot , |
|
4070 |
extern Bool vgPlain_am_notify_client_mmap(Addr a , SizeT len , UInt prot , |
| 4071 |
UInt flags , Int fd , Off64T offset ) ; |
|
4071 |
UInt flags , Int fd , Off64T offset ) ; |
| 4072 |
extern Bool vgPlain_am_notify_client_shmat(Addr a , SizeT len , UInt prot ) ; |
|
4072 |
extern Bool vgPlain_am_notify_client_shmat(Addr a , SizeT len , UInt prot ) ; |
| 4073 |
extern Bool vgPlain_am_notify_mprotect(Addr start , SizeT len , UInt prot ) ; |
|
4073 |
extern Bool vgPlain_am_notify_mprotect(Addr start , SizeT len , UInt prot ) ; |
| 4074 |
extern Bool vgPlain_am_notify_munmap(Addr start , SizeT len ) ; |
|
4074 |
extern Bool vgPlain_am_notify_munmap(Addr start , SizeT len ) ; |
| 4075 |
extern SysRes vgPlain_am_do_mmap_NO_NOTIFY(Addr start , SizeT length , |
|
4075 |
extern SysRes vgPlain_am_do_mmap_NO_NOTIFY(Addr start , SizeT length , |
| 4076 |
UInt prot , UInt flags , Int fd , |
|
4076 |
UInt prot , UInt flags , Int fd , |
| 4077 |
Off64T offset ) ; |
|
4077 |
Off64T offset ) ; |
| 4078 |
extern void vgPlain_am_aix5_reread_procmap(AixCodeSegChange *directives , |
|
4078 |
extern void vgPlain_am_aix5_reread_procmap(AixCodeSegChange *directives , |
| 4079 |
Int *ndirectives ) ; |
|
4079 |
Int *ndirectives ) ; |
| 4080 |
extern Int vgPlain_am_aix5_reread_procmap_howmany_directives(void) ; |
|
4080 |
extern Int vgPlain_am_aix5_reread_procmap_howmany_directives(void) ; |
| 4081 |
extern void vgPlain_am_aix5_set_initial_client_sp(Addr ) ; |
|
4081 |
extern void vgPlain_am_aix5_set_initial_client_sp(Addr ) ; |
| 4082 |
extern Bool vgPlain_am_aix5_sbrk_allowed ; |
|
4082 |
extern Bool vgPlain_am_aix5_sbrk_allowed ; |
| 4083 |
extern SysRes vgPlain_am_mmap_file_fixed_client(Addr start , SizeT length , |
|
4083 |
extern SysRes vgPlain_am_mmap_file_fixed_client(Addr start , SizeT length , |
| 4084 |
UInt prot , Int fd , |
|
4084 |
UInt prot , Int fd , |
| 4085 |
Off64T offset ) ; |
|
4085 |
Off64T offset ) ; |
| 4086 |
extern SysRes vgPlain_am_mmap_named_file_fixed_client(Addr start , |
|
4086 |
extern SysRes vgPlain_am_mmap_named_file_fixed_client(Addr start , |
| 4087 |
SizeT length , UInt prot , |
|
4087 |
SizeT length , UInt prot , |
| 4088 |
Int fd , Off64T offset , |
|
4088 |
Int fd , Off64T offset , |
| 4089 |
HChar const *name ) ; |
|
4089 |
HChar const *name ) ; |
| 4090 |
extern SysRes vgPlain_am_mmap_anon_fixed_client(Addr start , SizeT length , |
|
4090 |
extern SysRes vgPlain_am_mmap_anon_fixed_client(Addr start , SizeT length , |
| 4091 |
UInt prot ) ; |
|
4091 |
UInt prot ) ; |
| 4092 |
extern SysRes vgPlain_am_mmap_anon_float_client(SizeT length , Int prot ) ; |
|
4092 |
extern SysRes vgPlain_am_mmap_anon_float_client(SizeT length , Int prot ) ; |
| 4093 |
extern SysRes vgPlain_am_sbrk_anon_float_client(SizeT length , Int prot ) ; |
|
4093 |
extern SysRes vgPlain_am_sbrk_anon_float_client(SizeT length , Int prot ) ; |
| 4094 |
extern SysRes vgPlain_am_mmap_anon_float_valgrind(SizeT cszB ) ; |
|
4094 |
extern SysRes vgPlain_am_mmap_anon_float_valgrind(SizeT cszB ) ; |
| 4095 |
extern SysRes vgPlain_am_sbrk_anon_float_valgrind(SizeT cszB ) ; |
|
4095 |
extern SysRes vgPlain_am_sbrk_anon_float_valgrind(SizeT cszB ) ; |
| 4096 |
extern SysRes vgPlain_am_mmap_file_float_valgrind(SizeT length , UInt prot , |
|
4096 |
extern SysRes vgPlain_am_mmap_file_float_valgrind(SizeT length , UInt prot , |
| 4097 |
Int fd , Off64T offset ) ; |
|
4097 |
Int fd , Off64T offset ) ; |
| 4098 |
extern SysRes vgPlain_am_shared_mmap_file_float_valgrind(SizeT length , |
|
4098 |
extern SysRes vgPlain_am_shared_mmap_file_float_valgrind(SizeT length , |
| 4099 |
UInt prot , Int fd , |
|
4099 |
UInt prot , Int fd , |
| 4100 |
Off64T offset ) ; |
|
4100 |
Off64T offset ) ; |
| 4101 |
extern SysRes vgPlain_am_munmap_client(Bool *need_discard , Addr start , |
|
4101 |
extern SysRes vgPlain_am_munmap_client(Bool *need_discard , Addr start , |
| 4102 |
SizeT length ) ; |
|
4102 |
SizeT length ) ; |
| 4103 |
extern Bool vgPlain_am_change_ownership_v_to_c(Addr start , SizeT len ) ; |
|
4103 |
extern Bool vgPlain_am_change_ownership_v_to_c(Addr start , SizeT len ) ; |
| 4104 |
extern void vgPlain_am_set_segment_isCH_if_SkAnonC(NSegment *seg ) ; |
|
4104 |
extern void vgPlain_am_set_segment_isCH_if_SkAnonC(NSegment *seg ) ; |
| 4105 |
extern void vgPlain_am_set_segment_hasT_if_SkFileC_or_SkAnonC(NSegment * ) ; |
|
4105 |
extern void vgPlain_am_set_segment_hasT_if_SkFileC_or_SkAnonC(NSegment * ) ; |
| 4106 |
extern Bool vgPlain_am_create_reservation(Addr start , SizeT length , |
|
4106 |
extern Bool vgPlain_am_create_reservation(Addr start , SizeT length , |
| 4107 |
ShrinkMode smode , SSizeT extra ) ; |
|
4107 |
ShrinkMode smode , SSizeT extra ) ; |
| 4108 |
extern Bool vgPlain_am_extend_into_adjacent_reservation_client(NSegment *seg , |
|
4108 |
extern Bool vgPlain_am_extend_into_adjacent_reservation_client(NSegment *seg , |
| 4109 |
SSizeT delta ) ; |
|
4109 |
SSizeT delta ) ; |
| 4110 |
extern Bool vgPlain_am_extend_map_client(Bool *need_discard , NSegment *seg , |
|
4110 |
extern Bool vgPlain_am_extend_map_client(Bool *need_discard , NSegment *seg , |
| 4111 |
SizeT delta ) ; |
|
4111 |
SizeT delta ) ; |
| 4112 |
extern Bool vgPlain_am_relocate_nooverlap_client(Bool *need_discard , |
|
4112 |
extern Bool vgPlain_am_relocate_nooverlap_client(Bool *need_discard , |
| 4113 |
Addr old_addr , SizeT old_len , |
|
4113 |
Addr old_addr , SizeT old_len , |
| 4114 |
Addr new_addr , SizeT new_len ) ; |
|
4114 |
Addr new_addr , SizeT new_len ) ; |
| 4115 |
extern VgStack *vgPlain_am_alloc_VgStack(Addr *initial_sp ) ; |
|
4115 |
extern VgStack *vgPlain_am_alloc_VgStack(Addr *initial_sp ) ; |
| 4116 |
extern SizeT vgPlain_am_get_VgStack_unused_szB(VgStack *stack , SizeT limit ) ; |
|
4116 |
extern SizeT vgPlain_am_get_VgStack_unused_szB(VgStack *stack , SizeT limit ) ; |
| 4117 |
extern Addr *vgPlain_get_segment_starts(Int *n_acquired ) ; |
|
4117 |
extern Addr *vgPlain_get_segment_starts(Int *n_acquired ) ; |
| 4118 |
extern void vgPlain_split_up_argv(Int argc , HChar **argv ) ; |
|
4118 |
extern void vgPlain_split_up_argv(Int argc , HChar **argv ) ; |
| 4119 |
extern void vgPlain_debugLog_startup(Int level , HChar *who ) ; |
|
4119 |
extern void vgPlain_debugLog_startup(Int level , HChar *who ) ; |
| 4120 |
extern Int vgPlain_debugLog_getLevel(void) ; |
|
4120 |
extern Int vgPlain_debugLog_getLevel(void) ; |
| 4121 |
extern void ( vgPlain_debugLog)(Int level , |
|
4121 |
extern void ( vgPlain_debugLog)(Int level , |
| 4122 |
HChar const *modulename , |
|
4122 |
HChar const *modulename , |
| 4123 |
HChar const *format |
|
4123 |
HChar const *format |
| 4124 |
, ...) ; |
|
4124 |
, ...) ; |
| 4125 |
extern UInt vgPlain_debugLog_vprintf(void (*send_fn)(HChar , void * ) , |
|
4125 |
extern UInt vgPlain_debugLog_vprintf(void (*send_fn)(HChar , void * ) , |
| 4126 |
void *send_arg2 , HChar const *format , |
|
4126 |
void *send_arg2 , HChar const *format , |
| 4127 |
va_list vargs ) ; |
|
4127 |
va_list vargs ) ; |
| 4128 |
extern ExeContext *vgPlain_record_ExeContext(ThreadId tid , Word first_ip_delta ) ; |
|
4128 |
extern ExeContext *vgPlain_record_ExeContext(ThreadId tid , Word first_ip_delta ) ; |
| 4129 |
extern ExeContext *vgPlain_record_depth_1_ExeContext(ThreadId tid ) ; |
|
4129 |
extern ExeContext *vgPlain_record_depth_1_ExeContext(ThreadId tid ) ; |
| 4130 |
extern void vgPlain_apply_ExeContext(void (*action)(UInt n , Addr ip ) , |
|
4130 |
extern void vgPlain_apply_ExeContext(void (*action)(UInt n , Addr ip ) , |
| 4131 |
ExeContext *ec , UInt n_ips ) ; |
|
4131 |
ExeContext *ec , UInt n_ips ) ; |
| 4132 |
extern Bool vgPlain_eq_ExeContext(VgRes res , ExeContext *e1 , ExeContext *e2 ) ; |
|
4132 |
extern Bool vgPlain_eq_ExeContext(VgRes res , ExeContext *e1 , ExeContext *e2 ) ; |
| 4133 |
extern void vgPlain_pp_ExeContext(ExeContext *ec ) ; |
|
4133 |
extern void vgPlain_pp_ExeContext(ExeContext *ec ) ; |
| 4134 |
extern UInt vgPlain_get_ECU_from_ExeContext(ExeContext *e ) ; |
|
4134 |
extern UInt vgPlain_get_ECU_from_ExeContext(ExeContext *e ) ; |
| 4135 |
extern Int vgPlain_get_ExeContext_n_ips(ExeContext *e ) ; |
|
4135 |
extern Int vgPlain_get_ExeContext_n_ips(ExeContext *e ) ; |
| 4136 |
extern ExeContext *vgPlain_get_ExeContext_from_ECU(UInt uniq ) ; |
|
4136 |
extern ExeContext *vgPlain_get_ExeContext_from_ECU(UInt uniq ) ; |
| 4137 |
extern ExeContext *vgPlain_make_depth_1_ExeContext_from_Addr(Addr a ) ; |
|
4137 |
extern ExeContext *vgPlain_make_depth_1_ExeContext_from_Addr(Addr a ) ; |
| 4138 |
__inline static Bool vgPlain_is_plausible_ECU(UInt ecu ) |
|
4138 |
__inline static Bool vgPlain_is_plausible_ECU(UInt ecu ) |
| 4139 |
{ |
|
4139 |
{ |
| 4140 |
int tmp ; |
|
4140 |
int tmp ; |
| 4141 |
|
|
4141 |
|
| 4142 |
{ |
|
4142 |
{ |
| 4143 |
if (ecu > 0U) { |
|
4143 |
if (ecu > 0U) { |
| 4144 |
if ((ecu & 3U) == 0U) { |
|
4144 |
if ((ecu & 3U) == 0U) { |
| 4145 |
tmp = 1; |
|
4145 |
tmp = 1; |
| 4146 |
} else { |
|
4146 |
} else { |
| 4147 |
tmp = 0; |
|
4147 |
tmp = 0; |
| 4148 |
} |
|
4148 |
} |
| 4149 |
} else { |
|
4149 |
} else { |
| 4150 |
tmp = 0; |
|
4150 |
tmp = 0; |
| 4151 |
} |
|
4151 |
} |
| 4152 |
return ((Bool )tmp); |
|
4152 |
return ((Bool )tmp); |
| 4153 |
} |
|
4153 |
} |
| 4154 |
} |
|
4154 |
} |
| 4155 |
extern ExeContext *vgPlain_make_ExeContext_from_StackTrace(Addr *ips , |
|
4155 |
extern ExeContext *vgPlain_make_ExeContext_from_StackTrace(Addr *ips , |
| 4156 |
UInt n_ips ) ; |
|
4156 |
UInt n_ips ) ; |
| 4157 |
extern ExeContext *vgPlain_get_error_where(Error *err ) ; |
|
4157 |
extern ExeContext *vgPlain_get_error_where(Error *err ) ; |
| 4158 |
extern ErrorKind vgPlain_get_error_kind(Error *err ) ; |
|
4158 |
extern ErrorKind vgPlain_get_error_kind(Error *err ) ; |
| 4159 |
extern Addr vgPlain_get_error_address(Error *err ) ; |
|
4159 |
extern Addr vgPlain_get_error_address(Error *err ) ; |
| 4160 |
extern Char *vgPlain_get_error_string(Error *err ) ; |
|
4160 |
extern Char *vgPlain_get_error_string(Error *err ) ; |
| 4161 |
extern void *vgPlain_get_error_extra(Error *err ) ; |
|
4161 |
extern void *vgPlain_get_error_extra(Error *err ) ; |
| 4162 |
extern void vgPlain_maybe_record_error(ThreadId tid , ErrorKind ekind , Addr a , |
|
4162 |
extern void vgPlain_maybe_record_error(ThreadId tid , ErrorKind ekind , Addr a , |
| 4163 |
Char *s , void *extra ) ; |
|
4163 |
Char *s , void *extra ) ; |
| 4164 |
extern Bool vgPlain_unique_error(ThreadId tid , ErrorKind ekind , Addr a , |
|
4164 |
extern Bool vgPlain_unique_error(ThreadId tid , ErrorKind ekind , Addr a , |
| 4165 |
Char *s , void *extra , ExeContext *where , |
|
4165 |
Char *s , void *extra , ExeContext *where , |
| 4166 |
Bool print_error , Bool allow_GDB_attach , |
|
4166 |
Bool print_error , Bool allow_GDB_attach , |
| 4167 |
Bool count_error ) ; |
|
4167 |
Bool count_error ) ; |
| 4168 |
extern Bool vgPlain_get_line(Int fd , Char **bufpp , SizeT *nBufp , Int *lineno ) ; |
|
4168 |
extern Bool vgPlain_get_line(Int fd , Char **bufpp , SizeT *nBufp , Int *lineno ) ; |
| 4169 |
extern SuppKind vgPlain_get_supp_kind(Supp *su ) ; |
|
4169 |
extern SuppKind vgPlain_get_supp_kind(Supp *su ) ; |
| 4170 |
extern Char *vgPlain_get_supp_string(Supp *su ) ; |
|
4170 |
extern Char *vgPlain_get_supp_string(Supp *su ) ; |
| 4171 |
extern void *vgPlain_get_supp_extra(Supp *su ) ; |
|
4171 |
extern void *vgPlain_get_supp_extra(Supp *su ) ; |
| 4172 |
extern void vgPlain_set_supp_kind(Supp *su , SuppKind suppkind ) ; |
|
4172 |
extern void vgPlain_set_supp_kind(Supp *su , SuppKind suppkind ) ; |
| 4173 |
extern void vgPlain_set_supp_string(Supp *su , Char *string ) ; |
|
4173 |
extern void vgPlain_set_supp_string(Supp *su , Char *string ) ; |
| 4174 |
extern void vgPlain_set_supp_extra(Supp *su , void *extra ) ; |
|
4174 |
extern void vgPlain_set_supp_extra(Supp *su , void *extra ) ; |
| 4175 |
extern void vgPlain_load_suppressions(void) ; |
|
4175 |
extern void vgPlain_load_suppressions(void) ; |
| 4176 |
extern void vgPlain_show_all_errors(Int verbosity , Bool xml ) ; |
|
4176 |
extern void vgPlain_show_all_errors(Int verbosity , Bool xml ) ; |
| 4177 |
extern void vgPlain_show_last_error(void) ; |
|
4177 |
extern void vgPlain_show_last_error(void) ; |
| 4178 |
extern void vgPlain_show_error_counts_as_XML(void) ; |
|
4178 |
extern void vgPlain_show_error_counts_as_XML(void) ; |
| 4179 |
extern Bool vgPlain_is_action_requested(Char *action , Bool *clo ) ; |
|
4179 |
extern Bool vgPlain_is_action_requested(Char *action , Bool *clo ) ; |
| 4180 |
extern Bool vgPlain_showing_core_errors(void) ; |
|
4180 |
extern Bool vgPlain_showing_core_errors(void) ; |
| 4181 |
extern UInt vgPlain_get_n_errs_found(void) ; |
|
4181 |
extern UInt vgPlain_get_n_errs_found(void) ; |
| 4182 |
extern void vgPlain_print_errormgr_stats(void) ; |
|
4182 |
extern void vgPlain_print_errormgr_stats(void) ; |
| 4183 |
extern void vgPlain_print_ExeContext_stats(void) ; |
|
4183 |
extern void vgPlain_print_ExeContext_stats(void) ; |
| 4184 |
extern Addr *vgPlain_get_ExeContext_StackTrace(ExeContext *e ) ; |
|
4184 |
extern Addr *vgPlain_get_ExeContext_StackTrace(ExeContext *e ) ; |
| 4185 |
extern void vgPlain_gdbserver(ThreadId tid ) ; |
|
4185 |
extern void vgPlain_gdbserver(ThreadId tid ) ; |
| 4186 |
extern Int vgPlain_dyn_vgdb_error ; |
|
4186 |
extern Int vgPlain_dyn_vgdb_error ; |
| 4187 |
extern char *vgPlain_ppPointKind(PointKind kind ) ; |
|
4187 |
extern char *vgPlain_ppPointKind(PointKind kind ) ; |
| 4188 |
extern Bool vgPlain_is_watched(PointKind kind , Addr addr , Int szB ) ; |
|
4188 |
extern Bool vgPlain_is_watched(PointKind kind , Addr addr , Int szB ) ; |
| 4189 |
extern void vgPlain_needs_watchpoint(Bool (*watchpoint)(PointKind kind , |
|
4189 |
extern void vgPlain_needs_watchpoint(Bool (*watchpoint)(PointKind kind , |
| 4190 |
Bool insert , |
|
4190 |
Bool insert , |
| 4191 |
Addr addr , SizeT len ) ) ; |
|
4191 |
Addr addr , SizeT len ) ) ; |
| 4192 |
extern UInt ( vgPlain_gdb_printf)(HChar const *format |
|
4192 |
extern UInt ( vgPlain_gdb_printf)(HChar const *format |
| 4193 |
, ...) ; |
|
4193 |
, ...) ; |
| 4194 |
extern Int vgPlain_keyword_id(Char *keywords , Char *input_word , |
|
4194 |
extern Int vgPlain_keyword_id(Char *keywords , Char *input_word , |
| 4195 |
kwd_report_error report ) ; |
|
4195 |
kwd_report_error report ) ; |
| 4196 |
extern void vgPlain_strtok_get_address_and_size(Addr *address , SizeT *szB , |
|
4196 |
extern void vgPlain_strtok_get_address_and_size(Addr *address , SizeT *szB , |
| 4197 |
Char **ssaveptr ) ; |
|
4197 |
Char **ssaveptr ) ; |
| 4198 |
extern void vgPlain_gdbserver_prerun_action(ThreadId tid ) ; |
|
4198 |
extern void vgPlain_gdbserver_prerun_action(ThreadId tid ) ; |
| 4199 |
extern Bool vgPlain_gdbserver_activity(ThreadId tid ) ; |
|
4199 |
extern Bool vgPlain_gdbserver_activity(ThreadId tid ) ; |
| 4200 |
extern Bool vgPlain_gdbserver_point(PointKind kind , Bool insert , Addr addr , |
|
4200 |
extern Bool vgPlain_gdbserver_point(PointKind kind , Bool insert , Addr addr , |
| 4201 |
int len ) ; |
|
4201 |
int len ) ; |
| 4202 |
extern void vgPlain_invoke_gdbserver(int check ) ; |
|
4202 |
extern void vgPlain_invoke_gdbserver(int check ) ; |
| 4203 |
extern Bool vgPlain_gdbserver_report_signal(Int signo , ThreadId tid ) ; |
|
4203 |
extern Bool vgPlain_gdbserver_report_signal(Int signo , ThreadId tid ) ; |
| 4204 |
extern IRSB *vgPlain_instrument_for_gdbserver_if_needed(IRSB *sb_in , |
|
4204 |
extern IRSB *vgPlain_instrument_for_gdbserver_if_needed(IRSB *sb_in , |
| 4205 |
VexGuestLayout *layout , |
|
4205 |
VexGuestLayout *layout , |
| 4206 |
VexGuestExtents *vge , |
|
4206 |
VexGuestExtents *vge , |
| 4207 |
IRType gWordTy , |
|
4207 |
IRType gWordTy , |
| 4208 |
IRType hWordTy ) ; |
|
4208 |
IRType hWordTy ) ; |
| 4209 |
extern void vgPlain_gdbserver_status_output(void) ; |
|
4209 |
extern void vgPlain_gdbserver_status_output(void) ; |
| 4210 |
extern IIFinaliseImageInfo vgPlain_ii_create_image(IICreateImageInfo ) ; |
|
4210 |
extern IIFinaliseImageInfo vgPlain_ii_create_image(IICreateImageInfo ) ; |
| 4211 |
extern void vgPlain_ii_finalise_image(IIFinaliseImageInfo ) ; |
|
4211 |
extern void vgPlain_ii_finalise_image(IIFinaliseImageInfo ) ; |
| 4212 |
extern Bool vgPlain_isspace(Char c ) ; |
|
4212 |
extern Bool vgPlain_isspace(Char c ) ; |
| 4213 |
extern Bool vgPlain_isdigit(Char c ) ; |
|
4213 |
extern Bool vgPlain_isdigit(Char c ) ; |
| 4214 |
extern Char vgPlain_tolower(Char c ) ; |
|
4214 |
extern Char vgPlain_tolower(Char c ) ; |
| 4215 |
extern Long vgPlain_strtoll10(Char *str , Char **endptr ) ; |
|
4215 |
extern Long vgPlain_strtoll10(Char *str , Char **endptr ) ; |
| 4216 |
extern Long vgPlain_strtoll16(Char *str , Char **endptr ) ; |
|
4216 |
extern Long vgPlain_strtoll16(Char *str , Char **endptr ) ; |
| 4217 |
extern ULong vgPlain_strtoull10(Char *str , Char **endptr ) ; |
|
4217 |
extern ULong vgPlain_strtoull10(Char *str , Char **endptr ) ; |
| 4218 |
extern ULong vgPlain_strtoull16(Char *str , Char **endptr ) ; |
|
4218 |
extern ULong vgPlain_strtoull16(Char *str , Char **endptr ) ; |
| 4219 |
extern double vgPlain_strtod(Char *str , Char **endptr ) ; |
|
4219 |
extern double vgPlain_strtod(Char *str , Char **endptr ) ; |
| 4220 |
extern SizeT vgPlain_strlen(Char const *str ) ; |
|
4220 |
extern SizeT vgPlain_strlen(Char const *str ) ; |
| 4221 |
extern Char *vgPlain_strcat(Char *dest , Char const *src ) ; |
|
4221 |
extern Char *vgPlain_strcat(Char *dest , Char const *src ) ; |
| 4222 |
extern Char *vgPlain_strncat(Char *dest , Char const *src , SizeT n ) ; |
|
4222 |
extern Char *vgPlain_strncat(Char *dest , Char const *src , SizeT n ) ; |
| 4223 |
extern Char *vgPlain_strpbrk(Char const *s , Char const *accpt ) ; |
|
4223 |
extern Char *vgPlain_strpbrk(Char const *s , Char const *accpt ) ; |
| 4224 |
extern Char *vgPlain_strcpy(Char *dest , Char const *src ) ; |
|
4224 |
extern Char *vgPlain_strcpy(Char *dest , Char const *src ) ; |
| 4225 |
extern Char *vgPlain_strncpy(Char *dest , Char const *src , SizeT ndest ) ; |
|
4225 |
extern Char *vgPlain_strncpy(Char *dest , Char const *src , SizeT ndest ) ; |
| 4226 |
extern Int vgPlain_strcmp(Char const *s1 , Char const *s2 ) ; |
|
4226 |
extern Int vgPlain_strcmp(Char const *s1 , Char const *s2 ) ; |
| 4227 |
extern Int vgPlain_strcasecmp(Char const *s1 , Char const *s2 ) ; |
|
4227 |
extern Int vgPlain_strcasecmp(Char const *s1 , Char const *s2 ) ; |
| 4228 |
extern Int vgPlain_strncmp(Char const *s1 , Char const *s2 , SizeT nmax ) ; |
|
4228 |
extern Int vgPlain_strncmp(Char const *s1 , Char const *s2 , SizeT nmax ) ; |
| 4229 |
extern Int vgPlain_strncasecmp(Char const *s1 , Char const *s2 , SizeT nmax ) ; |
|
4229 |
extern Int vgPlain_strncasecmp(Char const *s1 , Char const *s2 , SizeT nmax ) ; |
| 4230 |
extern Char *vgPlain_strstr(Char const *haystack , Char *needle ) ; |
|
4230 |
extern Char *vgPlain_strstr(Char const *haystack , Char *needle ) ; |
| 4231 |
extern Char *vgPlain_strcasestr(Char const *haystack , Char *needle ) ; |
|
4231 |
extern Char *vgPlain_strcasestr(Char const *haystack , Char *needle ) ; |
| 4232 |
extern Char *vgPlain_strchr(Char const *s , Char c ) ; |
|
4232 |
extern Char *vgPlain_strchr(Char const *s , Char c ) ; |
| 4233 |
extern Char *vgPlain_strrchr(Char const *s , Char c ) ; |
|
4233 |
extern Char *vgPlain_strrchr(Char const *s , Char c ) ; |
| 4234 |
extern SizeT vgPlain_strspn(Char const *s , Char const *accpt ) ; |
|
4234 |
extern SizeT vgPlain_strspn(Char const *s , Char const *accpt ) ; |
| 4235 |
extern SizeT vgPlain_strcspn(Char const *s , char const *reject ) ; |
|
4235 |
extern SizeT vgPlain_strcspn(Char const *s , char const *reject ) ; |
| 4236 |
extern Char *vgPlain_strtok_r(Char *s , Char const *delim , Char **saveptr ) ; |
|
4236 |
extern Char *vgPlain_strtok_r(Char *s , Char const *delim , Char **saveptr ) ; |
| 4237 |
extern Char *vgPlain_strtok(Char *s , Char const *delim ) ; |
|
4237 |
extern Char *vgPlain_strtok(Char *s , Char const *delim ) ; |
| 4238 |
extern Bool vgPlain_parse_Addr(UChar **ppc , Addr *result ) ; |
|
4238 |
extern Bool vgPlain_parse_Addr(UChar **ppc , Addr *result ) ; |
| 4239 |
extern void vgPlain_strncpy_safely(Char *dest , Char const *src , SizeT ndest ) ; |
|
4239 |
extern void vgPlain_strncpy_safely(Char *dest , Char const *src , SizeT ndest ) ; |
| 4240 |
extern void *vgPlain_memcpy(void *d , void const *s , SizeT sz ) ; |
|
4240 |
extern void *vgPlain_memcpy(void *d , void const *s , SizeT sz ) ; |
| 4241 |
extern void *vgPlain_memmove(void *d , void const *s , SizeT sz ) ; |
|
4241 |
extern void *vgPlain_memmove(void *d , void const *s , SizeT sz ) ; |
| 4242 |
extern void *vgPlain_memset(void *s , Int c , SizeT sz ) ; |
|
4242 |
extern void *vgPlain_memset(void *s , Int c , SizeT sz ) ; |
| 4243 |
extern Int vgPlain_memcmp(void const *s1 , void const *s2 , SizeT n ) ; |
|
4243 |
extern Int vgPlain_memcmp(void const *s1 , void const *s2 , SizeT n ) ; |
| 4244 |
__inline static void ( __attribute__((__always_inline__)) vgPlain_bzero_inline)(void *s , |
|
4244 |
__inline static void ( __attribute__((__always_inline__)) vgPlain_bzero_inline)(void *s , |
| 4245 |
SizeT sz ) |
|
4245 |
SizeT sz ) |
| 4246 |
{ |
|
4246 |
{ |
| 4247 |
UWord *p ; |
|
4247 |
UWord *p ; |
| 4248 |
UWord tmp ; |
|
4248 |
UWord tmp ; |
| 4249 |
UWord tmp___0 ; |
|
4249 |
UWord tmp___0 ; |
| 4250 |
UWord tmp___1 ; |
|
4250 |
UWord tmp___1 ; |
| 4251 |
UWord tmp___2 ; |
|
4251 |
UWord tmp___2 ; |
| 4252 |
UWord tmp___3 ; |
|
4252 |
UWord tmp___3 ; |
| 4253 |
UWord tmp___4 ; |
|
4253 |
UWord tmp___4 ; |
| 4254 |
UWord tmp___5 ; |
|
4254 |
UWord tmp___5 ; |
| 4255 |
UWord tmp___6 ; |
|
4255 |
UWord tmp___6 ; |
| 4256 |
UWord tmp___7 ; |
|
4256 |
UWord tmp___7 ; |
| 4257 |
UWord tmp___8 ; |
|
4257 |
UWord tmp___8 ; |
| 4258 |
UWord tmp___9 ; |
|
4258 |
UWord tmp___9 ; |
| 4259 |
UWord tmp___10 ; |
|
4259 |
UWord tmp___10 ; |
| 4260 |
UWord tmp___11 ; |
|
4260 |
UWord tmp___11 ; |
| 4261 |
UWord tmp___12 ; |
|
4261 |
UWord tmp___12 ; |
| 4262 |
UWord tmp___13 ; |
|
4262 |
UWord tmp___13 ; |
| 4263 |
UWord tmp___14 ; |
|
4263 |
UWord tmp___14 ; |
| 4264 |
UWord tmp___15 ; |
|
4264 |
UWord tmp___15 ; |
| 4265 |
UWord tmp___16 ; |
|
4265 |
UWord tmp___16 ; |
| 4266 |
UWord tmp___17 ; |
|
4266 |
UWord tmp___17 ; |
| 4267 |
UWord tmp___18 ; |
|
4267 |
UWord tmp___18 ; |
| 4268 |
UWord tmp___19 ; |
|
4268 |
UWord tmp___19 ; |
| 4269 |
UWord tmp___20 ; |
|
4269 |
UWord tmp___20 ; |
| 4270 |
UWord tmp___21 ; |
|
4270 |
UWord tmp___21 ; |
| 4271 |
UWord tmp___22 ; |
|
4271 |
UWord tmp___22 ; |
| 4272 |
UWord tmp___23 ; |
|
4272 |
UWord tmp___23 ; |
| 4273 |
UWord tmp___24 ; |
|
4273 |
UWord tmp___24 ; |
| 4274 |
UWord tmp___25 ; |
|
4274 |
UWord tmp___25 ; |
| 4275 |
UWord tmp___26 ; |
|
4275 |
UWord tmp___26 ; |
| 4276 |
long tmp___27 ; |
|
4276 |
long tmp___27 ; |
| 4277 |
long tmp___28 ; |
|
4277 |
long tmp___28 ; |
| 4278 |
|
|
4278 |
|
| 4279 |
{ |
|
4279 |
{ |
| 4280 |
tmp___27 = __builtin_expect((long )(! (! (0UL == (sz & (Addr )(sizeof(UWord ) - 1U))))), |
|
4280 |
tmp___27 = __builtin_expect((long )(! (! (0UL == (sz & (Addr )(sizeof(UWord ) - 1U))))), |
| 4281 |
1L); |
|
4281 |
1L); |
| 4282 |
if (tmp___27) { |
|
4282 |
if (tmp___27) { |
| 4283 |
tmp___28 = __builtin_expect((long )(! (! (0UL == ((Addr )s & (Addr )(sizeof(UWord ) - 1U))))), |
|
4283 |
tmp___28 = __builtin_expect((long )(! (! (0UL == ((Addr )s & (Addr )(sizeof(UWord ) - 1U))))), |
| 4284 |
1L); |
|
4284 |
1L); |
| 4285 |
if (tmp___28) { |
|
4285 |
if (tmp___28) { |
| 4286 |
p = (UWord *)s; |
|
4286 |
p = (UWord *)s; |
| 4287 |
switch (sz / (SizeT )sizeof(UWord )) { |
|
4287 |
switch (sz / (SizeT )sizeof(UWord )) { |
| 4288 |
case 8UL: |
|
4288 |
case 8UL: |
| 4289 |
tmp___5 = 0UL; |
|
4289 |
tmp___5 = 0UL; |
| 4290 |
*(p + 7) = tmp___5; |
|
4290 |
*(p + 7) = tmp___5; |
| 4291 |
tmp___4 = tmp___5; |
|
4291 |
tmp___4 = tmp___5; |
| 4292 |
*(p + 6) = tmp___4; |
|
4292 |
*(p + 6) = tmp___4; |
| 4293 |
tmp___3 = tmp___4; |
|
4293 |
tmp___3 = tmp___4; |
| 4294 |
*(p + 5) = tmp___3; |
|
4294 |
*(p + 5) = tmp___3; |
| 4295 |
tmp___2 = tmp___3; |
|
4295 |
tmp___2 = tmp___3; |
| 4296 |
*(p + 4) = tmp___2; |
|
4296 |
*(p + 4) = tmp___2; |
| 4297 |
tmp___1 = tmp___2; |
|
4297 |
tmp___1 = tmp___2; |
| 4298 |
*(p + 3) = tmp___1; |
|
4298 |
*(p + 3) = tmp___1; |
| 4299 |
tmp___0 = tmp___1; |
|
4299 |
tmp___0 = tmp___1; |
| 4300 |
*(p + 2) = tmp___0; |
|
4300 |
*(p + 2) = tmp___0; |
| 4301 |
tmp = tmp___0; |
|
4301 |
tmp = tmp___0; |
| 4302 |
*(p + 1) = tmp; |
|
4302 |
*(p + 1) = tmp; |
| 4303 |
*(p + 0) = tmp; |
|
4303 |
*(p + 0) = tmp; |
| 4304 |
return; |
|
4304 |
return; |
| 4305 |
case 7UL: |
|
4305 |
case 7UL: |
| 4306 |
tmp___11 = 0UL; |
|
4306 |
tmp___11 = 0UL; |
| 4307 |
*(p + 6) = tmp___11; |
|
4307 |
*(p + 6) = tmp___11; |
| 4308 |
tmp___10 = tmp___11; |
|
4308 |
tmp___10 = tmp___11; |
| 4309 |
*(p + 5) = tmp___10; |
|
4309 |
*(p + 5) = tmp___10; |
| 4310 |
tmp___9 = tmp___10; |
|
4310 |
tmp___9 = tmp___10; |
| 4311 |
*(p + 4) = tmp___9; |
|
4311 |
*(p + 4) = tmp___9; |
| 4312 |
tmp___8 = tmp___9; |
|
4312 |
tmp___8 = tmp___9; |
| 4313 |
*(p + 3) = tmp___8; |
|
4313 |
*(p + 3) = tmp___8; |
| 4314 |
tmp___7 = tmp___8; |
|
4314 |
tmp___7 = tmp___8; |
| 4315 |
*(p + 2) = tmp___7; |
|
4315 |
*(p + 2) = tmp___7; |
| 4316 |
tmp___6 = tmp___7; |
|
4316 |
tmp___6 = tmp___7; |
| 4317 |
*(p + 1) = tmp___6; |
|
4317 |
*(p + 1) = tmp___6; |
| 4318 |
*(p + 0) = tmp___6; |
|
4318 |
*(p + 0) = tmp___6; |
| 4319 |
return; |
|
4319 |
return; |
| 4320 |
case 6UL: |
|
4320 |
case 6UL: |
| 4321 |
tmp___16 = 0UL; |
|
4321 |
tmp___16 = 0UL; |
| 4322 |
*(p + 5) = tmp___16; |
|
4322 |
*(p + 5) = tmp___16; |
| 4323 |
tmp___15 = tmp___16; |
|
4323 |
tmp___15 = tmp___16; |
| 4324 |
*(p + 4) = tmp___15; |
|
4324 |
*(p + 4) = tmp___15; |
| 4325 |
tmp___14 = tmp___15; |
|
4325 |
tmp___14 = tmp___15; |
| 4326 |
*(p + 3) = tmp___14; |
|
4326 |
*(p + 3) = tmp___14; |
| 4327 |
tmp___13 = tmp___14; |
|
4327 |
tmp___13 = tmp___14; |
| 4328 |
*(p + 2) = tmp___13; |
|
4328 |
*(p + 2) = tmp___13; |
| 4329 |
tmp___12 = tmp___13; |
|
4329 |
tmp___12 = tmp___13; |
| 4330 |
*(p + 1) = tmp___12; |
|
4330 |
*(p + 1) = tmp___12; |
| 4331 |
*(p + 0) = tmp___12; |
|
4331 |
*(p + 0) = tmp___12; |
| 4332 |
return; |
|
4332 |
return; |
| 4333 |
case 5UL: |
|
4333 |
case 5UL: |
| 4334 |
tmp___20 = 0UL; |
|
4334 |
tmp___20 = 0UL; |
| 4335 |
*(p + 4) = tmp___20; |
|
4335 |
*(p + 4) = tmp___20; |
| 4336 |
tmp___19 = tmp___20; |
|
4336 |
tmp___19 = tmp___20; |
| 4337 |
*(p + 3) = tmp___19; |
|
4337 |
*(p + 3) = tmp___19; |
| 4338 |
tmp___18 = tmp___19; |
|
4338 |
tmp___18 = tmp___19; |
| 4339 |
*(p + 2) = tmp___18; |
|
4339 |
*(p + 2) = tmp___18; |
| 4340 |
tmp___17 = tmp___18; |
|
4340 |
tmp___17 = tmp___18; |
| 4341 |
*(p + 1) = tmp___17; |
|
4341 |
*(p + 1) = tmp___17; |
| 4342 |
*(p + 0) = tmp___17; |
|
4342 |
*(p + 0) = tmp___17; |
| 4343 |
return; |
|
4343 |
return; |
| 4344 |
case 4UL: |
|
4344 |
case 4UL: |
| 4345 |
tmp___23 = 0UL; |
|
4345 |
tmp___23 = 0UL; |
| 4346 |
*(p + 3) = tmp___23; |
|
4346 |
*(p + 3) = tmp___23; |
| 4347 |
tmp___22 = tmp___23; |
|
4347 |
tmp___22 = tmp___23; |
| 4348 |
*(p + 2) = tmp___22; |
|
4348 |
*(p + 2) = tmp___22; |
| 4349 |
tmp___21 = tmp___22; |
|
4349 |
tmp___21 = tmp___22; |
| 4350 |
*(p + 1) = tmp___21; |
|
4350 |
*(p + 1) = tmp___21; |
| 4351 |
*(p + 0) = tmp___21; |
|
4351 |
*(p + 0) = tmp___21; |
| 4352 |
return; |
|
4352 |
return; |
| 4353 |
case 3UL: |
|
4353 |
case 3UL: |
| 4354 |
tmp___25 = 0UL; |
|
4354 |
tmp___25 = 0UL; |
| 4355 |
*(p + 2) = tmp___25; |
|
4355 |
*(p + 2) = tmp___25; |
| 4356 |
tmp___24 = tmp___25; |
|
4356 |
tmp___24 = tmp___25; |
| 4357 |
*(p + 1) = tmp___24; |
|
4357 |
*(p + 1) = tmp___24; |
| 4358 |
*(p + 0) = tmp___24; |
|
4358 |
*(p + 0) = tmp___24; |
| 4359 |
return; |
|
4359 |
return; |
| 4360 |
case 2UL: |
|
4360 |
case 2UL: |
| 4361 |
tmp___26 = 0UL; |
|
4361 |
tmp___26 = 0UL; |
| 4362 |
*(p + 1) = tmp___26; |
|
4362 |
*(p + 1) = tmp___26; |
| 4363 |
*(p + 0) = tmp___26; |
|
4363 |
*(p + 0) = tmp___26; |
| 4364 |
return; |
|
4364 |
return; |
| 4365 |
case 1UL: |
|
4365 |
case 1UL: |
| 4366 |
*(p + 0) = 0UL; |
|
4366 |
*(p + 0) = 0UL; |
| 4367 |
return; |
|
4367 |
return; |
| 4368 |
case 0UL: |
|
4368 |
case 0UL: |
| 4369 |
return; |
|
4369 |
return; |
| 4370 |
default: |
|
4370 |
default: |
| 4371 |
break; |
|
4371 |
break; |
| 4372 |
} |
|
4372 |
} |
| 4373 |
} else { |
|
4373 |
} else { |
| 4374 |
|
|
4374 |
|
| 4375 |
} |
|
4375 |
} |
| 4376 |
} else { |
|
4376 |
} else { |
| 4377 |
|
|
4377 |
|
| 4378 |
} |
|
4378 |
} |
| 4379 |
vgPlain_memset(s, 0, sz); |
|
4379 |
vgPlain_memset(s, 0, sz); |
| 4380 |
return; |
|
4380 |
return; |
| 4381 |
} |
|
4381 |
} |
| 4382 |
} |
|
4382 |
} |
| 4383 |
extern void vgPlain_ssort(void *base , SizeT nmemb , SizeT size , |
|
4383 |
extern void vgPlain_ssort(void *base , SizeT nmemb , SizeT size , |
| 4384 |
Int (*compar)(void * , void * ) ) ; |
|
4384 |
Int (*compar)(void * , void * ) ) ; |
| 4385 |
extern Int vgPlain_log2(UInt x ) ; |
|
4385 |
extern Int vgPlain_log2(UInt x ) ; |
| 4386 |
extern Int vgPlain_log2_64(ULong x ) ; |
|
4386 |
extern Int vgPlain_log2_64(ULong x ) ; |
| 4387 |
extern UInt vgPlain_random(UInt *pSeed ) ; |
|
4387 |
extern UInt vgPlain_random(UInt *pSeed ) ; |
| 4388 |
extern __attribute__((__noreturn__)) void vgPlain_exit(Int status ) ; |
|
4388 |
extern __attribute__((__noreturn__)) void vgPlain_exit(Int status ) ; |
| 4389 |
extern __attribute__((__noreturn__)) void vgPlain_tool_panic(Char *str ) ; |
|
4389 |
extern __attribute__((__noreturn__)) void vgPlain_tool_panic(Char *str ) ; |
| 4390 |
extern __attribute__((__noreturn__)) void vgPlain_assert_fail(Bool isCore , |
|
4390 |
extern __attribute__((__noreturn__)) void vgPlain_assert_fail(Bool isCore , |
| 4391 |
Char const *expr , |
|
4391 |
Char const *expr , |
| 4392 |
Char const *file , |
|
4392 |
Char const *file , |
| 4393 |
Int line , |
|
4393 |
Int line , |
| 4394 |
Char const *fn , |
|
4394 |
Char const *fn , |
| 4395 |
HChar const *format |
|
4395 |
HChar const *format |
| 4396 |
, ...) ; |
|
4396 |
, ...) ; |
| 4397 |
extern __attribute__((__noreturn__)) void vgPlain_core_panic(Char *str ) ; |
|
4397 |
extern __attribute__((__noreturn__)) void vgPlain_core_panic(Char *str ) ; |
| 4398 |
extern __attribute__((__noreturn__)) void vgPlain_core_panic_at(Char *str , |
|
4398 |
extern __attribute__((__noreturn__)) void vgPlain_core_panic_at(Char *str , |
| 4399 |
UnwindStartRegs * ) ; |
|
4399 |
UnwindStartRegs * ) ; |
| 4400 |
extern __attribute__((__noreturn__)) void vgPlain_unimplemented(Char *msg ) ; |
|
4400 |
extern __attribute__((__noreturn__)) void vgPlain_unimplemented(Char *msg ) ; |
| 4401 |
extern void vgPlain_show_sched_status(void) ; |
|
4401 |
extern void vgPlain_show_sched_status(void) ; |
| 4402 |
extern SysRes vgPlain_mknod(Char const *pathname , Int mode , UWord dev ) ; |
|
4402 |
extern SysRes vgPlain_mknod(Char const *pathname , Int mode , UWord dev ) ; |
| 4403 |
extern SysRes vgPlain_open(Char const *pathname , Int flags , Int mode ) ; |
|
4403 |
extern SysRes vgPlain_open(Char const *pathname , Int flags , Int mode ) ; |
| 4404 |
extern Int vgPlain_fd_open(Char const *pathname , Int flags , Int mode ) ; |
|
4404 |
extern Int vgPlain_fd_open(Char const *pathname , Int flags , Int mode ) ; |
| 4405 |
extern void vgPlain_close(Int fd ) ; |
|
4405 |
extern void vgPlain_close(Int fd ) ; |
| 4406 |
extern Int vgPlain_read(Int fd , void *buf , Int count ) ; |
|
4406 |
extern Int vgPlain_read(Int fd , void *buf , Int count ) ; |
| 4407 |
extern Int vgPlain_write(Int fd , void const *buf , Int count ) ; |
|
4407 |
extern Int vgPlain_write(Int fd , void const *buf , Int count ) ; |
| 4408 |
extern Int vgPlain_pipe(Int *fd ) ; |
|
4408 |
extern Int vgPlain_pipe(Int *fd ) ; |
| 4409 |
extern OffT vgPlain_lseek(Int fd , OffT offset , Int whence ) ; |
|
4409 |
extern OffT vgPlain_lseek(Int fd , OffT offset , Int whence ) ; |
| 4410 |
extern SysRes vgPlain_stat(Char const *file_name , struct vg_stat *buf ) ; |
|
4410 |
extern SysRes vgPlain_stat(Char const *file_name , struct vg_stat *buf ) ; |
| 4411 |
extern Int vgPlain_fstat(Int fd , struct vg_stat *buf ) ; |
|
4411 |
extern Int vgPlain_fstat(Int fd , struct vg_stat *buf ) ; |
| 4412 |
extern SysRes vgPlain_dup(Int oldfd ) ; |
|
4412 |
extern SysRes vgPlain_dup(Int oldfd ) ; |
| 4413 |
extern SysRes vgPlain_dup2(Int oldfd , Int newfd ) ; |
|
4413 |
extern SysRes vgPlain_dup2(Int oldfd , Int newfd ) ; |
| 4414 |
extern Int vgPlain_rename(Char const *old_name , Char const *new_name ) ; |
|
4414 |
extern Int vgPlain_rename(Char const *old_name , Char const *new_name ) ; |
| 4415 |
extern Int vgPlain_unlink(Char const *file_name ) ; |
|
4415 |
extern Int vgPlain_unlink(Char const *file_name ) ; |
| 4416 |
extern Int vgPlain_poll(struct vki_pollfd *fds , Int nfds , Int timeout ) ; |
|
4416 |
extern Int vgPlain_poll(struct vki_pollfd *fds , Int nfds , Int timeout ) ; |
| 4417 |
extern Int vgPlain_readlink(Char const *path , Char *buf , UInt bufsize ) ; |
|
4417 |
extern Int vgPlain_readlink(Char const *path , Char *buf , UInt bufsize ) ; |
| 4418 |
extern Int vgPlain_getdents(Int fd , struct vki_dirent *dirp , UInt count ) ; |
|
4418 |
extern Int vgPlain_getdents(Int fd , struct vki_dirent *dirp , UInt count ) ; |
| 4419 |
extern Char *vgPlain_basename(Char const *path ) ; |
|
4419 |
extern Char *vgPlain_basename(Char const *path ) ; |
| 4420 |
extern Char *vgPlain_dirname(Char const *path ) ; |
|
4420 |
extern Char *vgPlain_dirname(Char const *path ) ; |
| 4421 |
extern Bool vgPlain_get_startup_wd(Char *buf , SizeT size ) ; |
|
4421 |
extern Bool vgPlain_get_startup_wd(Char *buf , SizeT size ) ; |
| 4422 |
extern Int vgPlain_safe_fd(Int oldfd ) ; |
|
4422 |
extern Int vgPlain_safe_fd(Int oldfd ) ; |
| 4423 |
extern Int vgPlain_fcntl(Int fd , Int cmd , Addr arg ) ; |
|
4423 |
extern Int vgPlain_fcntl(Int fd , Int cmd , Addr arg ) ; |
| 4424 |
extern Bool vgPlain_resolve_filename(Int fd , HChar *buf , Int n_buf ) ; |
|
4424 |
extern Bool vgPlain_resolve_filename(Int fd , HChar *buf , Int n_buf ) ; |
| 4425 |
extern Long vgPlain_fsize(Int fd ) ; |
|
4425 |
extern Long vgPlain_fsize(Int fd ) ; |
| 4426 |
extern Bool vgPlain_is_dir(HChar const *f ) ; |
|
4426 |
extern Bool vgPlain_is_dir(HChar const *f ) ; |
| 4427 |
extern Int vgPlain_connect_via_socket(UChar *str ) ; |
|
4427 |
extern Int vgPlain_connect_via_socket(UChar *str ) ; |
| 4428 |
extern UInt vgPlain_htonl(UInt x ) ; |
|
4428 |
extern UInt vgPlain_htonl(UInt x ) ; |
| 4429 |
extern UInt vgPlain_ntohl(UInt x ) ; |
|
4429 |
extern UInt vgPlain_ntohl(UInt x ) ; |
| 4430 |
extern UShort vgPlain_htons(UShort x ) ; |
|
4430 |
extern UShort vgPlain_htons(UShort x ) ; |
| 4431 |
extern UShort vgPlain_ntohs(UShort x ) ; |
|
4431 |
extern UShort vgPlain_ntohs(UShort x ) ; |
| 4432 |
extern Int vgPlain_socket(Int domain , Int type , Int protocol ) ; |
|
4432 |
extern Int vgPlain_socket(Int domain , Int type , Int protocol ) ; |
| 4433 |
extern Int vgPlain_write_socket(Int sd , void *msg , Int count ) ; |
|
4433 |
extern Int vgPlain_write_socket(Int sd , void *msg , Int count ) ; |
| 4434 |
extern Int vgPlain_getsockname(Int sd , struct vki_sockaddr *name , |
|
4434 |
extern Int vgPlain_getsockname(Int sd , struct vki_sockaddr *name , |
| 4435 |
Int *namelen ) ; |
|
4435 |
Int *namelen ) ; |
| 4436 |
extern Int vgPlain_getpeername(Int sd , struct vki_sockaddr *name , |
|
4436 |
extern Int vgPlain_getpeername(Int sd , struct vki_sockaddr *name , |
| 4437 |
Int *namelen ) ; |
|
4437 |
Int *namelen ) ; |
| 4438 |
extern Int vgPlain_getsockopt(Int sd , Int level , Int optname , void *optval , |
|
4438 |
extern Int vgPlain_getsockopt(Int sd , Int level , Int optname , void *optval , |
| 4439 |
Int *optlen ) ; |
|
4439 |
Int *optlen ) ; |
| 4440 |
extern Int vgPlain_access(HChar const *path , Bool irusr , Bool iwusr , |
|
4440 |
extern Int vgPlain_access(HChar const *path , Bool irusr , Bool iwusr , |
| 4441 |
Bool ixusr ) ; |
|
4441 |
Bool ixusr ) ; |
| 4442 |
extern Int vgPlain_check_executable(Bool *is_setuid , HChar const *f , |
|
4442 |
extern Int vgPlain_check_executable(Bool *is_setuid , HChar const *f , |
| 4443 |
Bool allow_setuid ) ; |
|
4443 |
Bool allow_setuid ) ; |
| 4444 |
extern SysRes vgPlain_pread(Int fd , void *buf , Int count , OffT offset ) ; |
|
4444 |
extern SysRes vgPlain_pread(Int fd , void *buf , Int count , OffT offset ) ; |
| 4445 |
extern Int vgPlain_mkstemp(HChar *part_of_name , HChar *fullname ) ; |
|
4445 |
extern Int vgPlain_mkstemp(HChar *part_of_name , HChar *fullname ) ; |
| 4446 |
extern Bool vgPlain_record_startup_wd(void) ; |
|
4446 |
extern Bool vgPlain_record_startup_wd(void) ; |
| 4447 |
extern UInt ( vgPlain_sprintf)(Char *buf , |
|
4447 |
extern UInt ( vgPlain_sprintf)(Char *buf , |
| 4448 |
HChar const *format |
|
4448 |
HChar const *format |
| 4449 |
, ...) ; |
|
4449 |
, ...) ; |
| 4450 |
extern UInt ( vgPlain_vsprintf)(Char *buf , |
|
4450 |
extern UInt ( vgPlain_vsprintf)(Char *buf , |
| 4451 |
HChar const *format , |
|
4451 |
HChar const *format , |
| 4452 |
va_list vargs ) ; |
|
4452 |
va_list vargs ) ; |
| 4453 |
extern UInt ( vgPlain_snprintf)(Char *buf , Int size , |
|
4453 |
extern UInt ( vgPlain_snprintf)(Char *buf , Int size , |
| 4454 |
HChar const *format |
|
4454 |
HChar const *format |
| 4455 |
, ...) ; |
|
4455 |
, ...) ; |
| 4456 |
extern UInt ( vgPlain_vsnprintf)(Char *buf , Int size , |
|
4456 |
extern UInt ( vgPlain_vsnprintf)(Char *buf , Int size , |
| 4457 |
HChar const *format , |
|
4457 |
HChar const *format , |
| 4458 |
va_list vargs ) ; |
|
4458 |
va_list vargs ) ; |
| 4459 |
extern void vgPlain_percentify(ULong n , ULong m , UInt d , Int n_buf , |
|
4459 |
extern void vgPlain_percentify(ULong n , ULong m , UInt d , Int n_buf , |
| 4460 |
char *buf ) ; |
|
4460 |
char *buf ) ; |
| 4461 |
extern UInt ( vgPlain_printf)(HChar const *format |
|
4461 |
extern UInt ( vgPlain_printf)(HChar const *format |
| 4462 |
, ...) ; |
|
4462 |
, ...) ; |
| 4463 |
extern UInt ( vgPlain_vprintf)(HChar const *format , |
|
4463 |
extern UInt ( vgPlain_vprintf)(HChar const *format , |
| 4464 |
va_list vargs ) ; |
|
4464 |
va_list vargs ) ; |
| 4465 |
extern UInt ( vgPlain_printf_xml)(HChar const *format |
|
4465 |
extern UInt ( vgPlain_printf_xml)(HChar const *format |
| 4466 |
, ...) ; |
|
4466 |
, ...) ; |
| 4467 |
extern UInt ( vgPlain_vprintf_xml)(HChar const *format , |
|
4467 |
extern UInt ( vgPlain_vprintf_xml)(HChar const *format , |
| 4468 |
va_list vargs ) ; |
|
4468 |
va_list vargs ) ; |
| 4469 |
extern UInt vgPlain_printf_xml_no_f_c(HChar const *format , ...) ; |
|
4469 |
extern UInt vgPlain_printf_xml_no_f_c(HChar const *format , ...) ; |
| 4470 |
extern void vgPlain_vcbprintf(void (*char_sink)(HChar , void *opaque ) , |
|
4470 |
extern void vgPlain_vcbprintf(void (*char_sink)(HChar , void *opaque ) , |
| 4471 |
void *opaque , HChar const *format , |
|
4471 |
void *opaque , HChar const *format , |
| 4472 |
va_list vargs ) ; |
|
4472 |
va_list vargs ) ; |
| 4473 |
extern UInt vgPlain_message_no_f_c(VgMsgKind kind , HChar const *format , ...) ; |
|
4473 |
extern UInt vgPlain_message_no_f_c(VgMsgKind kind , HChar const *format , ...) ; |
| 4474 |
extern UInt ( vgPlain_message)(VgMsgKind kind , |
|
4474 |
extern UInt ( vgPlain_message)(VgMsgKind kind , |
| 4475 |
HChar const *format |
|
4475 |
HChar const *format |
| 4476 |
, ...) ; |
|
4476 |
, ...) ; |
| 4477 |
extern UInt ( vgPlain_vmessage)(VgMsgKind kind , |
|
4477 |
extern UInt ( vgPlain_vmessage)(VgMsgKind kind , |
| 4478 |
HChar const *format , |
|
4478 |
HChar const *format , |
| 4479 |
va_list vargs ) ; |
|
4479 |
va_list vargs ) ; |
| 4480 |
extern UInt ( vgPlain_fmsg)(HChar const *format , ...) ; |
|
4480 |
extern UInt ( vgPlain_fmsg)(HChar const *format , ...) ; |
| 4481 |
extern __attribute__((__noreturn__)) void ( vgPlain_fmsg_bad_option)(HChar *opt , |
|
4481 |
extern __attribute__((__noreturn__)) void ( vgPlain_fmsg_bad_option)(HChar *opt , |
| 4482 |
HChar const *format |
|
4482 |
HChar const *format |
| 4483 |
, ...) ; |
|
4483 |
, ...) ; |
| 4484 |
extern UInt ( vgPlain_umsg)(HChar const *format , ...) ; |
|
4484 |
extern UInt ( vgPlain_umsg)(HChar const *format , ...) ; |
| 4485 |
extern UInt ( vgPlain_dmsg)(HChar const *format , ...) ; |
|
4485 |
extern UInt ( vgPlain_dmsg)(HChar const *format , ...) ; |
| 4486 |
extern void vgPlain_message_flush(void) ; |
|
4486 |
extern void vgPlain_message_flush(void) ; |
| 4487 |
extern OutputSink vgPlain_log_output_sink ; |
|
4487 |
extern OutputSink vgPlain_log_output_sink ; |
| 4488 |
extern OutputSink vgPlain_xml_output_sink ; |
|
4488 |
extern OutputSink vgPlain_xml_output_sink ; |
| 4489 |
extern void vgPlain_elapsed_wallclock_time(HChar *buf ) ; |
|
4489 |
extern void vgPlain_elapsed_wallclock_time(HChar *buf ) ; |
| 4490 |
extern __attribute__((__noreturn__)) void vgPlain_err_missing_prog(void) ; |
|
4490 |
extern __attribute__((__noreturn__)) void vgPlain_err_missing_prog(void) ; |
| 4491 |
extern __attribute__((__noreturn__)) void vgPlain_err_config_error(Char *msg ) ; |
|
4491 |
extern __attribute__((__noreturn__)) void vgPlain_err_config_error(Char *msg ) ; |
| 4492 |
extern Char **vgPlain_client_envp ; |
|
4492 |
extern Char **vgPlain_client_envp ; |
| 4493 |
extern Char *vgPlain_getenv(Char *name ) ; |
|
4493 |
extern Char *vgPlain_getenv(Char *name ) ; |
| 4494 |
extern Char const *vgPlain_libdir ; |
|
4494 |
extern Char const *vgPlain_libdir ; |
| 4495 |
extern Char const *vgPlain_LD_PRELOAD_var_name ; |
|
4495 |
extern Char const *vgPlain_LD_PRELOAD_var_name ; |
| 4496 |
extern Int vgPlain_waitpid(Int pid , Int *status , Int options ) ; |
|
4496 |
extern Int vgPlain_waitpid(Int pid , Int *status , Int options ) ; |
| 4497 |
extern Int vgPlain_system(Char *cmd ) ; |
|
4497 |
extern Int vgPlain_system(Char *cmd ) ; |
| 4498 |
extern Int vgPlain_fork(void) ; |
|
4498 |
extern Int vgPlain_fork(void) ; |
| 4499 |
extern void vgPlain_execv(Char *filename , Char **argv ) ; |
|
4499 |
extern void vgPlain_execv(Char *filename , Char **argv ) ; |
| 4500 |
extern Int vgPlain_getrlimit(Int resource , struct vki_rlimit *rlim ) ; |
|
4500 |
extern Int vgPlain_getrlimit(Int resource , struct vki_rlimit *rlim ) ; |
| 4501 |
extern Int vgPlain_setrlimit(Int resource , struct vki_rlimit const *rlim ) ; |
|
4501 |
extern Int vgPlain_setrlimit(Int resource , struct vki_rlimit const *rlim ) ; |
| 4502 |
extern Int vgPlain_prctl(Int option , ULong arg2 , ULong arg3 , ULong arg4 , |
|
4502 |
extern Int vgPlain_prctl(Int option , ULong arg2 , ULong arg3 , ULong arg4 , |
| 4503 |
ULong arg5 ) ; |
|
4503 |
ULong arg5 ) ; |
| 4504 |
extern Int vgPlain_gettid(void) ; |
|
4504 |
extern Int vgPlain_gettid(void) ; |
| 4505 |
extern Int vgPlain_getpid(void) ; |
|
4505 |
extern Int vgPlain_getpid(void) ; |
| 4506 |
extern Int vgPlain_getppid(void) ; |
|
4506 |
extern Int vgPlain_getppid(void) ; |
| 4507 |
extern Int vgPlain_getpgrp(void) ; |
|
4507 |
extern Int vgPlain_getpgrp(void) ; |
| 4508 |
extern Int vgPlain_geteuid(void) ; |
|
4508 |
extern Int vgPlain_geteuid(void) ; |
| 4509 |
extern Int vgPlain_getegid(void) ; |
|
4509 |
extern Int vgPlain_getegid(void) ; |
| 4510 |
extern UInt vgPlain_read_millisecond_timer(void) ; |
|
4510 |
extern UInt vgPlain_read_millisecond_timer(void) ; |
| 4511 |
extern void vgPlain_atfork(void (*pre)(ThreadId ) , |
|
4511 |
extern void vgPlain_atfork(void (*pre)(ThreadId ) , |
| 4512 |
void (*parent)(ThreadId ) , |
|
4512 |
void (*parent)(ThreadId ) , |
| 4513 |
void (*child)(ThreadId ) ) ; |
|
4513 |
void (*child)(ThreadId ) ) ; |
| 4514 |
extern Char **vgPlain_env_setenv(Char ***envp , Char const *varname , |
|
4514 |
extern Char **vgPlain_env_setenv(Char ***envp , Char const *varname , |
| 4515 |
Char const *val ) ; |
|
4515 |
Char const *val ) ; |
| 4516 |
extern void vgPlain_env_unsetenv(Char **env , Char const *varname ) ; |
|
4516 |
extern void vgPlain_env_unsetenv(Char **env , Char const *varname ) ; |
| 4517 |
extern void vgPlain_env_remove_valgrind_env_stuff(Char **env ) ; |
|
4517 |
extern void vgPlain_env_remove_valgrind_env_stuff(Char **env ) ; |
| 4518 |
extern Char **vgPlain_env_clone(Char **env_clone ) ; |
|
4518 |
extern Char **vgPlain_env_clone(Char **env_clone ) ; |
| 4519 |
extern Int vgPlain_getgroups(Int size , UInt *list ) ; |
|
4519 |
extern Int vgPlain_getgroups(Int size , UInt *list ) ; |
| 4520 |
extern Int vgPlain_ptrace(Int request , Int pid , void *addr , void *data ) ; |
|
4520 |
extern Int vgPlain_ptrace(Int request , Int pid , void *addr , void *data ) ; |
| 4521 |
extern void vgPlain_do_atfork_pre(ThreadId tid ) ; |
|
4521 |
extern void vgPlain_do_atfork_pre(ThreadId tid ) ; |
| 4522 |
extern void vgPlain_do_atfork_parent(ThreadId tid ) ; |
|
4522 |
extern void vgPlain_do_atfork_parent(ThreadId tid ) ; |
| 4523 |
extern void vgPlain_do_atfork_child(ThreadId tid ) ; |
|
4523 |
extern void vgPlain_do_atfork_child(ThreadId tid ) ; |
| 4524 |
extern Int vgPlain_sigprocmask(Int how , vki_sigset_t const *set , |
|
4524 |
extern Int vgPlain_sigprocmask(Int how , vki_sigset_t const *set , |
| 4525 |
vki_sigset_t *oldset ) ; |
|
4525 |
vki_sigset_t *oldset ) ; |
| 4526 |
extern Int vgPlain_sigfillset(vki_sigset_t *set ) ; |
|
4526 |
extern Int vgPlain_sigfillset(vki_sigset_t *set ) ; |
| 4527 |
extern Int vgPlain_sigemptyset(vki_sigset_t *set ) ; |
|
4527 |
extern Int vgPlain_sigemptyset(vki_sigset_t *set ) ; |
| 4528 |
extern Bool vgPlain_isfullsigset(vki_sigset_t const *set ) ; |
|
4528 |
extern Bool vgPlain_isfullsigset(vki_sigset_t const *set ) ; |
| 4529 |
extern Bool vgPlain_isemptysigset(vki_sigset_t const *set ) ; |
|
4529 |
extern Bool vgPlain_isemptysigset(vki_sigset_t const *set ) ; |
| 4530 |
extern Bool vgPlain_iseqsigset(vki_sigset_t const *set1 , |
|
4530 |
extern Bool vgPlain_iseqsigset(vki_sigset_t const *set1 , |
| 4531 |
vki_sigset_t const *set2 ) ; |
|
4531 |
vki_sigset_t const *set2 ) ; |
| 4532 |
extern Int vgPlain_sigaddset(vki_sigset_t *set , Int signum ) ; |
|
4532 |
extern Int vgPlain_sigaddset(vki_sigset_t *set , Int signum ) ; |
| 4533 |
extern Int vgPlain_sigdelset(vki_sigset_t *set , Int signum ) ; |
|
4533 |
extern Int vgPlain_sigdelset(vki_sigset_t *set , Int signum ) ; |
| 4534 |
extern Int vgPlain_sigismember(vki_sigset_t const *set , Int signum ) ; |
|
4534 |
extern Int vgPlain_sigismember(vki_sigset_t const *set , Int signum ) ; |
| 4535 |
extern void vgPlain_sigaddset_from_set(vki_sigset_t *dst , vki_sigset_t *src ) ; |
|
4535 |
extern void vgPlain_sigaddset_from_set(vki_sigset_t *dst , vki_sigset_t *src ) ; |
| 4536 |
extern void vgPlain_sigdelset_from_set(vki_sigset_t *dst , vki_sigset_t *src ) ; |
|
4536 |
extern void vgPlain_sigdelset_from_set(vki_sigset_t *dst , vki_sigset_t *src ) ; |
| 4537 |
extern void vgPlain_sigintersectset(vki_sigset_t *dst , vki_sigset_t *src ) ; |
|
4537 |
extern void vgPlain_sigintersectset(vki_sigset_t *dst , vki_sigset_t *src ) ; |
| 4538 |
extern void vgPlain_sigcomplementset(vki_sigset_t *dst , vki_sigset_t *src ) ; |
|
4538 |
extern void vgPlain_sigcomplementset(vki_sigset_t *dst , vki_sigset_t *src ) ; |
| 4539 |
extern Int vgPlain_sigaction(Int signum , vki_sigaction_toK_t const *act , |
|
4539 |
extern Int vgPlain_sigaction(Int signum , vki_sigaction_toK_t const *act , |
| 4540 |
vki_sigaction_fromK_t *oldact ) ; |
|
4540 |
vki_sigaction_fromK_t *oldact ) ; |
| 4541 |
extern void vgPlain_convert_sigaction_fromK_to_toK(vki_sigaction_fromK_t * , |
|
4541 |
extern void vgPlain_convert_sigaction_fromK_to_toK(vki_sigaction_fromK_t * , |
| 4542 |
vki_sigaction_toK_t * ) ; |
|
4542 |
vki_sigaction_toK_t * ) ; |
| 4543 |
extern Int vgPlain_kill(Int pid , Int signo ) ; |
|
4543 |
extern Int vgPlain_kill(Int pid , Int signo ) ; |
| 4544 |
extern Int vgPlain_tkill(Int lwpid , Int signo ) ; |
|
4544 |
extern Int vgPlain_tkill(Int lwpid , Int signo ) ; |
| 4545 |
extern Int vgPlain_sigtimedwait_zero(vki_sigset_t const * , vki_siginfo_t * ) ; |
|
4545 |
extern Int vgPlain_sigtimedwait_zero(vki_sigset_t const * , vki_siginfo_t * ) ; |
| 4546 |
extern SysRes vgPlain_do_syscall(UWord sysno , UWord , UWord , UWord , |
|
4546 |
extern SysRes vgPlain_do_syscall(UWord sysno , UWord , UWord , UWord , |
| 4547 |
UWord , UWord , UWord , UWord , UWord ) ; |
|
4547 |
UWord , UWord , UWord , UWord , UWord ) ; |
| 4548 |
extern SysRes vgPlain_mk_SysRes_x86_linux(Int val ) ; |
|
4548 |
extern SysRes vgPlain_mk_SysRes_x86_linux(Int val ) ; |
| 4549 |
extern SysRes vgPlain_mk_SysRes_amd64_linux(Long val ) ; |
|
4549 |
extern SysRes vgPlain_mk_SysRes_amd64_linux(Long val ) ; |
| 4550 |
extern SysRes vgPlain_mk_SysRes_ppc32_linux(UInt val , UInt cr0so ) ; |
|
4550 |
extern SysRes vgPlain_mk_SysRes_ppc32_linux(UInt val , UInt cr0so ) ; |
| 4551 |
extern SysRes vgPlain_mk_SysRes_ppc64_linux(ULong val , ULong cr0so ) ; |
|
4551 |
extern SysRes vgPlain_mk_SysRes_ppc64_linux(ULong val , ULong cr0so ) ; |
| 4552 |
extern SysRes vgPlain_mk_SysRes_arm_linux(Int val ) ; |
|
4552 |
extern SysRes vgPlain_mk_SysRes_arm_linux(Int val ) ; |
| 4553 |
extern SysRes vgPlain_mk_SysRes_ppc32_aix5(UInt val , UInt err ) ; |
|
4553 |
extern SysRes vgPlain_mk_SysRes_ppc32_aix5(UInt val , UInt err ) ; |
| 4554 |
extern SysRes vgPlain_mk_SysRes_ppc64_aix5(ULong val , ULong err ) ; |
|
4554 |
extern SysRes vgPlain_mk_SysRes_ppc64_aix5(ULong val , ULong err ) ; |
| 4555 |
extern SysRes vgPlain_mk_SysRes_x86_darwin(UChar scclass , Bool isErr , |
|
4555 |
extern SysRes vgPlain_mk_SysRes_x86_darwin(UChar scclass , Bool isErr , |
| 4556 |
UInt wHI , UInt wLO ) ; |
|
4556 |
UInt wHI , UInt wLO ) ; |
| 4557 |
extern SysRes vgPlain_mk_SysRes_amd64_darwin(UChar scclass , Bool isErr , |
|
4557 |
extern SysRes vgPlain_mk_SysRes_amd64_darwin(UChar scclass , Bool isErr , |
| 4558 |
ULong wHI , ULong wLO ) ; |
|
4558 |
ULong wHI , ULong wLO ) ; |
| 4559 |
extern SysRes vgPlain_mk_SysRes_s390x_linux(Long val ) ; |
|
4559 |
extern SysRes vgPlain_mk_SysRes_s390x_linux(Long val ) ; |
| 4560 |
extern SysRes vgPlain_mk_SysRes_Error(UWord val ) ; |
|
4560 |
extern SysRes vgPlain_mk_SysRes_Error(UWord val ) ; |
| 4561 |
extern SysRes vgPlain_mk_SysRes_Success(UWord val ) ; |
|
4561 |
extern SysRes vgPlain_mk_SysRes_Success(UWord val ) ; |
| 4562 |
extern HChar const *vgPlain_strerror(UWord errnum ) ; |
|
4562 |
extern HChar const *vgPlain_strerror(UWord errnum ) ; |
| 4563 |
extern Addr vgPlain_get_IP(ThreadId tid ) ; |
|
4563 |
extern Addr vgPlain_get_IP(ThreadId tid ) ; |
| 4564 |
extern Addr vgPlain_get_SP(ThreadId tid ) ; |
|
4564 |
extern Addr vgPlain_get_SP(ThreadId tid ) ; |
| 4565 |
extern void vgPlain_get_shadow_regs_area(ThreadId tid , UChar *dst , |
|
4565 |
extern void vgPlain_get_shadow_regs_area(ThreadId tid , UChar *dst , |
| 4566 |
Int shadowNo , PtrdiffT offset , |
|
4566 |
Int shadowNo , PtrdiffT offset , |
| 4567 |
SizeT size ) ; |
|
4567 |
SizeT size ) ; |
| 4568 |
extern void vgPlain_set_shadow_regs_area(ThreadId tid , Int shadowNo , |
|
4568 |
extern void vgPlain_set_shadow_regs_area(ThreadId tid , Int shadowNo , |
| 4569 |
PtrdiffT offset , SizeT size , |
|
4569 |
PtrdiffT offset , SizeT size , |
| 4570 |
UChar const *src ) ; |
|
4570 |
UChar const *src ) ; |
| 4571 |
extern void vgPlain_set_syscall_return_shadows(ThreadId tid , UWord s1res , |
|
4571 |
extern void vgPlain_set_syscall_return_shadows(ThreadId tid , UWord s1res , |
| 4572 |
UWord s2res , UWord s1err , |
|
4572 |
UWord s2res , UWord s1err , |
| 4573 |
UWord s2err ) ; |
|
4573 |
UWord s2err ) ; |
| 4574 |
extern void vgPlain_apply_to_GP_regs(void (*f)(UWord val ) ) ; |
|
4574 |
extern void vgPlain_apply_to_GP_regs(void (*f)(UWord val ) ) ; |
| 4575 |
extern void vgPlain_thread_stack_reset_iter(ThreadId *tid ) ; |
|
4575 |
extern void vgPlain_thread_stack_reset_iter(ThreadId *tid ) ; |
| 4576 |
extern Bool vgPlain_thread_stack_next(ThreadId *tid , Addr *stack_min , |
|
4576 |
extern Bool vgPlain_thread_stack_next(ThreadId *tid , Addr *stack_min , |
| 4577 |
Addr *stack_max ) ; |
|
4577 |
Addr *stack_max ) ; |
| 4578 |
extern Addr vgPlain_thread_get_stack_max(ThreadId tid ) ; |
|
4578 |
extern Addr vgPlain_thread_get_stack_max(ThreadId tid ) ; |
| 4579 |
extern SizeT vgPlain_thread_get_stack_size(ThreadId tid ) ; |
|
4579 |
extern SizeT vgPlain_thread_get_stack_size(ThreadId tid ) ; |
| 4580 |
extern Addr vgPlain_thread_get_altstack_min(ThreadId tid ) ; |
|
4580 |
extern Addr vgPlain_thread_get_altstack_min(ThreadId tid ) ; |
| 4581 |
extern SizeT vgPlain_thread_get_altstack_size(ThreadId tid ) ; |
|
4581 |
extern SizeT vgPlain_thread_get_altstack_size(ThreadId tid ) ; |
| 4582 |
extern void *vgPlain_fnptr_to_fnentry(void * ) ; |
|
4582 |
extern void *vgPlain_fnptr_to_fnentry(void * ) ; |
| 4583 |
extern Addr vgPlain_get_FP(ThreadId tid ) ; |
|
4583 |
extern Addr vgPlain_get_FP(ThreadId tid ) ; |
| 4584 |
extern void vgPlain_set_IP(ThreadId tid , Addr encip ) ; |
|
4584 |
extern void vgPlain_set_IP(ThreadId tid , Addr encip ) ; |
| 4585 |
extern void vgPlain_set_SP(ThreadId tid , Addr sp ) ; |
|
4585 |
extern void vgPlain_set_SP(ThreadId tid , Addr sp ) ; |
| 4586 |
extern void vgPlain_get_UnwindStartRegs(UnwindStartRegs *regs , ThreadId tid ) ; |
|
4586 |
extern void vgPlain_get_UnwindStartRegs(UnwindStartRegs *regs , ThreadId tid ) ; |
| 4587 |
extern Bool vgPlain_machine_get_hwcaps(void) ; |
|
4587 |
extern Bool vgPlain_machine_get_hwcaps(void) ; |
| 4588 |
extern void vgPlain_machine_get_VexArchInfo(VexArch * , VexArchInfo * ) ; |
|
4588 |
extern void vgPlain_machine_get_VexArchInfo(VexArch * , VexArchInfo * ) ; |
| 4589 |
extern UInt vgPlain_machine_x86_have_mxcsr ; |
|
4589 |
extern UInt vgPlain_machine_x86_have_mxcsr ; |
| 4590 |
extern void *vgPlain_malloc(HChar *cc , SizeT nbytes ) ; |
|
4590 |
extern void *vgPlain_malloc(HChar *cc , SizeT nbytes ) ; |
| 4591 |
extern void vgPlain_free(void *p ) ; |
|
4591 |
extern void vgPlain_free(void *p ) ; |
| 4592 |
extern void *vgPlain_calloc(HChar *cc , SizeT n , SizeT bytes_per_elem ) ; |
|
4592 |
extern void *vgPlain_calloc(HChar *cc , SizeT n , SizeT bytes_per_elem ) ; |
| 4593 |
extern void *vgPlain_realloc(HChar *cc , void *p , SizeT size ) ; |
|
4593 |
extern void *vgPlain_realloc(HChar *cc , void *p , SizeT size ) ; |
| 4594 |
extern Char *vgPlain_strdup(HChar *cc , Char const *s ) ; |
|
4594 |
extern Char *vgPlain_strdup(HChar *cc , Char const *s ) ; |
| 4595 |
extern SizeT vgPlain_malloc_usable_size(void *p ) ; |
|
4595 |
extern SizeT vgPlain_malloc_usable_size(void *p ) ; |
| 4596 |
extern __attribute__((__noreturn__)) void vgPlain_out_of_memory_NORETURN(HChar *who , |
|
4596 |
extern __attribute__((__noreturn__)) void vgPlain_out_of_memory_NORETURN(HChar *who , |
| 4597 |
SizeT szB ) ; |
|
4597 |
SizeT szB ) ; |
| 4598 |
extern void *vgPlain_arena_malloc(ArenaId arena , HChar *cc , SizeT nbytes ) ; |
|
4598 |
extern void *vgPlain_arena_malloc(ArenaId arena , HChar *cc , SizeT nbytes ) ; |
| 4599 |
extern void vgPlain_arena_free(ArenaId arena , void *ptr ) ; |
|
4599 |
extern void vgPlain_arena_free(ArenaId arena , void *ptr ) ; |
| 4600 |
extern void *vgPlain_arena_calloc(ArenaId arena , HChar *cc , SizeT nmemb , |
|
4600 |
extern void *vgPlain_arena_calloc(ArenaId arena , HChar *cc , SizeT nmemb , |
| 4601 |
SizeT bytes_per_memb ) ; |
|
4601 |
SizeT bytes_per_memb ) ; |
| 4602 |
extern void *vgPlain_arena_realloc(ArenaId arena , HChar *cc , void *ptr , |
|
4602 |
extern void *vgPlain_arena_realloc(ArenaId arena , HChar *cc , void *ptr , |
| 4603 |
SizeT size ) ; |
|
4603 |
SizeT size ) ; |
| 4604 |
extern void *vgPlain_arena_memalign(ArenaId aid , HChar *cc , SizeT req_alignB , |
|
4604 |
extern void *vgPlain_arena_memalign(ArenaId aid , HChar *cc , SizeT req_alignB , |
| 4605 |
SizeT req_pszB ) ; |
|
4605 |
SizeT req_pszB ) ; |
| 4606 |
extern Char *vgPlain_arena_strdup(ArenaId aid , HChar *cc , Char const *s ) ; |
|
4606 |
extern Char *vgPlain_arena_strdup(ArenaId aid , HChar *cc , Char const *s ) ; |
| 4607 |
extern SizeT vgPlain_arena_malloc_usable_size(ArenaId aid , void *payload ) ; |
|
4607 |
extern SizeT vgPlain_arena_malloc_usable_size(ArenaId aid , void *payload ) ; |
| 4608 |
extern void vgPlain_mallinfo(ThreadId tid , struct vg_mallinfo *mi ) ; |
|
4608 |
extern void vgPlain_mallinfo(ThreadId tid , struct vg_mallinfo *mi ) ; |
| 4609 |
extern void vgPlain_sanity_check_malloc_all(void) ; |
|
4609 |
extern void vgPlain_sanity_check_malloc_all(void) ; |
| 4610 |
extern void vgPlain_print_all_arena_stats(void) ; |
|
4610 |
extern void vgPlain_print_all_arena_stats(void) ; |
| 4611 |
extern void vgPlain_print_arena_cc_analysis(void) ; |
|
4611 |
extern void vgPlain_print_arena_cc_analysis(void) ; |
| 4612 |
extern Int vgPlain_clo_verbosity ; |
|
4612 |
extern Int vgPlain_clo_verbosity ; |
| 4613 |
extern Bool vgPlain_clo_stats ; |
|
4613 |
extern Bool vgPlain_clo_stats ; |
| 4614 |
extern Int vgPlain_clo_vgdb_error ; |
|
4614 |
extern Int vgPlain_clo_vgdb_error ; |
| 4615 |
extern Bool vgPlain_clo_xml ; |
|
4615 |
extern Bool vgPlain_clo_xml ; |
| 4616 |
extern HChar *vgPlain_clo_xml_user_comment ; |
|
4616 |
extern HChar *vgPlain_clo_xml_user_comment ; |
| 4617 |
extern VexControl vgPlain_clo_vex_control ; |
|
4617 |
extern VexControl vgPlain_clo_vex_control ; |
| 4618 |
extern Int vgPlain_clo_backtrace_size ; |
|
4618 |
extern Int vgPlain_clo_backtrace_size ; |
| 4619 |
extern Bool vgPlain_clo_show_below_main ; |
|
4619 |
extern Bool vgPlain_clo_show_below_main ; |
| 4620 |
extern Char *vgPlain_expand_file_name(Char *option_name , Char *format ) ; |
|
4620 |
extern Char *vgPlain_expand_file_name(Char *option_name , Char *format ) ; |
| 4621 |
extern Bool vgPlain_clo_error_limit ; |
|
4621 |
extern Bool vgPlain_clo_error_limit ; |
| 4622 |
extern Int vgPlain_clo_error_exitcode ; |
|
4622 |
extern Int vgPlain_clo_error_exitcode ; |
| 4623 |
extern VgVgdb vgPlain_clo_vgdb ; |
|
4623 |
extern VgVgdb vgPlain_clo_vgdb ; |
| 4624 |
extern Int vgPlain_clo_vgdb_poll ; |
|
4624 |
extern Int vgPlain_clo_vgdb_poll ; |
| 4625 |
extern Char *vgPlain_clo_vgdb_prefix ; |
|
4625 |
extern Char *vgPlain_clo_vgdb_prefix ; |
| 4626 |
extern Bool vgPlain_clo_vgdb_shadow_registers ; |
|
4626 |
extern Bool vgPlain_clo_vgdb_shadow_registers ; |
| 4627 |
extern Bool vgPlain_clo_db_attach ; |
|
4627 |
extern Bool vgPlain_clo_db_attach ; |
| 4628 |
extern Char *vgPlain_clo_db_command ; |
|
4628 |
extern Char *vgPlain_clo_db_command ; |
| 4629 |
extern Int vgPlain_clo_gen_suppressions ; |
|
4629 |
extern Int vgPlain_clo_gen_suppressions ; |
| 4630 |
extern Int vgPlain_clo_sanity_level ; |
|
4630 |
extern Int vgPlain_clo_sanity_level ; |
| 4631 |
extern Bool vgPlain_clo_demangle ; |
|
4631 |
extern Bool vgPlain_clo_demangle ; |
| 4632 |
extern Bool vgPlain_clo_trace_children ; |
|
4632 |
extern Bool vgPlain_clo_trace_children ; |
| 4633 |
extern HChar *vgPlain_clo_trace_children_skip ; |
|
4633 |
extern HChar *vgPlain_clo_trace_children_skip ; |
| 4634 |
extern HChar *vgPlain_clo_trace_children_skip_by_arg ; |
|
4634 |
extern HChar *vgPlain_clo_trace_children_skip_by_arg ; |
| 4635 |
extern Bool vgPlain_clo_child_silent_after_fork ; |
|
4635 |
extern Bool vgPlain_clo_child_silent_after_fork ; |
| 4636 |
extern Char *vgPlain_clo_log_fname_expanded ; |
|
4636 |
extern Char *vgPlain_clo_log_fname_expanded ; |
| 4637 |
extern Char *vgPlain_clo_xml_fname_expanded ; |
|
4637 |
extern Char *vgPlain_clo_xml_fname_expanded ; |
| 4638 |
extern Bool vgPlain_clo_time_stamp ; |
|
4638 |
extern Bool vgPlain_clo_time_stamp ; |
| 4639 |
extern Int vgPlain_clo_input_fd ; |
|
4639 |
extern Int vgPlain_clo_input_fd ; |
| 4640 |
extern Int vgPlain_clo_n_suppressions ; |
|
4640 |
extern Int vgPlain_clo_n_suppressions ; |
| 4641 |
extern Char *vgPlain_clo_suppressions[100] ; |
|
4641 |
extern Char *vgPlain_clo_suppressions[100] ; |
| 4642 |
extern Int vgPlain_clo_n_fullpath_after ; |
|
4642 |
extern Int vgPlain_clo_n_fullpath_after ; |
| 4643 |
extern Char *vgPlain_clo_fullpath_after[100] ; |
|
4643 |
extern Char *vgPlain_clo_fullpath_after[100] ; |
| 4644 |
extern UChar vgPlain_clo_trace_flags ; |
|
4644 |
extern UChar vgPlain_clo_trace_flags ; |
| 4645 |
extern UChar vgPlain_clo_profile_flags ; |
|
4645 |
extern UChar vgPlain_clo_profile_flags ; |
| 4646 |
extern Int vgPlain_clo_trace_notbelow ; |
|
4646 |
extern Int vgPlain_clo_trace_notbelow ; |
| 4647 |
extern Bool vgPlain_clo_trace_syscalls ; |
|
4647 |
extern Bool vgPlain_clo_trace_syscalls ; |
| 4648 |
extern Bool vgPlain_clo_trace_signals ; |
|
4648 |
extern Bool vgPlain_clo_trace_signals ; |
| 4649 |
extern Bool vgPlain_clo_trace_symtab ; |
|
4649 |
extern Bool vgPlain_clo_trace_symtab ; |
| 4650 |
extern HChar *vgPlain_clo_trace_symtab_patt ; |
|
4650 |
extern HChar *vgPlain_clo_trace_symtab_patt ; |
| 4651 |
extern Bool vgPlain_clo_trace_cfi ; |
|
4651 |
extern Bool vgPlain_clo_trace_cfi ; |
| 4652 |
extern Bool vgPlain_clo_debug_dump_syms ; |
|
4652 |
extern Bool vgPlain_clo_debug_dump_syms ; |
| 4653 |
extern Bool vgPlain_clo_debug_dump_line ; |
|
4653 |
extern Bool vgPlain_clo_debug_dump_line ; |
| 4654 |
extern Bool vgPlain_clo_debug_dump_frames ; |
|
4654 |
extern Bool vgPlain_clo_debug_dump_frames ; |
| 4655 |
extern Bool vgPlain_clo_trace_redir ; |
|
4655 |
extern Bool vgPlain_clo_trace_redir ; |
| 4656 |
extern Bool vgPlain_clo_trace_sched ; |
|
4656 |
extern Bool vgPlain_clo_trace_sched ; |
| 4657 |
extern Bool vgPlain_clo_profile_heap ; |
|
4657 |
extern Bool vgPlain_clo_profile_heap ; |
| 4658 |
extern Int vgPlain_clo_dump_error ; |
|
4658 |
extern Int vgPlain_clo_dump_error ; |
| 4659 |
extern Char *vgPlain_clo_sim_hints ; |
|
4659 |
extern Char *vgPlain_clo_sim_hints ; |
| 4660 |
extern Bool vgPlain_clo_sym_offsets ; |
|
4660 |
extern Bool vgPlain_clo_sym_offsets ; |
| 4661 |
extern Bool vgPlain_clo_read_var_info ; |
|
4661 |
extern Bool vgPlain_clo_read_var_info ; |
| 4662 |
extern Char *vgPlain_clo_prefix_to_strip ; |
|
4662 |
extern Char *vgPlain_clo_prefix_to_strip ; |
| 4663 |
extern Int vgPlain_clo_n_req_tsyms ; |
|
4663 |
extern Int vgPlain_clo_n_req_tsyms ; |
| 4664 |
extern HChar *vgPlain_clo_req_tsyms[100] ; |
|
4664 |
extern HChar *vgPlain_clo_req_tsyms[100] ; |
| 4665 |
extern Bool vgPlain_clo_track_fds ; |
|
4665 |
extern Bool vgPlain_clo_track_fds ; |
| 4666 |
extern Bool vgPlain_clo_run_libc_freeres ; |
|
4666 |
extern Bool vgPlain_clo_run_libc_freeres ; |
| 4667 |
extern Bool vgPlain_clo_show_emwarns ; |
|
4667 |
extern Bool vgPlain_clo_show_emwarns ; |
| 4668 |
extern Word vgPlain_clo_max_stackframe ; |
|
4668 |
extern Word vgPlain_clo_max_stackframe ; |
| 4669 |
extern Word vgPlain_clo_main_stacksize ; |
|
4669 |
extern Word vgPlain_clo_main_stacksize ; |
| 4670 |
extern Bool vgPlain_clo_wait_for_gdb ; |
|
4670 |
extern Bool vgPlain_clo_wait_for_gdb ; |
| 4671 |
extern VgSmc vgPlain_clo_smc_check ; |
|
4671 |
extern VgSmc vgPlain_clo_smc_check ; |
| 4672 |
extern HChar *vgPlain_clo_kernel_variant ; |
|
4672 |
extern HChar *vgPlain_clo_kernel_variant ; |
| 4673 |
extern Bool vgPlain_clo_dsymutil ; |
|
4673 |
extern Bool vgPlain_clo_dsymutil ; |
| 4674 |
extern Bool vgPlain_should_we_trace_this_child(HChar *child_exe_name , |
|
4674 |
extern Bool vgPlain_should_we_trace_this_child(HChar *child_exe_name , |
| 4675 |
HChar **child_argv ) ; |
|
4675 |
HChar **child_argv ) ; |
| 4676 |
extern Bool vgPlain_get_filename(Addr a , Char *filename , Int n_filename ) ; |
|
4676 |
extern Bool vgPlain_get_filename(Addr a , Char *filename , Int n_filename ) ; |
| 4677 |
extern Bool vgPlain_get_fnname(Addr a , Char *fnname , Int n_fnname ) ; |
|
4677 |
extern Bool vgPlain_get_fnname(Addr a , Char *fnname , Int n_fnname ) ; |
| 4678 |
extern Bool vgPlain_get_linenum(Addr a , UInt *linenum ) ; |
|
4678 |
extern Bool vgPlain_get_linenum(Addr a , UInt *linenum ) ; |
| 4679 |
extern Bool vgPlain_get_fnname_w_offset(Addr a , Char *fnname , Int n_fnname ) ; |
|
4679 |
extern Bool vgPlain_get_fnname_w_offset(Addr a , Char *fnname , Int n_fnname ) ; |
| 4680 |
extern Bool vgPlain_get_filename_linenum(Addr a , Char *filename , |
|
4680 |
extern Bool vgPlain_get_filename_linenum(Addr a , Char *filename , |
| 4681 |
Int n_filename , Char *dirname , |
|
4681 |
Int n_filename , Char *dirname , |
| 4682 |
Int n_dirname , |
|
4682 |
Int n_dirname , |
| 4683 |
Bool *dirname_available , |
|
4683 |
Bool *dirname_available , |
| 4684 |
UInt *linenum ) ; |
|
4684 |
UInt *linenum ) ; |
| 4685 |
extern Bool vgPlain_get_fnname_if_entry(Addr a , Char *fnname , Int n_fnname ) ; |
|
4685 |
extern Bool vgPlain_get_fnname_if_entry(Addr a , Char *fnname , Int n_fnname ) ; |
| 4686 |
extern Vg_FnNameKind vgPlain_get_fnname_kind(Char *name ) ; |
|
4686 |
extern Vg_FnNameKind vgPlain_get_fnname_kind(Char *name ) ; |
| 4687 |
extern Vg_FnNameKind vgPlain_get_fnname_kind_from_IP(Addr ip ) ; |
|
4687 |
extern Vg_FnNameKind vgPlain_get_fnname_kind_from_IP(Addr ip ) ; |
| 4688 |
extern Bool vgPlain_get_datasym_and_offset(Addr data_addr , Char *dname , |
|
4688 |
extern Bool vgPlain_get_datasym_and_offset(Addr data_addr , Char *dname , |
| 4689 |
Int n_dname , PtrdiffT *offset ) ; |
|
4689 |
Int n_dname , PtrdiffT *offset ) ; |
| 4690 |
extern Bool vgPlain_get_data_description(void *dname1v , void *dname2v , |
|
4690 |
extern Bool vgPlain_get_data_description(void *dname1v , void *dname2v , |
| 4691 |
Addr data_addr ) ; |
|
4691 |
Addr data_addr ) ; |
| 4692 |
extern Bool vgPlain_get_objname(Addr a , Char *objname , Int n_objname ) ; |
|
4692 |
extern Bool vgPlain_get_objname(Addr a , Char *objname , Int n_objname ) ; |
| 4693 |
extern Char *vgPlain_describe_IP(Addr eip , Char *buf , Int n_buf ) ; |
|
4693 |
extern Char *vgPlain_describe_IP(Addr eip , Char *buf , Int n_buf ) ; |
| 4694 |
extern void *vgPlain_di_get_stack_blocks_at_ip(Addr ip , Bool arrays_only ) ; |
|
4694 |
extern void *vgPlain_di_get_stack_blocks_at_ip(Addr ip , Bool arrays_only ) ; |
| 4695 |
extern void *vgPlain_di_get_global_blocks_from_dihandle(ULong di_handle , |
|
4695 |
extern void *vgPlain_di_get_global_blocks_from_dihandle(ULong di_handle , |
| 4696 |
Bool arrays_only ) ; |
|
4696 |
Bool arrays_only ) ; |
| 4697 |
extern DebugInfo *vgPlain_find_DebugInfo(Addr a ) ; |
|
4697 |
extern DebugInfo *vgPlain_find_DebugInfo(Addr a ) ; |
| 4698 |
extern Addr vgPlain_DebugInfo_get_text_avma(DebugInfo const *di ) ; |
|
4698 |
extern Addr vgPlain_DebugInfo_get_text_avma(DebugInfo const *di ) ; |
| 4699 |
extern SizeT vgPlain_DebugInfo_get_text_size(DebugInfo const *di ) ; |
|
4699 |
extern SizeT vgPlain_DebugInfo_get_text_size(DebugInfo const *di ) ; |
| 4700 |
extern Addr vgPlain_DebugInfo_get_plt_avma(DebugInfo const *di ) ; |
|
4700 |
extern Addr vgPlain_DebugInfo_get_plt_avma(DebugInfo const *di ) ; |
| 4701 |
extern SizeT vgPlain_DebugInfo_get_plt_size(DebugInfo const *di ) ; |
|
4701 |
extern SizeT vgPlain_DebugInfo_get_plt_size(DebugInfo const *di ) ; |
| 4702 |
extern Addr vgPlain_DebugInfo_get_gotplt_avma(DebugInfo const *di ) ; |
|
4702 |
extern Addr vgPlain_DebugInfo_get_gotplt_avma(DebugInfo const *di ) ; |
| 4703 |
extern SizeT vgPlain_DebugInfo_get_gotplt_size(DebugInfo const *di ) ; |
|
4703 |
extern SizeT vgPlain_DebugInfo_get_gotplt_size(DebugInfo const *di ) ; |
| 4704 |
extern UChar const *vgPlain_DebugInfo_get_soname(DebugInfo const *di ) ; |
|
4704 |
extern UChar const *vgPlain_DebugInfo_get_soname(DebugInfo const *di ) ; |
| 4705 |
extern UChar const *vgPlain_DebugInfo_get_filename(DebugInfo const *di ) ; |
|
4705 |
extern UChar const *vgPlain_DebugInfo_get_filename(DebugInfo const *di ) ; |
| 4706 |
extern PtrdiffT vgPlain_DebugInfo_get_text_bias(DebugInfo const *di ) ; |
|
4706 |
extern PtrdiffT vgPlain_DebugInfo_get_text_bias(DebugInfo const *di ) ; |
| 4707 |
extern DebugInfo const *vgPlain_next_DebugInfo(DebugInfo const *di ) ; |
|
4707 |
extern DebugInfo const *vgPlain_next_DebugInfo(DebugInfo const *di ) ; |
| 4708 |
extern Int vgPlain_DebugInfo_syms_howmany(DebugInfo const *di ) ; |
|
4708 |
extern Int vgPlain_DebugInfo_syms_howmany(DebugInfo const *di ) ; |
| 4709 |
extern void vgPlain_DebugInfo_syms_getidx(DebugInfo const *di , Int idx , |
|
4709 |
extern void vgPlain_DebugInfo_syms_getidx(DebugInfo const *di , Int idx , |
| 4710 |
Addr *avma , Addr *tocptr , |
|
4710 |
Addr *avma , Addr *tocptr , |
| 4711 |
UInt *size , HChar **name , |
|
4711 |
UInt *size , HChar **name , |
| 4712 |
Bool *isText , Bool *isIFunc ) ; |
|
4712 |
Bool *isText , Bool *isIFunc ) ; |
| 4713 |
extern HChar const *vgPlain_pp_SectKind(VgSectKind kind ) ; |
|
4713 |
extern HChar const *vgPlain_pp_SectKind(VgSectKind kind ) ; |
| 4714 |
extern VgSectKind vgPlain_DebugInfo_sect_kind(UChar *name , SizeT n_name , |
|
4714 |
extern VgSectKind vgPlain_DebugInfo_sect_kind(UChar *name , SizeT n_name , |
| 4715 |
Addr a ) ; |
|
4715 |
Addr a ) ; |
| 4716 |
extern void vgPlain_di_initialise(void) ; |
|
4716 |
extern void vgPlain_di_initialise(void) ; |
| 4717 |
extern ULong vgPlain_di_notify_mmap(Addr a , Bool allow_SkFileV ) ; |
|
4717 |
extern ULong vgPlain_di_notify_mmap(Addr a , Bool allow_SkFileV ) ; |
| 4718 |
extern void vgPlain_di_notify_munmap(Addr a , SizeT len ) ; |
|
4718 |
extern void vgPlain_di_notify_munmap(Addr a , SizeT len ) ; |
| 4719 |
extern void vgPlain_di_notify_mprotect(Addr a , SizeT len , UInt prot ) ; |
|
4719 |
extern void vgPlain_di_notify_mprotect(Addr a , SizeT len , UInt prot ) ; |
| 4720 |
extern void vgPlain_di_notify_pdb_debuginfo(Int fd , Addr avma , |
|
4720 |
extern void vgPlain_di_notify_pdb_debuginfo(Int fd , Addr avma , |
| 4721 |
SizeT total_size , |
|
4721 |
SizeT total_size , |
| 4722 |
PtrdiffT unknown_purpose__reloc ) ; |
|
4722 |
PtrdiffT unknown_purpose__reloc ) ; |
| 4723 |
extern void vgPlain_di_discard_ALL_debuginfo(void) ; |
|
4723 |
extern void vgPlain_di_discard_ALL_debuginfo(void) ; |
| 4724 |
extern Bool vgPlain_get_fnname_raw(Addr a , Char *buf , Int nbuf ) ; |
|
4724 |
extern Bool vgPlain_get_fnname_raw(Addr a , Char *buf , Int nbuf ) ; |
| 4725 |
extern Bool vgPlain_get_fnname_no_cxx_demangle(Addr a , Char *buf , Int nbuf ) ; |
|
4725 |
extern Bool vgPlain_get_fnname_no_cxx_demangle(Addr a , Char *buf , Int nbuf ) ; |
| 4726 |
extern Bool vgPlain_use_CF_info(D3UnwindRegs *uregs , Addr min_accessible , |
|
4726 |
extern Bool vgPlain_use_CF_info(D3UnwindRegs *uregs , Addr min_accessible , |
| 4727 |
Addr max_accessible ) ; |
|
4727 |
Addr max_accessible ) ; |
| 4728 |
extern Bool vgPlain_use_FPO_info(Addr *ipP , Addr *spP , Addr *fpP , |
|
4728 |
extern Bool vgPlain_use_FPO_info(Addr *ipP , Addr *spP , Addr *fpP , |
| 4729 |
Addr min_accessible , Addr max_accessible ) ; |
|
4729 |
Addr min_accessible , Addr max_accessible ) ; |
| 4730 |
extern Addr vgPlain_get_tocptr(Addr guest_code_addr ) ; |
|
4730 |
extern Addr vgPlain_get_tocptr(Addr guest_code_addr ) ; |
| 4731 |
extern Bool vgPlain_lookup_symbol_SLOW(UChar *sopatt , UChar *name , |
|
4731 |
extern Bool vgPlain_lookup_symbol_SLOW(UChar *sopatt , UChar *name , |
| 4732 |
Addr *pEnt , Addr *pToc ) ; |
|
4732 |
Addr *pEnt , Addr *pToc ) ; |
| 4733 |
extern void vgPlain_redir_notify_new_DebugInfo(DebugInfo * ) ; |
|
4733 |
extern void vgPlain_redir_notify_new_DebugInfo(DebugInfo * ) ; |
| 4734 |
extern void vgPlain_redir_notify_delete_DebugInfo(DebugInfo * ) ; |
|
4734 |
extern void vgPlain_redir_notify_delete_DebugInfo(DebugInfo * ) ; |
| 4735 |
extern void vgPlain_redir_initialise(void) ; |
|
4735 |
extern void vgPlain_redir_initialise(void) ; |
| 4736 |
extern void vgPlain_redir_add_ifunc_target(Addr old_from , Addr new_from ) ; |
|
4736 |
extern void vgPlain_redir_add_ifunc_target(Addr old_from , Addr new_from ) ; |
| 4737 |
extern Addr vgPlain_redir_do_lookup(Addr orig , Bool *isWrap ) ; |
|
4737 |
extern Addr vgPlain_redir_do_lookup(Addr orig , Bool *isWrap ) ; |
| 4738 |
extern ThreadId vgPlain_alloc_ThreadState(void) ; |
|
4738 |
extern ThreadId vgPlain_alloc_ThreadState(void) ; |
| 4739 |
extern void vgPlain_exit_thread(ThreadId tid ) ; |
|
4739 |
extern void vgPlain_exit_thread(ThreadId tid ) ; |
| 4740 |
extern void vgPlain_get_thread_out_of_syscall(ThreadId tid ) ; |
|
4740 |
extern void vgPlain_get_thread_out_of_syscall(ThreadId tid ) ; |
| 4741 |
extern void vgPlain_nuke_all_threads_except(ThreadId me , |
|
4741 |
extern void vgPlain_nuke_all_threads_except(ThreadId me , |
| 4742 |
VgSchedReturnCode reason ) ; |
|
4742 |
VgSchedReturnCode reason ) ; |
| 4743 |
extern void vgPlain_acquire_BigLock(ThreadId tid , HChar *who ) ; |
|
4743 |
extern void vgPlain_acquire_BigLock(ThreadId tid , HChar *who ) ; |
| 4744 |
extern void vgPlain_acquire_BigLock_LL(HChar *who ) ; |
|
4744 |
extern void vgPlain_acquire_BigLock_LL(HChar *who ) ; |
| 4745 |
extern void vgPlain_release_BigLock(ThreadId tid , ThreadStatus state , |
|
4745 |
extern void vgPlain_release_BigLock(ThreadId tid , ThreadStatus state , |
| 4746 |
HChar *who ) ; |
|
4746 |
HChar *who ) ; |
| 4747 |
extern void vgPlain_release_BigLock_LL(HChar *who ) ; |
|
4747 |
extern void vgPlain_release_BigLock_LL(HChar *who ) ; |
| 4748 |
extern void vgPlain_vg_yield(void) ; |
|
4748 |
extern void vgPlain_vg_yield(void) ; |
| 4749 |
extern VgSchedReturnCode vgPlain_scheduler(ThreadId tid ) ; |
|
4749 |
extern VgSchedReturnCode vgPlain_scheduler(ThreadId tid ) ; |
| 4750 |
extern ThreadId vgPlain_scheduler_init_phase1(void) ; |
|
4750 |
extern ThreadId vgPlain_scheduler_init_phase1(void) ; |
| 4751 |
extern void vgPlain_scheduler_init_phase2(ThreadId main_tid , Addr clstack_end , |
|
4751 |
extern void vgPlain_scheduler_init_phase2(ThreadId main_tid , Addr clstack_end , |
| 4752 |
SizeT clstack_size ) ; |
|
4752 |
SizeT clstack_size ) ; |
| 4753 |
extern void vgPlain_disable_vgdb_poll(void) ; |
|
4753 |
extern void vgPlain_disable_vgdb_poll(void) ; |
| 4754 |
extern void vgPlain_force_vgdb_poll(void) ; |
|
4754 |
extern void vgPlain_force_vgdb_poll(void) ; |
| 4755 |
extern ULong vgPlain_bbs_done(void) ; |
|
4755 |
extern ULong vgPlain_bbs_done(void) ; |
| 4756 |
extern void vgPlain_print_scheduler_stats(void) ; |
|
4756 |
extern void vgPlain_print_scheduler_stats(void) ; |
| 4757 |
extern Bool vgPlain_in_generated_code ; |
|
4757 |
extern Bool vgPlain_in_generated_code ; |
| 4758 |
extern void vgPlain_sanity_check_general(Bool force_expensive ) ; |
|
4758 |
extern void vgPlain_sanity_check_general(Bool force_expensive ) ; |
| 4759 |
extern Bool vgPlain_generic_match(Bool matchAll , void *patt , SizeT szbPatt , |
|
4759 |
extern Bool vgPlain_generic_match(Bool matchAll , void *patt , SizeT szbPatt , |
| 4760 |
UWord nPatt , UWord ixPatt , void *input , |
|
4760 |
UWord nPatt , UWord ixPatt , void *input , |
| 4761 |
SizeT szbInput , UWord nInput , |
|
4761 |
SizeT szbInput , UWord nInput , |
| 4762 |
UWord ixInput , Bool (*pIsStar)(void * ) , |
|
4762 |
UWord ixInput , Bool (*pIsStar)(void * ) , |
| 4763 |
Bool (*pIsQuery)(void * ) , |
|
4763 |
Bool (*pIsQuery)(void * ) , |
| 4764 |
Bool (*pattEQinp)(void * , void * ) ) ; |
|
4764 |
Bool (*pattEQinp)(void * , void * ) ) ; |
| 4765 |
extern Bool vgPlain_string_match(Char const *pat , Char const *str ) ; |
|
4765 |
extern Bool vgPlain_string_match(Char const *pat , Char const *str ) ; |
| 4766 |
extern void vgPlain_set_fault_catcher(void (*catcher)(Int sig , Addr addr ) ) ; |
|
4766 |
extern void vgPlain_set_fault_catcher(void (*catcher)(Int sig , Addr addr ) ) ; |
| 4767 |
extern Int vgPlain_max_signal ; |
|
4767 |
extern Int vgPlain_max_signal ; |
| 4768 |
extern void vgPlain_sigstartup_actions(void) ; |
|
4768 |
extern void vgPlain_sigstartup_actions(void) ; |
| 4769 |
extern void vgPlain_poll_signals(ThreadId ) ; |
|
4769 |
extern void vgPlain_poll_signals(ThreadId ) ; |
| 4770 |
extern SysRes vgPlain_do_sys_sigaltstack(ThreadId tid , vki_stack_t *ss , |
|
4770 |
extern SysRes vgPlain_do_sys_sigaltstack(ThreadId tid , vki_stack_t *ss , |
| 4771 |
vki_stack_t *oss ) ; |
|
4771 |
vki_stack_t *oss ) ; |
| 4772 |
extern SysRes vgPlain_do_sys_sigaction(Int signo , |
|
4772 |
extern SysRes vgPlain_do_sys_sigaction(Int signo , |
| 4773 |
vki_sigaction_toK_t const *new_act , |
|
4773 |
vki_sigaction_toK_t const *new_act , |
| 4774 |
vki_sigaction_fromK_t *old_act ) ; |
|
4774 |
vki_sigaction_fromK_t *old_act ) ; |
| 4775 |
extern SysRes vgPlain_do_sys_sigprocmask(ThreadId tid , Int how , |
|
4775 |
extern SysRes vgPlain_do_sys_sigprocmask(ThreadId tid , Int how , |
| 4776 |
vki_sigset_t *set , |
|
4776 |
vki_sigset_t *set , |
| 4777 |
vki_sigset_t *oldset ) ; |
|
4777 |
vki_sigset_t *oldset ) ; |
| 4778 |
extern void vgPlain_clear_out_queued_signals(ThreadId tid , |
|
4778 |
extern void vgPlain_clear_out_queued_signals(ThreadId tid , |
| 4779 |
vki_sigset_t *saved_mask ) ; |
|
4779 |
vki_sigset_t *saved_mask ) ; |
| 4780 |
extern void vgPlain_kill_self(Int sigNo ) ; |
|
4780 |
extern void vgPlain_kill_self(Int sigNo ) ; |
| 4781 |
extern void vgPlain_synth_fault(ThreadId tid ) ; |
|
4781 |
extern void vgPlain_synth_fault(ThreadId tid ) ; |
| 4782 |
extern void vgPlain_synth_fault_mapping(ThreadId tid , Addr addr ) ; |
|
4782 |
extern void vgPlain_synth_fault_mapping(ThreadId tid , Addr addr ) ; |
| 4783 |
extern void vgPlain_synth_fault_perms(ThreadId tid , Addr addr ) ; |
|
4783 |
extern void vgPlain_synth_fault_perms(ThreadId tid , Addr addr ) ; |
| 4784 |
extern void vgPlain_synth_sigill(ThreadId tid , Addr addr ) ; |
|
4784 |
extern void vgPlain_synth_sigill(ThreadId tid , Addr addr ) ; |
| 4785 |
extern void vgPlain_synth_sigtrap(ThreadId tid ) ; |
|
4785 |
extern void vgPlain_synth_sigtrap(ThreadId tid ) ; |
| 4786 |
extern void vgPlain_synth_sigbus(ThreadId tid ) ; |
|
4786 |
extern void vgPlain_synth_sigbus(ThreadId tid ) ; |
| 4787 |
extern Bool vgPlain_extend_stack(Addr addr , UInt maxsize ) ; |
|
4787 |
extern Bool vgPlain_extend_stack(Addr addr , UInt maxsize ) ; |
| 4788 |
extern void vgPlain_set_default_handler(Int sig ) ; |
|
4788 |
extern void vgPlain_set_default_handler(Int sig ) ; |
| 4789 |
extern UWord vgPlain_register_stack(Addr start , Addr end ) ; |
|
4789 |
extern UWord vgPlain_register_stack(Addr start , Addr end ) ; |
| 4790 |
extern void vgPlain_deregister_stack(UWord id ) ; |
|
4790 |
extern void vgPlain_deregister_stack(UWord id ) ; |
| 4791 |
extern void vgPlain_change_stack(UWord id , Addr start , Addr end ) ; |
|
4791 |
extern void vgPlain_change_stack(UWord id , Addr start , Addr end ) ; |
| 4792 |
extern void vgPlain_stack_limits(Addr SP , Addr *start , Addr *end ) ; |
|
4792 |
extern void vgPlain_stack_limits(Addr SP , Addr *start , Addr *end ) ; |
| 4793 |
extern void ( __attribute__((__regparm__(3))) vgPlain_unknown_SP_update)(Addr old_SP , |
|
4793 |
extern void ( __attribute__((__regparm__(3))) vgPlain_unknown_SP_update)(Addr old_SP , |
| 4794 |
Addr new_SP , |
|
4794 |
Addr new_SP , |
| 4795 |
UInt otag ) ; |
|
4795 |
UInt otag ) ; |
| 4796 |
extern void vgPlain_main_thread_wrapper_NORETURN(ThreadId tid ) ; |
|
4796 |
extern void vgPlain_main_thread_wrapper_NORETURN(ThreadId tid ) ; |
| 4797 |
extern void vgPlain_client_syscall(ThreadId tid , UInt trc ) ; |
|
4797 |
extern void vgPlain_client_syscall(ThreadId tid , UInt trc ) ; |
| 4798 |
extern void vgPlain_post_syscall(ThreadId tid ) ; |
|
4798 |
extern void vgPlain_post_syscall(ThreadId tid ) ; |
| 4799 |
extern void vgPlain_clear_syscallInfo(Int tid ) ; |
|
4799 |
extern void vgPlain_clear_syscallInfo(Int tid ) ; |
| 4800 |
extern void vgPlain_fixup_guest_state_after_syscall_interrupted(ThreadId tid , |
|
4800 |
extern void vgPlain_fixup_guest_state_after_syscall_interrupted(ThreadId tid , |
| 4801 |
Addr ip , |
|
4801 |
Addr ip , |
| 4802 |
SysRes sysret , |
|
4802 |
SysRes sysret , |
| 4803 |
Bool restart ) ; |
|
4803 |
Bool restart ) ; |
| 4804 |
extern void vgPlain_reap_threads(ThreadId self ) ; |
|
4804 |
extern void vgPlain_reap_threads(ThreadId self ) ; |
| 4805 |
extern void vgPlain_cleanup_thread(ThreadArchState * ) ; |
|
4805 |
extern void vgPlain_cleanup_thread(ThreadArchState * ) ; |
| 4806 |
extern void vgPlain_init_preopened_fds(void) ; |
|
4806 |
extern void vgPlain_init_preopened_fds(void) ; |
| 4807 |
extern void vgPlain_show_open_fds(void) ; |
|
4807 |
extern void vgPlain_show_open_fds(void) ; |
| 4808 |
extern void (*vgPlain_address_of_m_main_shutdown_actions_NORETURN)(ThreadId , |
|
4808 |
extern void (*vgPlain_address_of_m_main_shutdown_actions_NORETURN)(ThreadId , |
| 4809 |
VgSchedReturnCode ) ; |
|
4809 |
VgSchedReturnCode ) ; |
| 4810 |
extern void (*vgPlain_tl_pre_clo_init)(void) ; |
|
4810 |
extern void (*vgPlain_tl_pre_clo_init)(void) ; |
| 4811 |
extern void vgPlain_basic_tool_funcs(void (*post_clo_init)(void) , |
|
4811 |
extern void vgPlain_basic_tool_funcs(void (*post_clo_init)(void) , |
| 4812 |
IRSB *(*instrument)(VgCallbackClosure *closure , |
|
4812 |
IRSB *(*instrument)(VgCallbackClosure *closure , |
| 4813 |
IRSB *sb_in , |
|
4813 |
IRSB *sb_in , |
| 4814 |
VexGuestLayout *layout , |
|
4814 |
VexGuestLayout *layout , |
| 4815 |
VexGuestExtents *vge , |
|
4815 |
VexGuestExtents *vge , |
| 4816 |
IRType gWordTy , |
|
4816 |
IRType gWordTy , |
| 4817 |
IRType hWordTy ) , |
|
4817 |
IRType hWordTy ) , |
| 4818 |
void (*fini)(Int ) ) ; |
|
4818 |
void (*fini)(Int ) ) ; |
| 4819 |
extern void vgPlain_details_name(Char *name ) ; |
|
4819 |
extern void vgPlain_details_name(Char *name ) ; |
| 4820 |
extern void vgPlain_details_version(Char *version ) ; |
|
4820 |
extern void vgPlain_details_version(Char *version ) ; |
| 4821 |
extern void vgPlain_details_description(Char *description ) ; |
|
4821 |
extern void vgPlain_details_description(Char *description ) ; |
| 4822 |
extern void vgPlain_details_copyright_author(Char *copyright_author ) ; |
|
4822 |
extern void vgPlain_details_copyright_author(Char *copyright_author ) ; |
| 4823 |
extern void vgPlain_details_avg_translation_sizeB(UInt size ) ; |
|
4823 |
extern void vgPlain_details_avg_translation_sizeB(UInt size ) ; |
| 4824 |
extern void vgPlain_details_bug_reports_to(Char *bug_reports_to ) ; |
|
4824 |
extern void vgPlain_details_bug_reports_to(Char *bug_reports_to ) ; |
| 4825 |
extern void vgPlain_needs_libc_freeres(void) ; |
|
4825 |
extern void vgPlain_needs_libc_freeres(void) ; |
| 4826 |
extern void vgPlain_needs_core_errors(void) ; |
|
4826 |
extern void vgPlain_needs_core_errors(void) ; |
| 4827 |
extern void vgPlain_needs_tool_errors(Bool (*eq_Error)(VgRes res , Error *e1 , |
|
4827 |
extern void vgPlain_needs_tool_errors(Bool (*eq_Error)(VgRes res , Error *e1 , |
| 4828 |
Error *e2 ) , |
|
4828 |
Error *e2 ) , |
| 4829 |
void (*before_pp_Error)(Error *err ) , |
|
4829 |
void (*before_pp_Error)(Error *err ) , |
| 4830 |
void (*pp_Error)(Error *err ) , |
|
4830 |
void (*pp_Error)(Error *err ) , |
| 4831 |
Bool show_ThreadIDs_for_errors , |
|
4831 |
Bool show_ThreadIDs_for_errors , |
| 4832 |
UInt (*update_extra)(Error *err ) , |
|
4832 |
UInt (*update_extra)(Error *err ) , |
| 4833 |
Bool (*recognised_suppression)(Char *name , |
|
4833 |
Bool (*recognised_suppression)(Char *name , |
| 4834 |
Supp *su ) , |
|
4834 |
Supp *su ) , |
| 4835 |
Bool (*read_extra_suppression_info)(Int fd , |
|
4835 |
Bool (*read_extra_suppression_info)(Int fd , |
| 4836 |
Char **bufpp , |
|
4836 |
Char **bufpp , |
| 4837 |
SizeT *nBufp , |
|
4837 |
SizeT *nBufp , |
| 4838 |
Supp *su ) , |
|
4838 |
Supp *su ) , |
| 4839 |
Bool (*error_matches_suppression)(Error *err , |
|
4839 |
Bool (*error_matches_suppression)(Error *err , |
| 4840 |
Supp *su ) , |
|
4840 |
Supp *su ) , |
| 4841 |
Char *(*get_error_name)(Error *err ) , |
|
4841 |
Char *(*get_error_name)(Error *err ) , |
| 4842 |
Bool (*print_extra_suppression_info)(Error *err , |
|
4842 |
Bool (*print_extra_suppression_info)(Error *err , |
| 4843 |
Char *buf , |
|
4843 |
Char *buf , |
| 4844 |
Int nBuf ) ) ; |
|
4844 |
Int nBuf ) ) ; |
| 4845 |
extern void vgPlain_needs_superblock_discards(void (*discard_superblock_info)(Addr64 orig_addr , |
|
4845 |
extern void vgPlain_needs_superblock_discards(void (*discard_superblock_info)(Addr64 orig_addr , |
| 4846 |
VexGuestExtents extents ) ) ; |
|
4846 |
VexGuestExtents extents ) ) ; |
| 4847 |
extern void vgPlain_needs_command_line_options(Bool (*process_cmd_line_option)(Char *argv ) , |
|
4847 |
extern void vgPlain_needs_command_line_options(Bool (*process_cmd_line_option)(Char *argv ) , |
| 4848 |
void (*print_usage)(void) , |
|
4848 |
void (*print_usage)(void) , |
| 4849 |
void (*print_debug_usage)(void) ) ; |
|
4849 |
void (*print_debug_usage)(void) ) ; |
| 4850 |
extern void vgPlain_needs_client_requests(Bool (*handle_client_request)(ThreadId tid , |
|
4850 |
extern void vgPlain_needs_client_requests(Bool (*handle_client_request)(ThreadId tid , |
| 4851 |
UWord *arg_block , |
|
4851 |
UWord *arg_block , |
| 4852 |
UWord *ret ) ) ; |
|
4852 |
UWord *ret ) ) ; |
| 4853 |
extern void vgPlain_needs_syscall_wrapper(void (*pre_syscall)(ThreadId tid , |
|
4853 |
extern void vgPlain_needs_syscall_wrapper(void (*pre_syscall)(ThreadId tid , |
| 4854 |
UInt syscallno , |
|
4854 |
UInt syscallno , |
| 4855 |
UWord *args , |
|
4855 |
UWord *args , |
| 4856 |
UInt nArgs ) , |
|
4856 |
UInt nArgs ) , |
| 4857 |
void (*post_syscall)(ThreadId tid , |
|
4857 |
void (*post_syscall)(ThreadId tid , |
| 4858 |
UInt syscallno , |
|
4858 |
UInt syscallno , |
| 4859 |
UWord *args , |
|
4859 |
UWord *args , |
| 4860 |
UInt nArgs , |
|
4860 |
UInt nArgs , |
| 4861 |
SysRes res ) ) ; |
|
4861 |
SysRes res ) ) ; |
| 4862 |
extern void vgPlain_needs_sanity_checks(Bool (*cheap_sanity_check)(void) , |
|
4862 |
extern void vgPlain_needs_sanity_checks(Bool (*cheap_sanity_check)(void) , |
| 4863 |
Bool (*expensive_sanity_check)(void) ) ; |
|
4863 |
Bool (*expensive_sanity_check)(void) ) ; |
| 4864 |
extern void vgPlain_needs_var_info(void) ; |
|
4864 |
extern void vgPlain_needs_var_info(void) ; |
| 4865 |
extern void vgPlain_needs_malloc_replacement(void *(*pmalloc)(ThreadId tid , |
|
4865 |
extern void vgPlain_needs_malloc_replacement(void *(*pmalloc)(ThreadId tid , |
| 4866 |
SizeT n ) , |
|
4866 |
SizeT n ) , |
| 4867 |
void *(*p__builtin_new)(ThreadId tid , |
|
4867 |
void *(*p__builtin_new)(ThreadId tid , |
| 4868 |
SizeT n ) , |
|
4868 |
SizeT n ) , |
| 4869 |
void *(*p__builtin_vec_new)(ThreadId tid , |
|
4869 |
void *(*p__builtin_vec_new)(ThreadId tid , |
| 4870 |
SizeT n ) , |
|
4870 |
SizeT n ) , |
| 4871 |
void *(*pmemalign)(ThreadId tid , |
|
4871 |
void *(*pmemalign)(ThreadId tid , |
| 4872 |
SizeT align , |
|
4872 |
SizeT align , |
| 4873 |
SizeT n ) , |
|
4873 |
SizeT n ) , |
| 4874 |
void *(*pcalloc)(ThreadId tid , |
|
4874 |
void *(*pcalloc)(ThreadId tid , |
| 4875 |
SizeT nmemb , |
|
4875 |
SizeT nmemb , |
| 4876 |
SizeT size1 ) , |
|
4876 |
SizeT size1 ) , |
| 4877 |
void (*pfree)(ThreadId tid , |
|
4877 |
void (*pfree)(ThreadId tid , |
| 4878 |
void *p ) , |
|
4878 |
void *p ) , |
| 4879 |
void (*p__builtin_delete)(ThreadId tid , |
|
4879 |
void (*p__builtin_delete)(ThreadId tid , |
| 4880 |
void *p ) , |
|
4880 |
void *p ) , |
| 4881 |
void (*p__builtin_vec_delete)(ThreadId tid , |
|
4881 |
void (*p__builtin_vec_delete)(ThreadId tid , |
| 4882 |
void *p ) , |
|
4882 |
void *p ) , |
| 4883 |
void *(*prealloc)(ThreadId tid , |
|
4883 |
void *(*prealloc)(ThreadId tid , |
| 4884 |
void *p , |
|
4884 |
void *p , |
| 4885 |
SizeT new_size ) , |
|
4885 |
SizeT new_size ) , |
| 4886 |
SizeT (*pmalloc_usable_size)(ThreadId tid , |
|
4886 |
SizeT (*pmalloc_usable_size)(ThreadId tid , |
| 4887 |
void *p ) , |
|
4887 |
void *p ) , |
| 4888 |
SizeT client_malloc_redzone_szB ) ; |
|
4888 |
SizeT client_malloc_redzone_szB ) ; |
| 4889 |
extern void vgPlain_needs_xml_output(void) ; |
|
4889 |
extern void vgPlain_needs_xml_output(void) ; |
| 4890 |
extern void vgPlain_needs_final_IR_tidy_pass(IRSB *(*final_tidy)(IRSB * ) ) ; |
|
4890 |
extern void vgPlain_needs_final_IR_tidy_pass(IRSB *(*final_tidy)(IRSB * ) ) ; |
| 4891 |
extern void vgPlain_track_new_mem_startup(void (*f)(Addr a , SizeT len , |
|
4891 |
extern void vgPlain_track_new_mem_startup(void (*f)(Addr a , SizeT len , |
| 4892 |
Bool rr , Bool ww , |
|
4892 |
Bool rr , Bool ww , |
| 4893 |
Bool xx , ULong di_handle ) ) ; |
|
4893 |
Bool xx , ULong di_handle ) ) ; |
| 4894 |
extern void vgPlain_track_new_mem_stack_signal(void (*f)(Addr a , SizeT len , |
|
4894 |
extern void vgPlain_track_new_mem_stack_signal(void (*f)(Addr a , SizeT len , |
| 4895 |
ThreadId tid ) ) ; |
|
4895 |
ThreadId tid ) ) ; |
| 4896 |
extern void vgPlain_track_new_mem_brk(void (*f)(Addr a , SizeT len , |
|
4896 |
extern void vgPlain_track_new_mem_brk(void (*f)(Addr a , SizeT len , |
| 4897 |
ThreadId tid ) ) ; |
|
4897 |
ThreadId tid ) ) ; |
| 4898 |
extern void vgPlain_track_new_mem_mmap(void (*f)(Addr a , SizeT len , Bool rr , |
|
4898 |
extern void vgPlain_track_new_mem_mmap(void (*f)(Addr a , SizeT len , Bool rr , |
| 4899 |
Bool ww , Bool xx , |
|
4899 |
Bool ww , Bool xx , |
| 4900 |
ULong di_handle ) ) ; |
|
4900 |
ULong di_handle ) ) ; |
| 4901 |
extern void vgPlain_track_copy_mem_remap(void (*f)(Addr from , Addr to , |
|
4901 |
extern void vgPlain_track_copy_mem_remap(void (*f)(Addr from , Addr to , |
| 4902 |
SizeT len ) ) ; |
|
4902 |
SizeT len ) ) ; |
| 4903 |
extern void vgPlain_track_change_mem_mprotect(void (*f)(Addr a , SizeT len , |
|
4903 |
extern void vgPlain_track_change_mem_mprotect(void (*f)(Addr a , SizeT len , |
| 4904 |
Bool rr , Bool ww , |
|
4904 |
Bool rr , Bool ww , |
| 4905 |
Bool xx ) ) ; |
|
4905 |
Bool xx ) ) ; |
| 4906 |
extern void vgPlain_track_die_mem_stack_signal(void (*f)(Addr a , SizeT len ) ) ; |
|
4906 |
extern void vgPlain_track_die_mem_stack_signal(void (*f)(Addr a , SizeT len ) ) ; |
| 4907 |
extern void vgPlain_track_die_mem_brk(void (*f)(Addr a , SizeT len ) ) ; |
|
4907 |
extern void vgPlain_track_die_mem_brk(void (*f)(Addr a , SizeT len ) ) ; |
| 4908 |
extern void vgPlain_track_die_mem_munmap(void (*f)(Addr a , SizeT len ) ) ; |
|
4908 |
extern void vgPlain_track_die_mem_munmap(void (*f)(Addr a , SizeT len ) ) ; |
| 4909 |
extern void vgPlain_track_new_mem_stack_4_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4909 |
extern void vgPlain_track_new_mem_stack_4_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4910 |
UInt ecu ) ) ; |
|
4910 |
UInt ecu ) ) ; |
| 4911 |
extern void vgPlain_track_new_mem_stack_8_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4911 |
extern void vgPlain_track_new_mem_stack_8_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4912 |
UInt ecu ) ) ; |
|
4912 |
UInt ecu ) ) ; |
| 4913 |
extern void vgPlain_track_new_mem_stack_12_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4913 |
extern void vgPlain_track_new_mem_stack_12_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4914 |
UInt ecu ) ) ; |
|
4914 |
UInt ecu ) ) ; |
| 4915 |
extern void vgPlain_track_new_mem_stack_16_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4915 |
extern void vgPlain_track_new_mem_stack_16_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4916 |
UInt ecu ) ) ; |
|
4916 |
UInt ecu ) ) ; |
| 4917 |
extern void vgPlain_track_new_mem_stack_32_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4917 |
extern void vgPlain_track_new_mem_stack_32_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4918 |
UInt ecu ) ) ; |
|
4918 |
UInt ecu ) ) ; |
| 4919 |
extern void vgPlain_track_new_mem_stack_112_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4919 |
extern void vgPlain_track_new_mem_stack_112_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4920 |
UInt ecu ) ) ; |
|
4920 |
UInt ecu ) ) ; |
| 4921 |
extern void vgPlain_track_new_mem_stack_128_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4921 |
extern void vgPlain_track_new_mem_stack_128_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4922 |
UInt ecu ) ) ; |
|
4922 |
UInt ecu ) ) ; |
| 4923 |
extern void vgPlain_track_new_mem_stack_144_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4923 |
extern void vgPlain_track_new_mem_stack_144_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4924 |
UInt ecu ) ) ; |
|
4924 |
UInt ecu ) ) ; |
| 4925 |
extern void vgPlain_track_new_mem_stack_160_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
|
4925 |
extern void vgPlain_track_new_mem_stack_160_w_ECU(void ( __attribute__((__regparm__(2))) (*f))(Addr new_ESP , |
| 4926 |
UInt ecu ) ) ; |
|
4926 |
UInt ecu ) ) ; |
| 4927 |
extern void vgPlain_track_new_mem_stack_w_ECU(void (*f)(Addr a , SizeT len , |
|
4927 |
extern void vgPlain_track_new_mem_stack_w_ECU(void (*f)(Addr a , SizeT len , |
| 4928 |
UInt ecu ) ) ; |
|
4928 |
UInt ecu ) ) ; |
| 4929 |
extern void vgPlain_track_new_mem_stack_4(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4929 |
extern void vgPlain_track_new_mem_stack_4(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4930 |
extern void vgPlain_track_new_mem_stack_8(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4930 |
extern void vgPlain_track_new_mem_stack_8(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4931 |
extern void vgPlain_track_new_mem_stack_12(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4931 |
extern void vgPlain_track_new_mem_stack_12(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4932 |
extern void vgPlain_track_new_mem_stack_16(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4932 |
extern void vgPlain_track_new_mem_stack_16(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4933 |
extern void vgPlain_track_new_mem_stack_32(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4933 |
extern void vgPlain_track_new_mem_stack_32(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4934 |
extern void vgPlain_track_new_mem_stack_112(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4934 |
extern void vgPlain_track_new_mem_stack_112(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4935 |
extern void vgPlain_track_new_mem_stack_128(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4935 |
extern void vgPlain_track_new_mem_stack_128(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4936 |
extern void vgPlain_track_new_mem_stack_144(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4936 |
extern void vgPlain_track_new_mem_stack_144(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4937 |
extern void vgPlain_track_new_mem_stack_160(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
|
4937 |
extern void vgPlain_track_new_mem_stack_160(void ( __attribute__((__regparm__(1))) (*f))(Addr new_ESP ) ) ; |
| 4938 |
extern void vgPlain_track_new_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
|
4938 |
extern void vgPlain_track_new_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
| 4939 |
extern void vgPlain_track_die_mem_stack_4(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4939 |
extern void vgPlain_track_die_mem_stack_4(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4940 |
extern void vgPlain_track_die_mem_stack_8(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4940 |
extern void vgPlain_track_die_mem_stack_8(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4941 |
extern void vgPlain_track_die_mem_stack_12(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4941 |
extern void vgPlain_track_die_mem_stack_12(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4942 |
extern void vgPlain_track_die_mem_stack_16(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4942 |
extern void vgPlain_track_die_mem_stack_16(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4943 |
extern void vgPlain_track_die_mem_stack_32(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4943 |
extern void vgPlain_track_die_mem_stack_32(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4944 |
extern void vgPlain_track_die_mem_stack_112(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4944 |
extern void vgPlain_track_die_mem_stack_112(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4945 |
extern void vgPlain_track_die_mem_stack_128(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4945 |
extern void vgPlain_track_die_mem_stack_128(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4946 |
extern void vgPlain_track_die_mem_stack_144(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4946 |
extern void vgPlain_track_die_mem_stack_144(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4947 |
extern void vgPlain_track_die_mem_stack_160(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
|
4947 |
extern void vgPlain_track_die_mem_stack_160(void ( __attribute__((__regparm__(1))) (*f))(Addr die_ESP ) ) ; |
| 4948 |
extern void vgPlain_track_die_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
|
4948 |
extern void vgPlain_track_die_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
| 4949 |
extern void vgPlain_track_ban_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
|
4949 |
extern void vgPlain_track_ban_mem_stack(void (*f)(Addr a , SizeT len ) ) ; |
| 4950 |
extern void vgPlain_track_pre_mem_read(void (*f)(CorePart part , ThreadId tid , |
|
4950 |
extern void vgPlain_track_pre_mem_read(void (*f)(CorePart part , ThreadId tid , |
| 4951 |
Char *s , Addr a , SizeT size ) ) ; |
|
4951 |
Char *s , Addr a , SizeT size ) ) ; |
| 4952 |
extern void vgPlain_track_pre_mem_read_asciiz(void (*f)(CorePart part , |
|
4952 |
extern void vgPlain_track_pre_mem_read_asciiz(void (*f)(CorePart part , |
| 4953 |
ThreadId tid , Char *s , |
|
4953 |
ThreadId tid , Char *s , |
| 4954 |
Addr a ) ) ; |
|
4954 |
Addr a ) ) ; |
| 4955 |
extern void vgPlain_track_pre_mem_write(void (*f)(CorePart part , ThreadId tid , |
|
4955 |
extern void vgPlain_track_pre_mem_write(void (*f)(CorePart part , ThreadId tid , |
| 4956 |
Char *s , Addr a , SizeT size ) ) ; |
|
4956 |
Char *s , Addr a , SizeT size ) ) ; |
| 4957 |
extern void vgPlain_track_post_mem_write(void (*f)(CorePart part , |
|
4957 |
extern void vgPlain_track_post_mem_write(void (*f)(CorePart part , |
| 4958 |
ThreadId tid , Addr a , |
|
4958 |
ThreadId tid , Addr a , |
| 4959 |
SizeT size ) ) ; |
|
4959 |
SizeT size ) ) ; |
| 4960 |
extern void vgPlain_track_pre_reg_read(void (*f)(CorePart part , ThreadId tid , |
|
4960 |
extern void vgPlain_track_pre_reg_read(void (*f)(CorePart part , ThreadId tid , |
| 4961 |
Char *s , |
|
4961 |
Char *s , |
| 4962 |
PtrdiffT guest_state_offset , |
|
4962 |
PtrdiffT guest_state_offset , |
| 4963 |
SizeT size ) ) ; |
|
4963 |
SizeT size ) ) ; |
| 4964 |
extern void vgPlain_track_post_reg_write(void (*f)(CorePart part , |
|
4964 |
extern void vgPlain_track_post_reg_write(void (*f)(CorePart part , |
| 4965 |
ThreadId tid , |
|
4965 |
ThreadId tid , |
| 4966 |
PtrdiffT guest_state_offset , |
|
4966 |
PtrdiffT guest_state_offset , |
| 4967 |
SizeT size ) ) ; |
|
4967 |
SizeT size ) ) ; |
| 4968 |
extern void vgPlain_track_post_reg_write_clientcall_return(void (*f)(ThreadId tid , |
|
4968 |
extern void vgPlain_track_post_reg_write_clientcall_return(void (*f)(ThreadId tid , |
| 4969 |
PtrdiffT guest_state_offset , |
|
4969 |
PtrdiffT guest_state_offset , |
| 4970 |
SizeT size , |
|
4970 |
SizeT size , |
| 4971 |
Addr f ) ) ; |
|
4971 |
Addr f ) ) ; |
| 4972 |
extern void vgPlain_track_start_client_code(void (*f)(ThreadId tid , |
|
4972 |
extern void vgPlain_track_start_client_code(void (*f)(ThreadId tid , |
| 4973 |
ULong blocks_dispatched ) ) ; |
|
4973 |
ULong blocks_dispatched ) ) ; |
| 4974 |
extern void vgPlain_track_stop_client_code(void (*f)(ThreadId tid , |
|
4974 |
extern void vgPlain_track_stop_client_code(void (*f)(ThreadId tid , |
| 4975 |
ULong blocks_dispatched ) ) ; |
|
4975 |
ULong blocks_dispatched ) ) ; |
| 4976 |
extern void vgPlain_track_pre_thread_ll_create(void (*f)(ThreadId tid , |
|
4976 |
extern void vgPlain_track_pre_thread_ll_create(void (*f)(ThreadId tid , |
| 4977 |
ThreadId child ) ) ; |
|
4977 |
ThreadId child ) ) ; |
| 4978 |
extern void vgPlain_track_pre_thread_first_insn(void (*f)(ThreadId tid ) ) ; |
|
4978 |
extern void vgPlain_track_pre_thread_first_insn(void (*f)(ThreadId tid ) ) ; |
| 4979 |
extern void vgPlain_track_pre_thread_ll_exit(void (*f)(ThreadId tid ) ) ; |
|
4979 |
extern void vgPlain_track_pre_thread_ll_exit(void (*f)(ThreadId tid ) ) ; |
| 4980 |
extern void vgPlain_track_pre_deliver_signal(void (*f)(ThreadId tid , |
|
4980 |
extern void vgPlain_track_pre_deliver_signal(void (*f)(ThreadId tid , |
| 4981 |
Int sigNo , |
|
4981 |
Int sigNo , |
| 4982 |
Bool alt_stack ) ) ; |
|
4982 |
Bool alt_stack ) ) ; |
| 4983 |
extern void vgPlain_track_post_deliver_signal(void (*f)(ThreadId tid , |
|
4983 |
extern void vgPlain_track_post_deliver_signal(void (*f)(ThreadId tid , |
| 4984 |
Int sigNo ) ) ; |
|
4984 |
Int sigNo ) ) ; |
| 4985 |
extern VgDetails vgPlain_details ; |
|
4985 |
extern VgDetails vgPlain_details ; |
| 4986 |
extern VgNeeds vgPlain_needs ; |
|
4986 |
extern VgNeeds vgPlain_needs ; |
| 4987 |
extern VgToolInterface vgPlain_tdict ; |
|
4987 |
extern VgToolInterface vgPlain_tdict ; |
| 4988 |
extern Bool vgPlain_sanity_check_needs(Char **failmsg ) ; |
|
4988 |
extern Bool vgPlain_sanity_check_needs(Char **failmsg ) ; |
| 4989 |
extern Bool vgPlain_translate(ThreadId tid , Addr64 orig_addr , |
|
4989 |
extern Bool vgPlain_translate(ThreadId tid , Addr64 orig_addr , |
| 4990 |
Bool debugging_translation , |
|
4990 |
Bool debugging_translation , |
| 4991 |
Int debugging_verbosity , ULong bbs_done , |
|
4991 |
Int debugging_verbosity , ULong bbs_done , |
| 4992 |
Bool allow_redirection ) ; |
|
4992 |
Bool allow_redirection ) ; |
| 4993 |
extern void vgPlain_print_translation_stats(void) ; |
|
4993 |
extern void vgPlain_print_translation_stats(void) ; |
| 4994 |
extern Addr vgPlain_trampoline_stuff_start ; |
|
4994 |
extern Addr vgPlain_trampoline_stuff_start ; |
| 4995 |
extern Addr vgPlain_trampoline_stuff_end ; |
|
4995 |
extern Addr vgPlain_trampoline_stuff_end ; |
| 4996 |
extern Addr vgPlain_x86_linux_SUBST_FOR_sigreturn ; |
|
4996 |
extern Addr vgPlain_x86_linux_SUBST_FOR_sigreturn ; |
| 4997 |
extern Addr vgPlain_x86_linux_SUBST_FOR_rt_sigreturn ; |
|
4997 |
extern Addr vgPlain_x86_linux_SUBST_FOR_rt_sigreturn ; |
| 4998 |
extern Char *vgPlain_x86_linux_REDIR_FOR_index(Char const * , Int ) ; |
|
4998 |
extern Char *vgPlain_x86_linux_REDIR_FOR_index(Char const * , Int ) ; |
| 4999 |
extern UInt vgPlain_x86_linux_REDIR_FOR_strlen(void * ) ; |
|
4999 |
extern UInt vgPlain_x86_linux_REDIR_FOR_strlen(void * ) ; |
| 5000 |
extern FastCacheEntry __attribute__((__aligned__(16))) vgPlain_tt_fast[1 << 15] ; |
|
5000 |
extern FastCacheEntry __attribute__((__aligned__(16))) vgPlain_tt_fast[1 << 15] ; |
| 5001 |
extern UInt *vgPlain_tt_fastN[1 << 15] ; |
|
5001 |
extern UInt *vgPlain_tt_fastN[1 << 15] ; |
| 5002 |
extern void vgPlain_init_tt_tc(void) ; |
|
5002 |
extern void vgPlain_init_tt_tc(void) ; |
| 5003 |
extern void vgPlain_add_to_transtab(VexGuestExtents *vge , Addr64 entry , |
|
5003 |
extern void vgPlain_add_to_transtab(VexGuestExtents *vge , Addr64 entry , |
| 5004 |
AddrH code , UInt code_len , |
|
5004 |
AddrH code , UInt code_len , |
| 5005 |
Bool is_self_checking ) ; |
|
5005 |
Bool is_self_checking ) ; |
| 5006 |
extern Bool vgPlain_search_transtab(AddrH *result , Addr64 guest_addr , |
|
5006 |
extern Bool vgPlain_search_transtab(AddrH *result , Addr64 guest_addr , |
| 5007 |
Bool upd_cache ) ; |
|
5007 |
Bool upd_cache ) ; |
| 5008 |
extern void vgPlain_discard_translations(Addr64 start , ULong range , |
|
5008 |
extern void vgPlain_discard_translations(Addr64 start , ULong range , |
| 5009 |
HChar *who ) ; |
|
5009 |
HChar *who ) ; |
| 5010 |
extern void vgPlain_print_tt_tc_stats(void) ; |
|
5010 |
extern void vgPlain_print_tt_tc_stats(void) ; |
| 5011 |
extern UInt vgPlain_get_bbs_translated(void) ; |
|
5011 |
extern UInt vgPlain_get_bbs_translated(void) ; |
| 5012 |
extern void vgPlain_add_to_unredir_transtab(VexGuestExtents *vge , |
|
5012 |
extern void vgPlain_add_to_unredir_transtab(VexGuestExtents *vge , |
| 5013 |
Addr64 entry , AddrH code , |
|
5013 |
Addr64 entry , AddrH code , |
| 5014 |
UInt code_len ) ; |
|
5014 |
UInt code_len ) ; |
| 5015 |
extern Bool vgPlain_search_unredir_transtab(AddrH *result , Addr64 guest_addr ) ; |
|
5015 |
extern Bool vgPlain_search_unredir_transtab(AddrH *result , Addr64 guest_addr ) ; |
| 5016 |
extern ULong vgPlain_get_BB_profile(BBProfEntry *tops , UInt n_tops ) ; |
|
5016 |
extern ULong vgPlain_get_BB_profile(BBProfEntry *tops , UInt n_tops ) ; |
| 5017 |
static void print_all_stats(void) |
|
5017 |
static void print_all_stats(void) |
| 5018 |
{ |
|
5018 |
{ |
| 5019 |
|
|
5019 |
|
| 5020 |
|
|
5020 |
|
| 5021 |
{ |
|
5021 |
{ |
| 5022 |
vgPlain_print_translation_stats(); |
|
5022 |
vgPlain_print_translation_stats(); |
| 5023 |
vgPlain_print_tt_tc_stats(); |
|
5023 |
vgPlain_print_tt_tc_stats(); |
| 5024 |
vgPlain_print_scheduler_stats(); |
|
5024 |
vgPlain_print_scheduler_stats(); |
| 5025 |
vgPlain_print_ExeContext_stats(); |
|
5025 |
vgPlain_print_ExeContext_stats(); |
| 5026 |
vgPlain_print_errormgr_stats(); |
|
5026 |
vgPlain_print_errormgr_stats(); |
| 5027 |
if (vgPlain_clo_verbosity > 2) { |
|
5027 |
if (vgPlain_clo_verbosity > 2) { |
| 5028 |
vgPlain_message((VgMsgKind )2, "\n"); |
|
5028 |
vgPlain_message((VgMsgKind )2, "\n"); |
| 5029 |
vgPlain_message((VgMsgKind )2, |
|
5029 |
vgPlain_message((VgMsgKind )2, |
| 5030 |
"------ Valgrind\'s internal memory use stats follow ------\n"); |
|
5030 |
"------ Valgrind\'s internal memory use stats follow ------\n"); |
| 5031 |
vgPlain_sanity_check_malloc_all(); |
|
5031 |
vgPlain_sanity_check_malloc_all(); |
| 5032 |
vgPlain_message((VgMsgKind )2, "------\n"); |
|
5032 |
vgPlain_message((VgMsgKind )2, "------\n"); |
| 5033 |
vgPlain_print_all_arena_stats(); |
|
5033 |
vgPlain_print_all_arena_stats(); |
| 5034 |
vgPlain_message((VgMsgKind )2, "\n"); |
|
5034 |
vgPlain_message((VgMsgKind )2, "\n"); |
| 5035 |
} else { |
|
5035 |
} else { |
| 5036 |
|
|
5036 |
|
| 5037 |
} |
|
5037 |
} |
| 5038 |
return; |
|
5038 |
return; |
| 5039 |
} |
|
5039 |
} |
| 5040 |
} |
|
5040 |
} |
| 5041 |
static void usage_NORETURN(Bool debug_help ) |
|
5041 |
static void usage_NORETURN(Bool debug_help ) |
| 5042 |
{ |
|
5042 |
{ |
| 5043 |
Char *usage1 ; |
|
5043 |
Char *usage1 ; |
| 5044 |
Char *usage2 ; |
|
5044 |
Char *usage2 ; |
| 5045 |
Char *usage3 ; |
|
5045 |
Char *usage3 ; |
| 5046 |
Char *gdb_path ; |
|
5046 |
Char *gdb_path ; |
| 5047 |
long tmp ; |
|
5047 |
long tmp ; |
| 5048 |
long tmp___0 ; |
|
5048 |
long tmp___0 ; |
| 5049 |
|
|
5049 |
|
| 5050 |
{ |
|
5050 |
{ |
| 5051 |
usage1 = (Char *)"usage: valgrind [options] prog-and-args\n\n tool-selection option, with default in [ ]:\n --tool=<name> use the Valgrind tool named <name> [memcheck]\n\n basic user options for all Valgrind tools, with defaults in [ ]:\n -h --help show this message\n --help-debug show this message, plus debugging options\n --version show version\n -q --quiet run silently; only print error msgs\n -v --verbose be more verbose -- show misc extra info\n --trace-children=no|yes Valgrind-ise child processes (follow execve)? [no]\n --trace-children-skip=patt1,patt2,... specifies a list of executables\n that --trace-children=yes should not trace into\n --trace-children-skip-by-arg=patt1,patt2,... same as --trace-children-skip=\n but check the argv[] entries for children, rather\n than the exe name, to make a follow/no-follow decision\n --child-silent-after-fork=no|yes omit child output between fork & exec? [no]\n --vgdb=no|yes|full activate gdbserver? [yes]\n full is slower but provides precise watchpoint/step\n --vgdb-error=<number> invoke gdbserver after <number> errors [%d] \n --track-fds=no|yes track open file descriptors? [no]\n --time-stamp=no|yes add timestamps to log messages? [no]\n --log-fd=<number> log messages to file descriptor [2=stderr]\n --log-file=<file> log messages to <file>\n --log-socket=ipaddr:port log messages to socket ipaddr:port\n\n user options for Valgrind tools that report errors:\n --xml=yes emit error output in XML (some tools only)\n --xml-fd=<number> XML output to file descriptor\n --xml-file=<file> XML output to <file>\n --xml-socket=ipaddr:port XML output to socket ipaddr:port\n --xml-user-comment=STR copy STR verbatim into XML output\n --demangle=no|yes automatically demangle C++ names? [yes]\n --num-callers=<number> show <number> callers in stack traces [12]\n --error-limit=no|yes stop showing new errors if too many? [yes]\n --error-exitcode=<number> exit code to return if errors found [0=disable]\n --show-below-main=no|yes continue stack traces below main() [no]\n --suppressions=<filename> suppress errors described in <filename>\n --gen-suppressions=no|yes|all print suppressions for errors? [no]\n --db-attach=no|yes start debugger when errors detected? [no]\n --db-command=<command> command to start debugger [%s -nw %%f %%p]\n --input-fd=<number> file descriptor for input [0=stdin]\n --dsymutil=no|yes run dsymutil on Mac OS X when helpful? [no]\n --max-stackframe=<number> assume stack switch for SP changes larger\n than <number> bytes [2000000]\n --main-stacksize=<number> set size of main thread\'s stack (in bytes)\n [use current \'ulimit\' value]\n\n user options for Valgrind tools that replace malloc:\n --alignment=<number> set minimum alignment of heap allocations [%ld]\n\n uncommon user options for all Valgrind tools:\n --fullpath-after= (with nothing after the \'=\')\n show full source paths in call stacks\n --fullpath-after=string like --fullpath-after=, but only show the\n part of the path after \'string\'. Allows removal\n of path prefixes. Use this flag multiple times\n to specify a set of prefixes to remove.\n --smc-check=none|stack|all|all-non-file [stack]\n checks for self-modifying code: none, only for\n code found in stacks, for all code, or for all\n code except that from file-backed mappings\n --read-var-info=yes|no read debug info on stack and global v |
|
5051 |
usage1 = (Char *)"usage: valgrind [options] prog-and-args\n\n tool-selection option, with default in [ ]:\n --tool=<name> use the Valgrind tool named <name> [memcheck]\n\n basic user options for all Valgrind tools, with defaults in [ ]:\n -h --help show this message\n --help-debug show this message, plus debugging options\n --version show version\n -q --quiet run silently; only print error msgs\n -v --verbose be more verbose -- show misc extra info\n --trace-children=no|yes Valgrind-ise child processes (follow execve)? [no]\n --trace-children-skip=patt1,patt2,... specifies a list of executables\n that --trace-children=yes should not trace into\n --trace-children-skip-by-arg=patt1,patt2,... same as --trace-children-skip=\n but check the argv[] entries for children, rather\n than the exe name, to make a follow/no-follow decision\n --child-silent-after-fork=no|yes omit child output between fork & exec? [no]\n --vgdb=no|yes|full activate gdbserver? [yes]\n full is slower but provides precise watchpoint/step\n --vgdb-error=<number> invoke gdbserver after <number> errors [%d] \n --track-fds=no|yes track open file descriptors? [no]\n --time-stamp=no|yes add timestamps to log messages? [no]\n --log-fd=<number> log messages to file descriptor [2=stderr]\n --log-file=<file> log messages to <file>\n --log-socket=ipaddr:port log messages to socket ipaddr:port\n\n user options for Valgrind tools that report errors:\n --xml=yes emit error output in XML (some tools only)\n --xml-fd=<number> XML output to file descriptor\n --xml-file=<file> XML output to <file>\n --xml-socket=ipaddr:port XML output to socket ipaddr:port\n --xml-user-comment=STR copy STR verbatim into XML output\n --demangle=no|yes automatically demangle C++ names? [yes]\n --num-callers=<number> show <number> callers in stack traces [12]\n --error-limit=no|yes stop showing new errors if too many? [yes]\n --error-exitcode=<number> exit code to return if errors found [0=disable]\n --show-below-main=no|yes continue stack traces below main() [no]\n --suppressions=<filename> suppress errors described in <filename>\n --gen-suppressions=no|yes|all print suppressions for errors? [no]\n --db-attach=no|yes start debugger when errors detected? [no]\n --db-command=<command> command to start debugger [%s -nw %%f %%p]\n --input-fd=<number> file descriptor for input [0=stdin]\n --dsymutil=no|yes run dsymutil on Mac OS X when helpful? [no]\n --max-stackframe=<number> assume stack switch for SP changes larger\n than <number> bytes [2000000]\n --main-stacksize=<number> set size of main thread\'s stack (in bytes)\n [use current \'ulimit\' value]\n\n user options for Valgrind tools that replace malloc:\n --alignment=<number> set minimum alignment of heap allocations [%ld]\n\n uncommon user options for all Valgrind tools:\n --fullpath-after= (with nothing after the \'=\')\n show full source paths in call stacks\n --fullpath-after=string like --fullpath-after=, but only show the\n part of the path after \'string\'. Allows removal\n of path prefixes. Use this flag multiple times\n to specify a set of prefixes to remove.\n --smc-check=none|stack|all|all-non-file [stack]\n checks for self-modifying code: none, only for\n code found in stacks, for all code, or for all\n code except that from file-backed mappings\n --read-var-info=yes|no read debug info on stack and global v |
| 5052 |
ariables\n and use it to print better error messages in\n tools that make use of it (Memcheck, Helgrind,\n DRD) [no]\n --vgdb-poll=<number> gdbserver poll max every <number> basic blocks [%d] \n --vgdb-shadow-registers=no|yes let gdb see the shadow registers [no]\n --vgdb-prefix=<prefix> prefix for vgdb FIFOs [%s]\n --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]\n --sim-hints=hint1,hint2,... known hints:\n lax-ioctls, enable-outer [none]\n --kernel-variant=variant1,variant2,... known variants: bproc [none]\n handle non-standard kernel variants\n --show-emwarns=no|yes show warnings about emulation limits? [no]\n --require-text-symbol=:sonamepattern:symbolpattern abort run if the\n stated shared object doesn\'t have the stated\n text symbol. Patterns can contain ? and *.\n\n"; |
|
5052 |
ariables\n and use it to print better error messages in\n tools that make use of it (Memcheck, Helgrind,\n DRD) [no]\n --vgdb-poll=<number> gdbserver poll max every <number> basic blocks [%d] \n --vgdb-shadow-registers=no|yes let gdb see the shadow registers [no]\n --vgdb-prefix=<prefix> prefix for vgdb FIFOs [%s]\n --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]\n --sim-hints=hint1,hint2,... known hints:\n lax-ioctls, enable-outer [none]\n --kernel-variant=variant1,variant2,... known variants: bproc [none]\n handle non-standard kernel variants\n --show-emwarns=no|yes show warnings about emulation limits? [no]\n --require-text-symbol=:sonamepattern:symbolpattern abort run if the\n stated shared object doesn\'t have the stated\n text symbol. Patterns can contain ? and *.\n\n"; |
| 5053 |
usage2 = (Char *)"\n debugging options for all Valgrind tools:\n -d show verbose debugging output\n --stats=no|yes show tool and core statistics [no]\n --sanity-level=<number> level of sanity checking to do [1]\n --trace-flags=<XXXXXXXX> show generated code? (X = 0|1) [00000000]\n --profile-flags=<XXXXXXXX> ditto, but for profiling (X = 0|1) [00000000]\n --trace-notbelow=<number> only show BBs above <number> [999999999]\n --trace-syscalls=no|yes show all system calls? [no]\n --trace-signals=no|yes show signal handling details? [no]\n --trace-symtab=no|yes show symbol table details? [no]\n --trace-symtab-patt=<patt> limit debuginfo tracing to obj name <patt>\n --trace-cfi=no|yes show call-frame-info details? [no]\n --debug-dump=syms mimic /usr/bin/readelf --syms\n --debug-dump=line mimic /usr/bin/readelf --debug-dump=line\n --debug-dump=frames mimic /usr/bin/readelf --debug-dump=frames\n --trace-redir=no|yes show redirection details? [no]\n --trace-sched=no|yes show thread scheduler details? [no]\n --profile-heap=no|yes profile Valgrind\'s own space use\n --wait-for-gdb=yes|no pause on startup to wait for gdb attach\n --sym-offsets=yes|no show syms in form \'name+offset\' ? [no]\n --command-line-only=no|yes only use command line options [no]\n\n Vex options for all Valgrind tools:\n --vex-iropt-verbosity=<0..9> [0]\n --vex-iropt-level=<0..2> [2]\n --vex-iropt-precise-memory-exns=no|yes [no]\n --vex-iropt-unroll-thresh=<0..400> [120]\n --vex-guest-max-insns=<1..100> [50]\n --vex-guest-chase-thresh=<0..99> [10]\n --vex-guest-chase-cond=no|yes [no]\n --trace-flags and --profile-flags values (omit the middle space):\n 1000 0000 show conversion into IR\n 0100 0000 show after initial opt\n 0010 0000 show after instrumentation\n 0001 0000 show after second opt\n 0000 1000 show after tree building\n 0000 0100 show selecting insns\n 0000 0010 show after reg-alloc\n 0000 0001 show final assembly\n (Nb: you need --trace-notbelow with --trace-flags for full details)\n\n debugging options for Valgrind tools that report errors\n --dump-error=<number> show translation for basic block associated\n with <number>\'th error context [0=show none]\n\n debugging options for Valgrind tools that replace malloc:\n --trace-malloc=no|yes show client malloc details? [no]\n\n"; |
|
5053 |
usage2 = (Char *)"\n debugging options for all Valgrind tools:\n -d show verbose debugging output\n --stats=no|yes show tool and core statistics [no]\n --sanity-level=<number> level of sanity checking to do [1]\n --trace-flags=<XXXXXXXX> show generated code? (X = 0|1) [00000000]\n --profile-flags=<XXXXXXXX> ditto, but for profiling (X = 0|1) [00000000]\n --trace-notbelow=<number> only show BBs above <number> [999999999]\n --trace-syscalls=no|yes show all system calls? [no]\n --trace-signals=no|yes show signal handling details? [no]\n --trace-symtab=no|yes show symbol table details? [no]\n --trace-symtab-patt=<patt> limit debuginfo tracing to obj name <patt>\n --trace-cfi=no|yes show call-frame-info details? [no]\n --debug-dump=syms mimic /usr/bin/readelf --syms\n --debug-dump=line mimic /usr/bin/readelf --debug-dump=line\n --debug-dump=frames mimic /usr/bin/readelf --debug-dump=frames\n --trace-redir=no|yes show redirection details? [no]\n --trace-sched=no|yes show thread scheduler details? [no]\n --profile-heap=no|yes profile Valgrind\'s own space use\n --wait-for-gdb=yes|no pause on startup to wait for gdb attach\n --sym-offsets=yes|no show syms in form \'name+offset\' ? [no]\n --command-line-only=no|yes only use command line options [no]\n\n Vex options for all Valgrind tools:\n --vex-iropt-verbosity=<0..9> [0]\n --vex-iropt-level=<0..2> [2]\n --vex-iropt-precise-memory-exns=no|yes [no]\n --vex-iropt-unroll-thresh=<0..400> [120]\n --vex-guest-max-insns=<1..100> [50]\n --vex-guest-chase-thresh=<0..99> [10]\n --vex-guest-chase-cond=no|yes [no]\n --trace-flags and --profile-flags values (omit the middle space):\n 1000 0000 show conversion into IR\n 0100 0000 show after initial opt\n 0010 0000 show after instrumentation\n 0001 0000 show after second opt\n 0000 1000 show after tree building\n 0000 0100 show selecting insns\n 0000 0010 show after reg-alloc\n 0000 0001 show final assembly\n (Nb: you need --trace-notbelow with --trace-flags for full details)\n\n debugging options for Valgrind tools that report errors\n --dump-error=<number> show translation for basic block associated\n with <number>\'th error context [0=show none]\n\n debugging options for Valgrind tools that replace malloc:\n --trace-malloc=no|yes show client malloc details? [no]\n\n"; |
| 5054 |
usage3 = (Char *)"\n Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc\n\n %s is %s\n Valgrind is Copyright (C) 2000-2010, and GNU GPL\'d, by Julian Seward et al.\n LibVEX is Copyright (C) 2004-2010, and GNU GPL\'d, by OpenWorks LLP et al.\n\n Bug reports, feedback, admiration, abuse, etc, to: %s.\n\n"; |
|
5054 |
usage3 = (Char *)"\n Extra options read from ~/.valgrindrc, $VALGRIND_OPTS, ./.valgrindrc\n\n %s is %s\n Valgrind is Copyright (C) 2000-2010, and GNU GPL\'d, by Julian Seward et al.\n LibVEX is Copyright (C) 2004-2010, and GNU GPL\'d, by OpenWorks LLP et al.\n\n Bug reports, feedback, admiration, abuse, etc, to: %s.\n\n"; |
| 5055 |
gdb_path = (Char *)"/no/gdb/was/found/at/configure/time"; |
|
5055 |
gdb_path = (Char *)"/no/gdb/was/found/at/configure/time"; |
| 5056 |
vgPlain_log_output_sink.fd = 1; |
|
5056 |
vgPlain_log_output_sink.fd = 1; |
| 5057 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
|
5057 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
| 5058 |
vgPlain_printf((HChar const *)usage1, vgPlain_clo_vgdb_error, gdb_path, 8, |
|
5058 |
vgPlain_printf((HChar const *)usage1, vgPlain_clo_vgdb_error, gdb_path, 8, |
| 5059 |
vgPlain_clo_vgdb_poll, vgPlain_clo_vgdb_prefix); |
|
5059 |
vgPlain_clo_vgdb_poll, vgPlain_clo_vgdb_prefix); |
| 5060 |
if (vgPlain_details.name) { |
|
5060 |
if (vgPlain_details.name) { |
| 5061 |
vgPlain_printf(" user options for %s:\n", vgPlain_details.name); |
|
5061 |
vgPlain_printf(" user options for %s:\n", vgPlain_details.name); |
| 5062 |
if (vgPlain_needs.command_line_options) { |
|
5062 |
if (vgPlain_needs.command_line_options) { |
| 5063 |
tmp = __builtin_expect((long )(! (! vgPlain_tdict.tool_print_usage)), 1L); |
|
5063 |
tmp = __builtin_expect((long )(! (! vgPlain_tdict.tool_print_usage)), 1L); |
| 5064 |
if (tmp) { |
|
5064 |
if (tmp) { |
| 5065 |
|
|
5065 |
|
| 5066 |
} else { |
|
5066 |
} else { |
| 5067 |
vgPlain_assert_fail((Bool )0, |
|
5067 |
vgPlain_assert_fail((Bool )0, |
| 5068 |
(Char const *)"VG_(tdict).tool_print_usage", |
|
5068 |
(Char const *)"VG_(tdict).tool_print_usage", |
| 5069 |
(Char const *)"m_main.c", 271, |
|
5069 |
(Char const *)"m_main.c", 271, |
| 5070 |
(Char const *)"usage_NORETURN", |
|
5070 |
(Char const *)"usage_NORETURN", |
| 5071 |
"you forgot to set VgToolInterface function \'tool_print_usage\'"); |
|
5071 |
"you forgot to set VgToolInterface function \'tool_print_usage\'"); |
| 5072 |
} |
|
5072 |
} |
| 5073 |
(*(vgPlain_tdict.tool_print_usage))(); |
|
5073 |
(*(vgPlain_tdict.tool_print_usage))(); |
| 5074 |
} else { |
|
5074 |
} else { |
| 5075 |
vgPlain_printf(" (none)\n"); |
|
5075 |
vgPlain_printf(" (none)\n"); |
| 5076 |
} |
|
5076 |
} |
| 5077 |
} else { |
|
5077 |
} else { |
| 5078 |
|
|
5078 |
|
| 5079 |
} |
|
5079 |
} |
| 5080 |
if (debug_help) { |
|
5080 |
if (debug_help) { |
| 5081 |
vgPlain_printf("%s", usage2); |
|
5081 |
vgPlain_printf("%s", usage2); |
| 5082 |
if (vgPlain_details.name) { |
|
5082 |
if (vgPlain_details.name) { |
| 5083 |
vgPlain_printf(" debugging options for %s:\n", vgPlain_details.name); |
|
5083 |
vgPlain_printf(" debugging options for %s:\n", vgPlain_details.name); |
| 5084 |
if (vgPlain_needs.command_line_options) { |
|
5084 |
if (vgPlain_needs.command_line_options) { |
| 5085 |
tmp___0 = __builtin_expect((long )(! (! vgPlain_tdict.tool_print_debug_usage)), |
|
5085 |
tmp___0 = __builtin_expect((long )(! (! vgPlain_tdict.tool_print_debug_usage)), |
| 5086 |
1L); |
|
5086 |
1L); |
| 5087 |
if (tmp___0) { |
|
5087 |
if (tmp___0) { |
| 5088 |
|
|
5088 |
|
| 5089 |
} else { |
|
5089 |
} else { |
| 5090 |
vgPlain_assert_fail((Bool )0, |
|
5090 |
vgPlain_assert_fail((Bool )0, |
| 5091 |
(Char const *)"VG_(tdict).tool_print_debug_usage", |
|
5091 |
(Char const *)"VG_(tdict).tool_print_debug_usage", |
| 5092 |
(Char const *)"m_main.c", 282, |
|
5092 |
(Char const *)"m_main.c", 282, |
| 5093 |
(Char const *)"usage_NORETURN", |
|
5093 |
(Char const *)"usage_NORETURN", |
| 5094 |
"you forgot to set VgToolInterface function \'tool_print_debug_usage\'"); |
|
5094 |
"you forgot to set VgToolInterface function \'tool_print_debug_usage\'"); |
| 5095 |
} |
|
5095 |
} |
| 5096 |
(*(vgPlain_tdict.tool_print_debug_usage))(); |
|
5096 |
(*(vgPlain_tdict.tool_print_debug_usage))(); |
| 5097 |
} else { |
|
5097 |
} else { |
| 5098 |
vgPlain_printf(" (none)\n"); |
|
5098 |
vgPlain_printf(" (none)\n"); |
| 5099 |
} |
|
5099 |
} |
| 5100 |
} else { |
|
5100 |
} else { |
| 5101 |
|
|
5101 |
|
| 5102 |
} |
|
5102 |
} |
| 5103 |
} else { |
|
5103 |
} else { |
| 5104 |
|
|
5104 |
|
| 5105 |
} |
|
5105 |
} |
| 5106 |
vgPlain_printf((HChar const *)usage3, vgPlain_details.name, |
|
5106 |
vgPlain_printf((HChar const *)usage3, vgPlain_details.name, |
| 5107 |
vgPlain_details.copyright_author, "www.valgrind.org"); |
|
5107 |
vgPlain_details.copyright_author, "www.valgrind.org"); |
| 5108 |
vgPlain_exit(0); |
|
5108 |
vgPlain_exit(0); |
| 5109 |
} |
|
5109 |
} |
| 5110 |
} |
|
5110 |
} |
| 5111 |
static void early_process_cmd_line_options(Int *need_help , HChar **tool ) |
|
5111 |
static void early_process_cmd_line_options(Int *need_help , HChar **tool ) |
| 5112 |
{ |
|
5112 |
{ |
| 5113 |
UInt i ; |
|
5113 |
UInt i ; |
| 5114 |
HChar *str ; |
|
5114 |
HChar *str ; |
| 5115 |
long tmp ; |
|
5115 |
long tmp ; |
| 5116 |
void *tmp___0 ; |
|
5116 |
void *tmp___0 ; |
| 5117 |
long tmp___1 ; |
|
5117 |
long tmp___1 ; |
| 5118 |
SizeT tmp___2 ; |
|
5118 |
SizeT tmp___2 ; |
| 5119 |
Int tmp___3 ; |
|
5119 |
Int tmp___3 ; |
| 5120 |
int tmp___4 ; |
|
5120 |
int tmp___4 ; |
| 5121 |
SizeT tmp___5 ; |
|
5121 |
SizeT tmp___5 ; |
| 5122 |
Int tmp___6 ; |
|
5122 |
Int tmp___6 ; |
| 5123 |
Char *val ; |
|
5123 |
Char *val ; |
| 5124 |
SizeT tmp___7 ; |
|
5124 |
SizeT tmp___7 ; |
| 5125 |
Char *s ; |
|
5125 |
Char *s ; |
| 5126 |
Long n ; |
|
5126 |
Long n ; |
| 5127 |
Long tmp___8 ; |
|
5127 |
Long tmp___8 ; |
| 5128 |
int tmp___9 ; |
|
5128 |
int tmp___9 ; |
| 5129 |
SizeT tmp___10 ; |
|
5129 |
SizeT tmp___10 ; |
| 5130 |
Int tmp___11 ; |
|
5130 |
Int tmp___11 ; |
| 5131 |
int tmp___12 ; |
|
5131 |
int tmp___12 ; |
| 5132 |
SizeT tmp___13 ; |
|
5132 |
SizeT tmp___13 ; |
| 5133 |
Int tmp___14 ; |
|
5133 |
Int tmp___14 ; |
| 5134 |
Char *val___0 ; |
|
5134 |
Char *val___0 ; |
| 5135 |
SizeT tmp___15 ; |
|
5135 |
SizeT tmp___15 ; |
| 5136 |
Char *s___0 ; |
|
5136 |
Char *s___0 ; |
| 5137 |
Long n___0 ; |
|
5137 |
Long n___0 ; |
| 5138 |
Long tmp___16 ; |
|
5138 |
Long tmp___16 ; |
| 5139 |
SizeT tmp___17 ; |
|
5139 |
SizeT tmp___17 ; |
| 5140 |
Int tmp___18 ; |
|
5140 |
Int tmp___18 ; |
| 5141 |
int tmp___19 ; |
|
5141 |
int tmp___19 ; |
| 5142 |
SizeT tmp___20 ; |
|
5142 |
SizeT tmp___20 ; |
| 5143 |
Int tmp___21 ; |
|
5143 |
Int tmp___21 ; |
| 5144 |
Char *val___1 ; |
|
5144 |
Char *val___1 ; |
| 5145 |
SizeT tmp___22 ; |
|
5145 |
SizeT tmp___22 ; |
| 5146 |
Int tmp___23 ; |
|
5146 |
Int tmp___23 ; |
| 5147 |
int tmp___24 ; |
|
5147 |
int tmp___24 ; |
| 5148 |
Int tmp___25 ; |
|
5148 |
Int tmp___25 ; |
| 5149 |
Int tmp___26 ; |
|
5149 |
Int tmp___26 ; |
| 5150 |
int tmp___27 ; |
|
5150 |
int tmp___27 ; |
| 5151 |
Int tmp___28 ; |
|
5151 |
Int tmp___28 ; |
| 5152 |
Int tmp___29 ; |
|
5152 |
Int tmp___29 ; |
| 5153 |
int tmp___30 ; |
|
5153 |
int tmp___30 ; |
| 5154 |
Int tmp___31 ; |
|
5154 |
Int tmp___31 ; |
| 5155 |
Int tmp___32 ; |
|
5155 |
Int tmp___32 ; |
| 5156 |
int tmp___33 ; |
|
5156 |
int tmp___33 ; |
| 5157 |
Int tmp___34 ; |
|
5157 |
Int tmp___34 ; |
| 5158 |
Word tmp___35 ; |
|
5158 |
Word tmp___35 ; |
| 5159 |
|
|
5159 |
|
| 5160 |
{ |
|
5160 |
{ |
| 5161 |
tmp = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
|
5161 |
tmp = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
| 5162 |
if (tmp) { |
|
5162 |
if (tmp) { |
| 5163 |
|
|
5163 |
|
| 5164 |
} else { |
|
5164 |
} else { |
| 5165 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
|
5165 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
| 5166 |
(Char const *)"m_main.c", 313, |
|
5166 |
(Char const *)"m_main.c", 313, |
| 5167 |
(Char const *)"early_process_cmd_line_options", ""); |
|
5167 |
(Char const *)"early_process_cmd_line_options", ""); |
| 5168 |
} |
|
5168 |
} |
| 5169 |
i = (UInt )0; |
|
5169 |
i = (UInt )0; |
| 5170 |
while (1) { |
|
5170 |
while (1) { |
| 5171 |
tmp___35 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
|
5171 |
tmp___35 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
| 5172 |
if ((unsigned long )i < (unsigned long )tmp___35) { |
|
5172 |
if ((unsigned long )i < (unsigned long )tmp___35) { |
| 5173 |
|
|
5173 |
|
| 5174 |
} else { |
|
5174 |
} else { |
| 5175 |
break; |
|
5175 |
break; |
| 5176 |
} |
|
5176 |
} |
| 5177 |
tmp___0 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
|
5177 |
tmp___0 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
| 5178 |
str = *((HChar **)tmp___0); |
|
5178 |
str = *((HChar **)tmp___0); |
| 5179 |
tmp___1 = __builtin_expect((long )(! (! str)), 1L); |
|
5179 |
tmp___1 = __builtin_expect((long )(! (! str)), 1L); |
| 5180 |
if (tmp___1) { |
|
5180 |
if (tmp___1) { |
| 5181 |
|
|
5181 |
|
| 5182 |
} else { |
|
5182 |
} else { |
| 5183 |
vgPlain_assert_fail((Bool )1, (Char const *)"str", |
|
5183 |
vgPlain_assert_fail((Bool )1, (Char const *)"str", |
| 5184 |
(Char const *)"m_main.c", 319, |
|
5184 |
(Char const *)"m_main.c", 319, |
| 5185 |
(Char const *)"early_process_cmd_line_options", ""); |
|
5185 |
(Char const *)"early_process_cmd_line_options", ""); |
| 5186 |
} |
|
5186 |
} |
| 5187 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5187 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5188 |
if ((unsigned int )"--version" != (unsigned int )((void *)0)) { |
|
5188 |
if ((unsigned int )"--version" != (unsigned int )((void *)0)) { |
| 5189 |
tmp___34 = vgPlain_strcmp((Char const *)str, |
|
5189 |
tmp___34 = vgPlain_strcmp((Char const *)str, |
| 5190 |
(Char const *)"--version"); |
|
5190 |
(Char const *)"--version"); |
| 5191 |
if (tmp___34 == 0) { |
|
5191 |
if (tmp___34 == 0) { |
| 5192 |
tmp___33 = (int )((Bool )1); |
|
5192 |
tmp___33 = (int )((Bool )1); |
| 5193 |
} else { |
|
5193 |
} else { |
| 5194 |
tmp___33 = (int )((Bool )0); |
|
5194 |
tmp___33 = (int )((Bool )0); |
| 5195 |
} |
|
5195 |
} |
| 5196 |
} else { |
|
5196 |
} else { |
| 5197 |
tmp___33 = (int )((Bool )0); |
|
5197 |
tmp___33 = (int )((Bool )0); |
| 5198 |
} |
|
5198 |
} |
| 5199 |
} else { |
|
5199 |
} else { |
| 5200 |
tmp___33 = (int )((Bool )0); |
|
5200 |
tmp___33 = (int )((Bool )0); |
| 5201 |
} |
|
5201 |
} |
| 5202 |
if (tmp___33) { |
|
5202 |
if (tmp___33) { |
| 5203 |
vgPlain_log_output_sink.fd = 1; |
|
5203 |
vgPlain_log_output_sink.fd = 1; |
| 5204 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
|
5204 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
| 5205 |
vgPlain_printf("valgrind-3.7.0.SVN\n"); |
|
5205 |
vgPlain_printf("valgrind-3.7.0.SVN\n"); |
| 5206 |
vgPlain_exit(0); |
|
5206 |
vgPlain_exit(0); |
| 5207 |
} else { |
|
5207 |
} else { |
| 5208 |
_L___4: |
|
5208 |
_L___4: |
| 5209 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5209 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5210 |
if ((unsigned int )"--help" != (unsigned int )((void *)0)) { |
|
5210 |
if ((unsigned int )"--help" != (unsigned int )((void *)0)) { |
| 5211 |
tmp___31 = vgPlain_strcmp((Char const *)str, |
|
5211 |
tmp___31 = vgPlain_strcmp((Char const *)str, |
| 5212 |
(Char const *)"--help"); |
|
5212 |
(Char const *)"--help"); |
| 5213 |
if (tmp___31 == 0) { |
|
5213 |
if (tmp___31 == 0) { |
| 5214 |
tmp___30 = (int )((Bool )1); |
|
5214 |
tmp___30 = (int )((Bool )1); |
| 5215 |
} else { |
|
5215 |
} else { |
| 5216 |
tmp___30 = (int )((Bool )0); |
|
5216 |
tmp___30 = (int )((Bool )0); |
| 5217 |
} |
|
5217 |
} |
| 5218 |
} else { |
|
5218 |
} else { |
| 5219 |
tmp___30 = (int )((Bool )0); |
|
5219 |
tmp___30 = (int )((Bool )0); |
| 5220 |
} |
|
5220 |
} |
| 5221 |
} else { |
|
5221 |
} else { |
| 5222 |
tmp___30 = (int )((Bool )0); |
|
5222 |
tmp___30 = (int )((Bool )0); |
| 5223 |
} |
|
5223 |
} |
| 5224 |
if (tmp___30) { |
|
5224 |
if (tmp___30) { |
| 5225 |
(*need_help) ++; |
|
5225 |
(*need_help) ++; |
| 5226 |
} else { |
|
5226 |
} else { |
| 5227 |
_L___3: |
|
5227 |
_L___3: |
| 5228 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5228 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5229 |
if ((unsigned int )"-h" != (unsigned int )((void *)0)) { |
|
5229 |
if ((unsigned int )"-h" != (unsigned int )((void *)0)) { |
| 5230 |
tmp___28 = vgPlain_strcmp((Char const *)str, (Char const *)"-h"); |
|
5230 |
tmp___28 = vgPlain_strcmp((Char const *)str, (Char const *)"-h"); |
| 5231 |
if (tmp___28 == 0) { |
|
5231 |
if (tmp___28 == 0) { |
| 5232 |
tmp___27 = (int )((Bool )1); |
|
5232 |
tmp___27 = (int )((Bool )1); |
| 5233 |
} else { |
|
5233 |
} else { |
| 5234 |
tmp___27 = (int )((Bool )0); |
|
5234 |
tmp___27 = (int )((Bool )0); |
| 5235 |
} |
|
5235 |
} |
| 5236 |
} else { |
|
5236 |
} else { |
| 5237 |
tmp___27 = (int )((Bool )0); |
|
5237 |
tmp___27 = (int )((Bool )0); |
| 5238 |
} |
|
5238 |
} |
| 5239 |
} else { |
|
5239 |
} else { |
| 5240 |
tmp___27 = (int )((Bool )0); |
|
5240 |
tmp___27 = (int )((Bool )0); |
| 5241 |
} |
|
5241 |
} |
| 5242 |
if (tmp___27) { |
|
5242 |
if (tmp___27) { |
| 5243 |
(*need_help) ++; |
|
5243 |
(*need_help) ++; |
| 5244 |
} else { |
|
5244 |
} else { |
| 5245 |
_L___2: |
|
5245 |
_L___2: |
| 5246 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5246 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5247 |
if ((unsigned int )"--help-debug" != (unsigned int )((void *)0)) { |
|
5247 |
if ((unsigned int )"--help-debug" != (unsigned int )((void *)0)) { |
| 5248 |
tmp___25 = vgPlain_strcmp((Char const *)str, |
|
5248 |
tmp___25 = vgPlain_strcmp((Char const *)str, |
| 5249 |
(Char const *)"--help-debug"); |
|
5249 |
(Char const *)"--help-debug"); |
| 5250 |
if (tmp___25 == 0) { |
|
5250 |
if (tmp___25 == 0) { |
| 5251 |
tmp___24 = (int )((Bool )1); |
|
5251 |
tmp___24 = (int )((Bool )1); |
| 5252 |
} else { |
|
5252 |
} else { |
| 5253 |
tmp___24 = (int )((Bool )0); |
|
5253 |
tmp___24 = (int )((Bool )0); |
| 5254 |
} |
|
5254 |
} |
| 5255 |
} else { |
|
5255 |
} else { |
| 5256 |
tmp___24 = (int )((Bool )0); |
|
5256 |
tmp___24 = (int )((Bool )0); |
| 5257 |
} |
|
5257 |
} |
| 5258 |
} else { |
|
5258 |
} else { |
| 5259 |
tmp___24 = (int )((Bool )0); |
|
5259 |
tmp___24 = (int )((Bool )0); |
| 5260 |
} |
|
5260 |
} |
| 5261 |
if (tmp___24) { |
|
5261 |
if (tmp___24) { |
| 5262 |
*need_help += 2; |
|
5262 |
*need_help += 2; |
| 5263 |
} else { |
|
5263 |
} else { |
| 5264 |
_L___1: |
|
5264 |
_L___1: |
| 5265 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5265 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5266 |
if ((unsigned int )"--tool=" != (unsigned int )((void *)0)) { |
|
5266 |
if ((unsigned int )"--tool=" != (unsigned int )((void *)0)) { |
| 5267 |
tmp___20 = vgPlain_strlen((Char const *)"--tool"); |
|
5267 |
tmp___20 = vgPlain_strlen((Char const *)"--tool"); |
| 5268 |
tmp___21 = vgPlain_strncmp((Char const *)str, |
|
5268 |
tmp___21 = vgPlain_strncmp((Char const *)str, |
| 5269 |
(Char const *)"--tool=", |
|
5269 |
(Char const *)"--tool=", |
| 5270 |
tmp___20 + 1UL); |
|
5270 |
tmp___20 + 1UL); |
| 5271 |
if (tmp___21 == 0) { |
|
5271 |
if (tmp___21 == 0) { |
| 5272 |
tmp___19 = (int )((Bool )1); |
|
5272 |
tmp___19 = (int )((Bool )1); |
| 5273 |
} else { |
|
5273 |
} else { |
| 5274 |
tmp___19 = (int )((Bool )0); |
|
5274 |
tmp___19 = (int )((Bool )0); |
| 5275 |
} |
|
5275 |
} |
| 5276 |
} else { |
|
5276 |
} else { |
| 5277 |
tmp___19 = (int )((Bool )0); |
|
5277 |
tmp___19 = (int )((Bool )0); |
| 5278 |
} |
|
5278 |
} |
| 5279 |
} else { |
|
5279 |
} else { |
| 5280 |
tmp___19 = (int )((Bool )0); |
|
5280 |
tmp___19 = (int )((Bool )0); |
| 5281 |
} |
|
5281 |
} |
| 5282 |
if (tmp___19) { |
|
5282 |
if (tmp___19) { |
| 5283 |
tmp___22 = vgPlain_strlen((Char const *)"--tool"); |
|
5283 |
tmp___22 = vgPlain_strlen((Char const *)"--tool"); |
| 5284 |
val___1 = (Char *)(str + (tmp___22 + 1UL)); |
|
5284 |
val___1 = (Char *)(str + (tmp___22 + 1UL)); |
| 5285 |
*tool = (HChar *)val___1; |
|
5285 |
*tool = (HChar *)val___1; |
| 5286 |
} else { |
|
5286 |
} else { |
| 5287 |
_L___0: |
|
5287 |
_L___0: |
| 5288 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5288 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5289 |
if ((unsigned int )"--max-stackframe=" != (unsigned int )((void *)0)) { |
|
5289 |
if ((unsigned int )"--max-stackframe=" != (unsigned int )((void *)0)) { |
| 5290 |
tmp___13 = vgPlain_strlen((Char const *)"--max-stackframe"); |
|
5290 |
tmp___13 = vgPlain_strlen((Char const *)"--max-stackframe"); |
| 5291 |
tmp___14 = vgPlain_strncmp((Char const *)str, |
|
5291 |
tmp___14 = vgPlain_strncmp((Char const *)str, |
| 5292 |
(Char const *)"--max-stackframe=", |
|
5292 |
(Char const *)"--max-stackframe=", |
| 5293 |
tmp___13 + 1UL); |
|
5293 |
tmp___13 + 1UL); |
| 5294 |
if (tmp___14 == 0) { |
|
5294 |
if (tmp___14 == 0) { |
| 5295 |
tmp___12 = (int )((Bool )1); |
|
5295 |
tmp___12 = (int )((Bool )1); |
| 5296 |
} else { |
|
5296 |
} else { |
| 5297 |
tmp___12 = (int )((Bool )0); |
|
5297 |
tmp___12 = (int )((Bool )0); |
| 5298 |
} |
|
5298 |
} |
| 5299 |
} else { |
|
5299 |
} else { |
| 5300 |
tmp___12 = (int )((Bool )0); |
|
5300 |
tmp___12 = (int )((Bool )0); |
| 5301 |
} |
|
5301 |
} |
| 5302 |
} else { |
|
5302 |
} else { |
| 5303 |
tmp___12 = (int )((Bool )0); |
|
5303 |
tmp___12 = (int )((Bool )0); |
| 5304 |
} |
|
5304 |
} |
| 5305 |
if (tmp___12) { |
|
5305 |
if (tmp___12) { |
| 5306 |
tmp___15 = vgPlain_strlen((Char const *)"--max-stackframe"); |
|
5306 |
tmp___15 = vgPlain_strlen((Char const *)"--max-stackframe"); |
| 5307 |
val___0 = (Char *)(str + (tmp___15 + 1UL)); |
|
5307 |
val___0 = (Char *)(str + (tmp___15 + 1UL)); |
| 5308 |
tmp___16 = vgPlain_strtoll10(val___0, & s___0); |
|
5308 |
tmp___16 = vgPlain_strtoll10(val___0, & s___0); |
| 5309 |
n___0 = tmp___16; |
|
5309 |
n___0 = tmp___16; |
| 5310 |
vgPlain_clo_max_stackframe = (Word )n___0; |
|
5310 |
vgPlain_clo_max_stackframe = (Word )n___0; |
| 5311 |
if (0 != (int )*(s___0 + 0)) { |
|
5311 |
if (0 != (int )*(s___0 + 0)) { |
| 5312 |
vgPlain_fmsg_bad_option(str, ""); |
|
5312 |
vgPlain_fmsg_bad_option(str, ""); |
| 5313 |
} else |
|
5313 |
} else |
| 5314 |
if ((Long )vgPlain_clo_max_stackframe != n___0) { |
|
5314 |
if ((Long )vgPlain_clo_max_stackframe != n___0) { |
| 5315 |
vgPlain_fmsg_bad_option(str, ""); |
|
5315 |
vgPlain_fmsg_bad_option(str, ""); |
| 5316 |
} else { |
|
5316 |
} else { |
| 5317 |
|
|
5317 |
|
| 5318 |
} |
|
5318 |
} |
| 5319 |
} else { |
|
5319 |
} else { |
| 5320 |
_L: |
|
5320 |
_L: |
| 5321 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
|
5321 |
if ((unsigned int )str != (unsigned int )((void *)0)) { |
| 5322 |
if ((unsigned int )"--main-stacksize=" != (unsigned int )((void *)0)) { |
|
5322 |
if ((unsigned int )"--main-stacksize=" != (unsigned int )((void *)0)) { |
| 5323 |
tmp___5 = vgPlain_strlen((Char const *)"--main-stacksize"); |
|
5323 |
tmp___5 = vgPlain_strlen((Char const *)"--main-stacksize"); |
| 5324 |
tmp___6 = vgPlain_strncmp((Char const *)str, |
|
5324 |
tmp___6 = vgPlain_strncmp((Char const *)str, |
| 5325 |
(Char const *)"--main-stacksize=", |
|
5325 |
(Char const *)"--main-stacksize=", |
| 5326 |
tmp___5 + 1UL); |
|
5326 |
tmp___5 + 1UL); |
| 5327 |
if (tmp___6 == 0) { |
|
5327 |
if (tmp___6 == 0) { |
| 5328 |
tmp___4 = (int )((Bool )1); |
|
5328 |
tmp___4 = (int )((Bool )1); |
| 5329 |
} else { |
|
5329 |
} else { |
| 5330 |
tmp___4 = (int )((Bool )0); |
|
5330 |
tmp___4 = (int )((Bool )0); |
| 5331 |
} |
|
5331 |
} |
| 5332 |
} else { |
|
5332 |
} else { |
| 5333 |
tmp___4 = (int )((Bool )0); |
|
5333 |
tmp___4 = (int )((Bool )0); |
| 5334 |
} |
|
5334 |
} |
| 5335 |
} else { |
|
5335 |
} else { |
| 5336 |
tmp___4 = (int )((Bool )0); |
|
5336 |
tmp___4 = (int )((Bool )0); |
| 5337 |
} |
|
5337 |
} |
| 5338 |
if (tmp___4) { |
|
5338 |
if (tmp___4) { |
| 5339 |
tmp___7 = vgPlain_strlen((Char const *)"--main-stacksize"); |
|
5339 |
tmp___7 = vgPlain_strlen((Char const *)"--main-stacksize"); |
| 5340 |
val = (Char *)(str + (tmp___7 + 1UL)); |
|
5340 |
val = (Char *)(str + (tmp___7 + 1UL)); |
| 5341 |
tmp___8 = vgPlain_strtoll10(val, & s); |
|
5341 |
tmp___8 = vgPlain_strtoll10(val, & s); |
| 5342 |
n = tmp___8; |
|
5342 |
n = tmp___8; |
| 5343 |
vgPlain_clo_main_stacksize = (Word )n; |
|
5343 |
vgPlain_clo_main_stacksize = (Word )n; |
| 5344 |
if (0 != (int )*(s + 0)) { |
|
5344 |
if (0 != (int )*(s + 0)) { |
| 5345 |
vgPlain_fmsg_bad_option(str, ""); |
|
5345 |
vgPlain_fmsg_bad_option(str, ""); |
| 5346 |
} else |
|
5346 |
} else |
| 5347 |
if ((Long )vgPlain_clo_main_stacksize != n) { |
|
5347 |
if ((Long )vgPlain_clo_main_stacksize != n) { |
| 5348 |
vgPlain_fmsg_bad_option(str, ""); |
|
5348 |
vgPlain_fmsg_bad_option(str, ""); |
| 5349 |
} else { |
|
5349 |
} else { |
| 5350 |
|
|
5350 |
|
| 5351 |
} |
|
5351 |
} |
| 5352 |
tmp___9 = 1; |
|
5352 |
tmp___9 = 1; |
| 5353 |
} else { |
|
5353 |
} else { |
| 5354 |
tmp___9 = 0; |
|
5354 |
tmp___9 = 0; |
| 5355 |
} |
|
5355 |
} |
| 5356 |
} |
|
5356 |
} |
| 5357 |
} |
|
5357 |
} |
| 5358 |
} |
|
5358 |
} |
| 5359 |
} |
|
5359 |
} |
| 5360 |
} |
|
5360 |
} |
| 5361 |
} |
|
5361 |
} |
| 5362 |
i ++; |
|
5362 |
i ++; |
| 5363 |
} |
|
5363 |
} |
| 5364 |
return; |
|
5364 |
return; |
| 5365 |
} |
|
5365 |
} |
| 5366 |
} |
|
5366 |
} |
| 5367 |
static void main_process_cmd_line_options(Bool *logging_to_fd , |
|
5367 |
static void main_process_cmd_line_options(Bool *logging_to_fd , |
| 5368 |
Char **xml_fname_unexpanded , |
|
5368 |
Char **xml_fname_unexpanded , |
| 5369 |
HChar const *toolname ) ; |
|
5369 |
HChar const *toolname ) ; |
| 5370 |
static Char const default_supp[13] = |
|
5370 |
static Char const default_supp[13] = |
| 5371 |
{ (Char const )'d', (Char const )'e', (Char const )'f', (Char const )'a', |
|
5371 |
{ (Char const )'d', (Char const )'e', (Char const )'f', (Char const )'a', |
| 5372 |
(Char const )'u', (Char const )'l', (Char const )'t', (Char const )'.', |
|
5372 |
(Char const )'u', (Char const )'l', (Char const )'t', (Char const )'.', |
| 5373 |
(Char const )'s', (Char const )'u', (Char const )'p', (Char const )'p', |
|
5373 |
(Char const )'s', (Char const )'u', (Char const )'p', (Char const )'p', |
| 5374 |
(Char const )'\000'}; |
|
5374 |
(Char const )'\000'}; |
| 5375 |
static void main_process_cmd_line_options(Bool *logging_to_fd , |
|
5375 |
static void main_process_cmd_line_options(Bool *logging_to_fd , |
| 5376 |
Char **xml_fname_unexpanded , |
|
5376 |
Char **xml_fname_unexpanded , |
| 5377 |
HChar const *toolname ) |
|
5377 |
HChar const *toolname ) |
| 5378 |
{ |
|
5378 |
{ |
| 5379 |
SysRes sres ; |
|
5379 |
SysRes sres ; |
| 5380 |
Int i ; |
|
5380 |
Int i ; |
| 5381 |
Int tmp_log_fd ; |
|
5381 |
Int tmp_log_fd ; |
| 5382 |
Int tmp_xml_fd ; |
|
5382 |
Int tmp_xml_fd ; |
| 5383 |
Int toolname_len ; |
|
5383 |
Int toolname_len ; |
| 5384 |
SizeT tmp ; |
|
5384 |
SizeT tmp ; |
| 5385 |
Char *tmp_str ; |
|
5385 |
Char *tmp_str ; |
| 5386 |
enum __anonenum_log_to_135 log_to ; |
|
5386 |
enum __anonenum_log_to_135 log_to ; |
| 5387 |
enum __anonenum_log_to_135 xml_to ; |
|
5387 |
enum __anonenum_log_to_135 xml_to ; |
| 5388 |
Char *log_fsname_unexpanded ; |
|
5388 |
Char *log_fsname_unexpanded ; |
| 5389 |
Char *xml_fsname_unexpanded ; |
|
5389 |
Char *xml_fsname_unexpanded ; |
| 5390 |
long tmp___0 ; |
|
5390 |
long tmp___0 ; |
| 5391 |
HChar *arg ; |
|
5391 |
HChar *arg ; |
| 5392 |
void *tmp___1 ; |
|
5392 |
void *tmp___1 ; |
| 5393 |
HChar *colon ; |
|
5393 |
HChar *colon ; |
| 5394 |
Char *tmp___2 ; |
|
5394 |
Char *tmp___2 ; |
| 5395 |
Int tmp___3 ; |
|
5395 |
Int tmp___3 ; |
| 5396 |
int tmp___4 ; |
|
5396 |
int tmp___4 ; |
| 5397 |
Int tmp___5 ; |
|
5397 |
Int tmp___5 ; |
| 5398 |
Int tmp___6 ; |
|
5398 |
Int tmp___6 ; |
| 5399 |
int tmp___7 ; |
|
5399 |
int tmp___7 ; |
| 5400 |
Int tmp___8 ; |
|
5400 |
Int tmp___8 ; |
| 5401 |
Int tmp___9 ; |
|
5401 |
Int tmp___9 ; |
| 5402 |
int tmp___10 ; |
|
5402 |
int tmp___10 ; |
| 5403 |
Int tmp___11 ; |
|
5403 |
Int tmp___11 ; |
| 5404 |
Char patt[7] ; |
|
5404 |
Char patt[7] ; |
| 5405 |
Bool ok ; |
|
5405 |
Bool ok ; |
| 5406 |
SizeT tmp___12 ; |
|
5406 |
SizeT tmp___12 ; |
| 5407 |
int tmp___13 ; |
|
5407 |
int tmp___13 ; |
| 5408 |
Int j ; |
|
5408 |
Int j ; |
| 5409 |
SizeT tmp___14 ; |
|
5409 |
SizeT tmp___14 ; |
| 5410 |
Int j___0 ; |
|
5410 |
Int j___0 ; |
| 5411 |
SizeT tmp___15 ; |
|
5411 |
SizeT tmp___15 ; |
| 5412 |
long tmp___16 ; |
|
5412 |
long tmp___16 ; |
| 5413 |
Bool tmp___17 ; |
|
5413 |
Bool tmp___17 ; |
| 5414 |
Int tmp___18 ; |
|
5414 |
Int tmp___18 ; |
| 5415 |
int tmp___19 ; |
|
5415 |
int tmp___19 ; |
| 5416 |
Int tmp___20 ; |
|
5416 |
Int tmp___20 ; |
| 5417 |
Int tmp___21 ; |
|
5417 |
Int tmp___21 ; |
| 5418 |
int tmp___22 ; |
|
5418 |
int tmp___22 ; |
| 5419 |
Int tmp___23 ; |
|
5419 |
Int tmp___23 ; |
| 5420 |
Int tmp___24 ; |
|
5420 |
Int tmp___24 ; |
| 5421 |
int tmp___25 ; |
|
5421 |
int tmp___25 ; |
| 5422 |
Int tmp___26 ; |
|
5422 |
Int tmp___26 ; |
| 5423 |
SizeT tmp___27 ; |
|
5423 |
SizeT tmp___27 ; |
| 5424 |
Int tmp___28 ; |
|
5424 |
Int tmp___28 ; |
| 5425 |
int tmp___29 ; |
|
5425 |
int tmp___29 ; |
| 5426 |
SizeT tmp___30 ; |
|
5426 |
SizeT tmp___30 ; |
| 5427 |
Int tmp___31 ; |
|
5427 |
Int tmp___31 ; |
| 5428 |
Char *val ; |
|
5428 |
Char *val ; |
| 5429 |
SizeT tmp___32 ; |
|
5429 |
SizeT tmp___32 ; |
| 5430 |
Char *s ; |
|
5430 |
Char *s ; |
| 5431 |
Long n ; |
|
5431 |
Long n ; |
| 5432 |
Long tmp___33 ; |
|
5432 |
Long tmp___33 ; |
| 5433 |
SizeT tmp___34 ; |
|
5433 |
SizeT tmp___34 ; |
| 5434 |
Int tmp___35 ; |
|
5434 |
Int tmp___35 ; |
| 5435 |
int tmp___36 ; |
|
5435 |
int tmp___36 ; |
| 5436 |
SizeT tmp___37 ; |
|
5436 |
SizeT tmp___37 ; |
| 5437 |
Int tmp___38 ; |
|
5437 |
Int tmp___38 ; |
| 5438 |
Char *val___0 ; |
|
5438 |
Char *val___0 ; |
| 5439 |
SizeT tmp___39 ; |
|
5439 |
SizeT tmp___39 ; |
| 5440 |
SizeT tmp___40 ; |
|
5440 |
SizeT tmp___40 ; |
| 5441 |
Int tmp___41 ; |
|
5441 |
Int tmp___41 ; |
| 5442 |
int tmp___42 ; |
|
5442 |
int tmp___42 ; |
| 5443 |
SizeT tmp___43 ; |
|
5443 |
SizeT tmp___43 ; |
| 5444 |
Int tmp___44 ; |
|
5444 |
Int tmp___44 ; |
| 5445 |
Char *val___1 ; |
|
5445 |
Char *val___1 ; |
| 5446 |
SizeT tmp___45 ; |
|
5446 |
SizeT tmp___45 ; |
| 5447 |
SizeT tmp___46 ; |
|
5447 |
SizeT tmp___46 ; |
| 5448 |
Int tmp___47 ; |
|
5448 |
Int tmp___47 ; |
| 5449 |
int tmp___48 ; |
|
5449 |
int tmp___48 ; |
| 5450 |
SizeT tmp___49 ; |
|
5450 |
SizeT tmp___49 ; |
| 5451 |
Int tmp___50 ; |
|
5451 |
Int tmp___50 ; |
| 5452 |
Char *val___2 ; |
|
5452 |
Char *val___2 ; |
| 5453 |
SizeT tmp___51 ; |
|
5453 |
SizeT tmp___51 ; |
| 5454 |
SizeT tmp___52 ; |
|
5454 |
SizeT tmp___52 ; |
| 5455 |
Int tmp___53 ; |
|
5455 |
Int tmp___53 ; |
| 5456 |
int tmp___54 ; |
|
5456 |
int tmp___54 ; |
| 5457 |
SizeT tmp___55 ; |
|
5457 |
SizeT tmp___55 ; |
| 5458 |
Int tmp___56 ; |
|
5458 |
Int tmp___56 ; |
| 5459 |
Char *val___3 ; |
|
5459 |
Char *val___3 ; |
| 5460 |
SizeT tmp___57 ; |
|
5460 |
SizeT tmp___57 ; |
| 5461 |
SizeT tmp___58 ; |
|
5461 |
SizeT tmp___58 ; |
| 5462 |
Int tmp___59 ; |
|
5462 |
Int tmp___59 ; |
| 5463 |
int tmp___60 ; |
|
5463 |
int tmp___60 ; |
| 5464 |
SizeT tmp___61 ; |
|
5464 |
SizeT tmp___61 ; |
| 5465 |
Int tmp___62 ; |
|
5465 |
Int tmp___62 ; |
| 5466 |
Char *val___4 ; |
|
5466 |
Char *val___4 ; |
| 5467 |
SizeT tmp___63 ; |
|
5467 |
SizeT tmp___63 ; |
| 5468 |
SizeT tmp___64 ; |
|
5468 |
SizeT tmp___64 ; |
| 5469 |
Int tmp___65 ; |
|
5469 |
Int tmp___65 ; |
| 5470 |
int tmp___66 ; |
|
5470 |
int tmp___66 ; |
| 5471 |
SizeT tmp___67 ; |
|
5471 |
SizeT tmp___67 ; |
| 5472 |
Int tmp___68 ; |
|
5472 |
Int tmp___68 ; |
| 5473 |
Char *val___5 ; |
|
5473 |
Char *val___5 ; |
| 5474 |
SizeT tmp___69 ; |
|
5474 |
SizeT tmp___69 ; |
| 5475 |
SizeT tmp___70 ; |
|
5475 |
SizeT tmp___70 ; |
| 5476 |
Int tmp___71 ; |
|
5476 |
Int tmp___71 ; |
| 5477 |
int tmp___72 ; |
|
5477 |
int tmp___72 ; |
| 5478 |
SizeT tmp___73 ; |
|
5478 |
SizeT tmp___73 ; |
| 5479 |
Int tmp___74 ; |
|
5479 |
Int tmp___74 ; |
| 5480 |
Char *val___6 ; |
|
5480 |
Char *val___6 ; |
| 5481 |
SizeT tmp___75 ; |
|
5481 |
SizeT tmp___75 ; |
| 5482 |
SizeT tmp___76 ; |
|
5482 |
SizeT tmp___76 ; |
| 5483 |
Int tmp___77 ; |
|
5483 |
Int tmp___77 ; |
| 5484 |
int tmp___78 ; |
|
5484 |
int tmp___78 ; |
| 5485 |
SizeT tmp___79 ; |
|
5485 |
SizeT tmp___79 ; |
| 5486 |
Int tmp___80 ; |
|
5486 |
Int tmp___80 ; |
| 5487 |
Char *val___7 ; |
|
5487 |
Char *val___7 ; |
| 5488 |
SizeT tmp___81 ; |
|
5488 |
SizeT tmp___81 ; |
| 5489 |
SizeT tmp___82 ; |
|
5489 |
SizeT tmp___82 ; |
| 5490 |
Int tmp___83 ; |
|
5490 |
Int tmp___83 ; |
| 5491 |
int tmp___84 ; |
|
5491 |
int tmp___84 ; |
| 5492 |
SizeT tmp___85 ; |
|
5492 |
SizeT tmp___85 ; |
| 5493 |
Int tmp___86 ; |
|
5493 |
Int tmp___86 ; |
| 5494 |
Char *val___8 ; |
|
5494 |
Char *val___8 ; |
| 5495 |
SizeT tmp___87 ; |
|
5495 |
SizeT tmp___87 ; |
| 5496 |
SizeT tmp___88 ; |
|
5496 |
SizeT tmp___88 ; |
| 5497 |
Int tmp___89 ; |
|
5497 |
Int tmp___89 ; |
| 5498 |
int tmp___90 ; |
|
5498 |
int tmp___90 ; |
| 5499 |
SizeT tmp___91 ; |
|
5499 |
SizeT tmp___91 ; |
| 5500 |
Int tmp___92 ; |
|
5500 |
Int tmp___92 ; |
| 5501 |
Char *val___9 ; |
|
5501 |
Char *val___9 ; |
| 5502 |
SizeT tmp___93 ; |
|
5502 |
SizeT tmp___93 ; |
| 5503 |
SizeT tmp___94 ; |
|
5503 |
SizeT tmp___94 ; |
| 5504 |
Int tmp___95 ; |
|
5504 |
Int tmp___95 ; |
| 5505 |
int tmp___96 ; |
|
5505 |
int tmp___96 ; |
| 5506 |
SizeT tmp___97 ; |
|
5506 |
SizeT tmp___97 ; |
| 5507 |
Int tmp___98 ; |
|
5507 |
Int tmp___98 ; |
| 5508 |
Char *val___10 ; |
|
5508 |
Char *val___10 ; |
| 5509 |
SizeT tmp___99 ; |
|
5509 |
SizeT tmp___99 ; |
| 5510 |
Char *s___0 ; |
|
5510 |
Char *s___0 ; |
| 5511 |
Long n___0 ; |
|
5511 |
Long n___0 ; |
| 5512 |
Long tmp___100 ; |
|
5512 |
Long tmp___100 ; |
| 5513 |
SizeT tmp___101 ; |
|
5513 |
SizeT tmp___101 ; |
| 5514 |
Int tmp___102 ; |
|
5514 |
Int tmp___102 ; |
| 5515 |
int tmp___103 ; |
|
5515 |
int tmp___103 ; |
| 5516 |
SizeT tmp___104 ; |
|
5516 |
SizeT tmp___104 ; |
| 5517 |
Int tmp___105 ; |
|
5517 |
Int tmp___105 ; |
| 5518 |
Char *val___11 ; |
|
5518 |
Char *val___11 ; |
| 5519 |
SizeT tmp___106 ; |
|
5519 |
SizeT tmp___106 ; |
| 5520 |
Char *s___1 ; |
|
5520 |
Char *s___1 ; |
| 5521 |
Long n___1 ; |
|
5521 |
Long n___1 ; |
| 5522 |
Long tmp___107 ; |
|
5522 |
Long tmp___107 ; |
| 5523 |
SizeT tmp___108 ; |
|
5523 |
SizeT tmp___108 ; |
| 5524 |
Int tmp___109 ; |
|
5524 |
Int tmp___109 ; |
| 5525 |
int tmp___110 ; |
|
5525 |
int tmp___110 ; |
| 5526 |
SizeT tmp___111 ; |
|
5526 |
SizeT tmp___111 ; |
| 5527 |
Int tmp___112 ; |
|
5527 |
Int tmp___112 ; |
| 5528 |
Char *val___12 ; |
|
5528 |
Char *val___12 ; |
| 5529 |
SizeT tmp___113 ; |
|
5529 |
SizeT tmp___113 ; |
| 5530 |
Int tmp___114 ; |
|
5530 |
Int tmp___114 ; |
| 5531 |
int tmp___115 ; |
|
5531 |
int tmp___115 ; |
| 5532 |
Int tmp___116 ; |
|
5532 |
Int tmp___116 ; |
| 5533 |
Int tmp___117 ; |
|
5533 |
Int tmp___117 ; |
| 5534 |
int tmp___118 ; |
|
5534 |
int tmp___118 ; |
| 5535 |
Int tmp___119 ; |
|
5535 |
Int tmp___119 ; |
| 5536 |
SizeT tmp___120 ; |
|
5536 |
SizeT tmp___120 ; |
| 5537 |
Int tmp___121 ; |
|
5537 |
Int tmp___121 ; |
| 5538 |
int tmp___122 ; |
|
5538 |
int tmp___122 ; |
| 5539 |
SizeT tmp___123 ; |
|
5539 |
SizeT tmp___123 ; |
| 5540 |
Int tmp___124 ; |
|
5540 |
Int tmp___124 ; |
| 5541 |
Char *val___13 ; |
|
5541 |
Char *val___13 ; |
| 5542 |
SizeT tmp___125 ; |
|
5542 |
SizeT tmp___125 ; |
| 5543 |
Char *s___2 ; |
|
5543 |
Char *s___2 ; |
| 5544 |
Long n___2 ; |
|
5544 |
Long n___2 ; |
| 5545 |
Long tmp___126 ; |
|
5545 |
Long tmp___126 ; |
| 5546 |
SizeT tmp___127 ; |
|
5546 |
SizeT tmp___127 ; |
| 5547 |
Int tmp___128 ; |
|
5547 |
Int tmp___128 ; |
| 5548 |
int tmp___129 ; |
|
5548 |
int tmp___129 ; |
| 5549 |
SizeT tmp___130 ; |
|
5549 |
SizeT tmp___130 ; |
| 5550 |
Int tmp___131 ; |
|
5550 |
Int tmp___131 ; |
| 5551 |
Char *val___14 ; |
|
5551 |
Char *val___14 ; |
| 5552 |
SizeT tmp___132 ; |
|
5552 |
SizeT tmp___132 ; |
| 5553 |
Char *s___3 ; |
|
5553 |
Char *s___3 ; |
| 5554 |
Long n___3 ; |
|
5554 |
Long n___3 ; |
| 5555 |
Long tmp___133 ; |
|
5555 |
Long tmp___133 ; |
| 5556 |
SizeT tmp___134 ; |
|
5556 |
SizeT tmp___134 ; |
| 5557 |
Int tmp___135 ; |
|
5557 |
Int tmp___135 ; |
| 5558 |
int tmp___136 ; |
|
5558 |
int tmp___136 ; |
| 5559 |
SizeT tmp___137 ; |
|
5559 |
SizeT tmp___137 ; |
| 5560 |
Int tmp___138 ; |
|
5560 |
Int tmp___138 ; |
| 5561 |
Char *val___15 ; |
|
5561 |
Char *val___15 ; |
| 5562 |
SizeT tmp___139 ; |
|
5562 |
SizeT tmp___139 ; |
| 5563 |
Char *s___4 ; |
|
5563 |
Char *s___4 ; |
| 5564 |
Long n___4 ; |
|
5564 |
Long n___4 ; |
| 5565 |
Long tmp___140 ; |
|
5565 |
Long tmp___140 ; |
| 5566 |
SizeT tmp___141 ; |
|
5566 |
SizeT tmp___141 ; |
| 5567 |
Int tmp___142 ; |
|
5567 |
Int tmp___142 ; |
| 5568 |
int tmp___143 ; |
|
5568 |
int tmp___143 ; |
| 5569 |
SizeT tmp___144 ; |
|
5569 |
SizeT tmp___144 ; |
| 5570 |
Int tmp___145 ; |
|
5570 |
Int tmp___145 ; |
| 5571 |
Char *val___16 ; |
|
5571 |
Char *val___16 ; |
| 5572 |
SizeT tmp___146 ; |
|
5572 |
SizeT tmp___146 ; |
| 5573 |
Int tmp___147 ; |
|
5573 |
Int tmp___147 ; |
| 5574 |
int tmp___148 ; |
|
5574 |
int tmp___148 ; |
| 5575 |
Int tmp___149 ; |
|
5575 |
Int tmp___149 ; |
| 5576 |
Int tmp___150 ; |
|
5576 |
Int tmp___150 ; |
| 5577 |
int tmp___151 ; |
|
5577 |
int tmp___151 ; |
| 5578 |
Int tmp___152 ; |
|
5578 |
Int tmp___152 ; |
| 5579 |
SizeT tmp___153 ; |
|
5579 |
SizeT tmp___153 ; |
| 5580 |
Int tmp___154 ; |
|
5580 |
Int tmp___154 ; |
| 5581 |
int tmp___155 ; |
|
5581 |
int tmp___155 ; |
| 5582 |
SizeT tmp___156 ; |
|
5582 |
SizeT tmp___156 ; |
| 5583 |
Int tmp___157 ; |
|
5583 |
Int tmp___157 ; |
| 5584 |
Char *val___17 ; |
|
5584 |
Char *val___17 ; |
| 5585 |
SizeT tmp___158 ; |
|
5585 |
SizeT tmp___158 ; |
| 5586 |
Char *s___5 ; |
|
5586 |
Char *s___5 ; |
| 5587 |
Long n___5 ; |
|
5587 |
Long n___5 ; |
| 5588 |
Long tmp___159 ; |
|
5588 |
Long tmp___159 ; |
| 5589 |
SizeT tmp___160 ; |
|
5589 |
SizeT tmp___160 ; |
| 5590 |
Int tmp___161 ; |
|
5590 |
Int tmp___161 ; |
| 5591 |
int tmp___162 ; |
|
5591 |
int tmp___162 ; |
| 5592 |
SizeT tmp___163 ; |
|
5592 |
SizeT tmp___163 ; |
| 5593 |
Int tmp___164 ; |
|
5593 |
Int tmp___164 ; |
| 5594 |
Char *val___18 ; |
|
5594 |
Char *val___18 ; |
| 5595 |
SizeT tmp___165 ; |
|
5595 |
SizeT tmp___165 ; |
| 5596 |
Char *s___6 ; |
|
5596 |
Char *s___6 ; |
| 5597 |
Long n___6 ; |
|
5597 |
Long n___6 ; |
| 5598 |
Long tmp___166 ; |
|
5598 |
Long tmp___166 ; |
| 5599 |
SizeT tmp___167 ; |
|
5599 |
SizeT tmp___167 ; |
| 5600 |
Int tmp___168 ; |
|
5600 |
Int tmp___168 ; |
| 5601 |
int tmp___169 ; |
|
5601 |
int tmp___169 ; |
| 5602 |
SizeT tmp___170 ; |
|
5602 |
SizeT tmp___170 ; |
| 5603 |
Int tmp___171 ; |
|
5603 |
Int tmp___171 ; |
| 5604 |
Char *val___19 ; |
|
5604 |
Char *val___19 ; |
| 5605 |
SizeT tmp___172 ; |
|
5605 |
SizeT tmp___172 ; |
| 5606 |
SizeT tmp___173 ; |
|
5606 |
SizeT tmp___173 ; |
| 5607 |
Int tmp___174 ; |
|
5607 |
Int tmp___174 ; |
| 5608 |
int tmp___175 ; |
|
5608 |
int tmp___175 ; |
| 5609 |
SizeT tmp___176 ; |
|
5609 |
SizeT tmp___176 ; |
| 5610 |
Int tmp___177 ; |
|
5610 |
Int tmp___177 ; |
| 5611 |
Char *val___20 ; |
|
5611 |
Char *val___20 ; |
| 5612 |
SizeT tmp___178 ; |
|
5612 |
SizeT tmp___178 ; |
| 5613 |
SizeT tmp___179 ; |
|
5613 |
SizeT tmp___179 ; |
| 5614 |
Int tmp___180 ; |
|
5614 |
Int tmp___180 ; |
| 5615 |
int tmp___181 ; |
|
5615 |
int tmp___181 ; |
| 5616 |
SizeT tmp___182 ; |
|
5616 |
SizeT tmp___182 ; |
| 5617 |
Int tmp___183 ; |
|
5617 |
Int tmp___183 ; |
| 5618 |
Char *val___21 ; |
|
5618 |
Char *val___21 ; |
| 5619 |
SizeT tmp___184 ; |
|
5619 |
SizeT tmp___184 ; |
| 5620 |
Int tmp___185 ; |
|
5620 |
Int tmp___185 ; |
| 5621 |
int tmp___186 ; |
|
5621 |
int tmp___186 ; |
| 5622 |
Int tmp___187 ; |
|
5622 |
Int tmp___187 ; |
| 5623 |
Int tmp___188 ; |
|
5623 |
Int tmp___188 ; |
| 5624 |
int tmp___189 ; |
|
5624 |
int tmp___189 ; |
| 5625 |
Int tmp___190 ; |
|
5625 |
Int tmp___190 ; |
| 5626 |
SizeT tmp___191 ; |
|
5626 |
SizeT tmp___191 ; |
| 5627 |
Int tmp___192 ; |
|
5627 |
Int tmp___192 ; |
| 5628 |
int tmp___193 ; |
|
5628 |
int tmp___193 ; |
| 5629 |
SizeT tmp___194 ; |
|
5629 |
SizeT tmp___194 ; |
| 5630 |
Int tmp___195 ; |
|
5630 |
Int tmp___195 ; |
| 5631 |
Char *val___22 ; |
|
5631 |
Char *val___22 ; |
| 5632 |
SizeT tmp___196 ; |
|
5632 |
SizeT tmp___196 ; |
| 5633 |
Int tmp___197 ; |
|
5633 |
Int tmp___197 ; |
| 5634 |
int tmp___198 ; |
|
5634 |
int tmp___198 ; |
| 5635 |
Int tmp___199 ; |
|
5635 |
Int tmp___199 ; |
| 5636 |
Int tmp___200 ; |
|
5636 |
Int tmp___200 ; |
| 5637 |
int tmp___201 ; |
|
5637 |
int tmp___201 ; |
| 5638 |
Int tmp___202 ; |
|
5638 |
Int tmp___202 ; |
| 5639 |
Int tmp___203 ; |
|
5639 |
Int tmp___203 ; |
| 5640 |
int tmp___204 ; |
|
5640 |
int tmp___204 ; |
| 5641 |
Int tmp___205 ; |
|
5641 |
Int tmp___205 ; |
| 5642 |
Int tmp___206 ; |
|
5642 |
Int tmp___206 ; |
| 5643 |
int tmp___207 ; |
|
5643 |
int tmp___207 ; |
| 5644 |
Int tmp___208 ; |
|
5644 |
Int tmp___208 ; |
| 5645 |
SizeT tmp___209 ; |
|
5645 |
SizeT tmp___209 ; |
| 5646 |
Int tmp___210 ; |
|
5646 |
Int tmp___210 ; |
| 5647 |
int tmp___211 ; |
|
5647 |
int tmp___211 ; |
| 5648 |
SizeT tmp___212 ; |
|
5648 |
SizeT tmp___212 ; |
| 5649 |
Int tmp___213 ; |
|
5649 |
Int tmp___213 ; |
| 5650 |
Char *val___23 ; |
|
5650 |
Char *val___23 ; |
| 5651 |
SizeT tmp___214 ; |
|
5651 |
SizeT tmp___214 ; |
| 5652 |
Char *s___7 ; |
|
5652 |
Char *s___7 ; |
| 5653 |
Long n___7 ; |
|
5653 |
Long n___7 ; |
| 5654 |
Long tmp___215 ; |
|
5654 |
Long tmp___215 ; |
| 5655 |
SizeT tmp___216 ; |
|
5655 |
SizeT tmp___216 ; |
| 5656 |
Int tmp___217 ; |
|
5656 |
Int tmp___217 ; |
| 5657 |
int tmp___218 ; |
|
5657 |
int tmp___218 ; |
| 5658 |
SizeT tmp___219 ; |
|
5658 |
SizeT tmp___219 ; |
| 5659 |
Int tmp___220 ; |
|
5659 |
Int tmp___220 ; |
| 5660 |
Char *val___24 ; |
|
5660 |
Char *val___24 ; |
| 5661 |
SizeT tmp___221 ; |
|
5661 |
SizeT tmp___221 ; |
| 5662 |
Char *s___8 ; |
|
5662 |
Char *s___8 ; |
| 5663 |
Long n___8 ; |
|
5663 |
Long n___8 ; |
| 5664 |
Long tmp___222 ; |
|
5664 |
Long tmp___222 ; |
| 5665 |
SizeT tmp___223 ; |
|
5665 |
SizeT tmp___223 ; |
| 5666 |
Int tmp___224 ; |
|
5666 |
Int tmp___224 ; |
| 5667 |
int tmp___225 ; |
|
5667 |
int tmp___225 ; |
| 5668 |
SizeT tmp___226 ; |
|
5668 |
SizeT tmp___226 ; |
| 5669 |
Int tmp___227 ; |
|
5669 |
Int tmp___227 ; |
| 5670 |
Char *val___25 ; |
|
5670 |
Char *val___25 ; |
| 5671 |
SizeT tmp___228 ; |
|
5671 |
SizeT tmp___228 ; |
| 5672 |
Char *s___9 ; |
|
5672 |
Char *s___9 ; |
| 5673 |
Long n___9 ; |
|
5673 |
Long n___9 ; |
| 5674 |
Long tmp___229 ; |
|
5674 |
Long tmp___229 ; |
| 5675 |
SizeT tmp___230 ; |
|
5675 |
SizeT tmp___230 ; |
| 5676 |
Int tmp___231 ; |
|
5676 |
Int tmp___231 ; |
| 5677 |
int tmp___232 ; |
|
5677 |
int tmp___232 ; |
| 5678 |
SizeT tmp___233 ; |
|
5678 |
SizeT tmp___233 ; |
| 5679 |
Int tmp___234 ; |
|
5679 |
Int tmp___234 ; |
| 5680 |
Char *val___26 ; |
|
5680 |
Char *val___26 ; |
| 5681 |
SizeT tmp___235 ; |
|
5681 |
SizeT tmp___235 ; |
| 5682 |
Char *s___10 ; |
|
5682 |
Char *s___10 ; |
| 5683 |
Long n___10 ; |
|
5683 |
Long n___10 ; |
| 5684 |
Long tmp___236 ; |
|
5684 |
Long tmp___236 ; |
| 5685 |
SizeT tmp___237 ; |
|
5685 |
SizeT tmp___237 ; |
| 5686 |
Int tmp___238 ; |
|
5686 |
Int tmp___238 ; |
| 5687 |
int tmp___239 ; |
|
5687 |
int tmp___239 ; |
| 5688 |
SizeT tmp___240 ; |
|
5688 |
SizeT tmp___240 ; |
| 5689 |
Int tmp___241 ; |
|
5689 |
Int tmp___241 ; |
| 5690 |
Char *val___27 ; |
|
5690 |
Char *val___27 ; |
| 5691 |
SizeT tmp___242 ; |
|
5691 |
SizeT tmp___242 ; |
| 5692 |
Int tmp___243 ; |
|
5692 |
Int tmp___243 ; |
| 5693 |
int tmp___244 ; |
|
5693 |
int tmp___244 ; |
| 5694 |
Int tmp___245 ; |
|
5694 |
Int tmp___245 ; |
| 5695 |
Int tmp___246 ; |
|
5695 |
Int tmp___246 ; |
| 5696 |
int tmp___247 ; |
|
5696 |
int tmp___247 ; |
| 5697 |
Int tmp___248 ; |
|
5697 |
Int tmp___248 ; |
| 5698 |
SizeT tmp___249 ; |
|
5698 |
SizeT tmp___249 ; |
| 5699 |
Int tmp___250 ; |
|
5699 |
Int tmp___250 ; |
| 5700 |
int tmp___251 ; |
|
5700 |
int tmp___251 ; |
| 5701 |
SizeT tmp___252 ; |
|
5701 |
SizeT tmp___252 ; |
| 5702 |
Int tmp___253 ; |
|
5702 |
Int tmp___253 ; |
| 5703 |
Char *val___28 ; |
|
5703 |
Char *val___28 ; |
| 5704 |
SizeT tmp___254 ; |
|
5704 |
SizeT tmp___254 ; |
| 5705 |
Int tmp___255 ; |
|
5705 |
Int tmp___255 ; |
| 5706 |
int tmp___256 ; |
|
5706 |
int tmp___256 ; |
| 5707 |
Int tmp___257 ; |
|
5707 |
Int tmp___257 ; |
| 5708 |
Int tmp___258 ; |
|
5708 |
Int tmp___258 ; |
| 5709 |
int tmp___259 ; |
|
5709 |
int tmp___259 ; |
| 5710 |
Int tmp___260 ; |
|
5710 |
Int tmp___260 ; |
| 5711 |
SizeT tmp___261 ; |
|
5711 |
SizeT tmp___261 ; |
| 5712 |
Int tmp___262 ; |
|
5712 |
Int tmp___262 ; |
| 5713 |
int tmp___263 ; |
|
5713 |
int tmp___263 ; |
| 5714 |
SizeT tmp___264 ; |
|
5714 |
SizeT tmp___264 ; |
| 5715 |
Int tmp___265 ; |
|
5715 |
Int tmp___265 ; |
| 5716 |
Char *val___29 ; |
|
5716 |
Char *val___29 ; |
| 5717 |
SizeT tmp___266 ; |
|
5717 |
SizeT tmp___266 ; |
| 5718 |
SizeT tmp___267 ; |
|
5718 |
SizeT tmp___267 ; |
| 5719 |
Int tmp___268 ; |
|
5719 |
Int tmp___268 ; |
| 5720 |
int tmp___269 ; |
|
5720 |
int tmp___269 ; |
| 5721 |
SizeT tmp___270 ; |
|
5721 |
SizeT tmp___270 ; |
| 5722 |
Int tmp___271 ; |
|
5722 |
Int tmp___271 ; |
| 5723 |
Char *val___30 ; |
|
5723 |
Char *val___30 ; |
| 5724 |
SizeT tmp___272 ; |
|
5724 |
SizeT tmp___272 ; |
| 5725 |
SizeT tmp___273 ; |
|
5725 |
SizeT tmp___273 ; |
| 5726 |
Int tmp___274 ; |
|
5726 |
Int tmp___274 ; |
| 5727 |
int tmp___275 ; |
|
5727 |
int tmp___275 ; |
| 5728 |
SizeT tmp___276 ; |
|
5728 |
SizeT tmp___276 ; |
| 5729 |
Int tmp___277 ; |
|
5729 |
Int tmp___277 ; |
| 5730 |
Char *val___31 ; |
|
5730 |
Char *val___31 ; |
| 5731 |
SizeT tmp___278 ; |
|
5731 |
SizeT tmp___278 ; |
| 5732 |
Int tmp___279 ; |
|
5732 |
Int tmp___279 ; |
| 5733 |
int tmp___280 ; |
|
5733 |
int tmp___280 ; |
| 5734 |
Int tmp___281 ; |
|
5734 |
Int tmp___281 ; |
| 5735 |
Int tmp___282 ; |
|
5735 |
Int tmp___282 ; |
| 5736 |
int tmp___283 ; |
|
5736 |
int tmp___283 ; |
| 5737 |
Int tmp___284 ; |
|
5737 |
Int tmp___284 ; |
| 5738 |
SizeT tmp___285 ; |
|
5738 |
SizeT tmp___285 ; |
| 5739 |
Int tmp___286 ; |
|
5739 |
Int tmp___286 ; |
| 5740 |
int tmp___287 ; |
|
5740 |
int tmp___287 ; |
| 5741 |
SizeT tmp___288 ; |
|
5741 |
SizeT tmp___288 ; |
| 5742 |
Int tmp___289 ; |
|
5742 |
Int tmp___289 ; |
| 5743 |
Char *val___32 ; |
|
5743 |
Char *val___32 ; |
| 5744 |
SizeT tmp___290 ; |
|
5744 |
SizeT tmp___290 ; |
| 5745 |
Int tmp___291 ; |
|
5745 |
Int tmp___291 ; |
| 5746 |
int tmp___292 ; |
|
5746 |
int tmp___292 ; |
| 5747 |
Int tmp___293 ; |
|
5747 |
Int tmp___293 ; |
| 5748 |
Int tmp___294 ; |
|
5748 |
Int tmp___294 ; |
| 5749 |
int tmp___295 ; |
|
5749 |
int tmp___295 ; |
| 5750 |
Int tmp___296 ; |
|
5750 |
Int tmp___296 ; |
| 5751 |
SizeT tmp___297 ; |
|
5751 |
SizeT tmp___297 ; |
| 5752 |
Int tmp___298 ; |
|
5752 |
Int tmp___298 ; |
| 5753 |
int tmp___299 ; |
|
5753 |
int tmp___299 ; |
| 5754 |
SizeT tmp___300 ; |
|
5754 |
SizeT tmp___300 ; |
| 5755 |
Int tmp___301 ; |
|
5755 |
Int tmp___301 ; |
| 5756 |
Char *val___33 ; |
|
5756 |
Char *val___33 ; |
| 5757 |
SizeT tmp___302 ; |
|
5757 |
SizeT tmp___302 ; |
| 5758 |
Int tmp___303 ; |
|
5758 |
Int tmp___303 ; |
| 5759 |
int tmp___304 ; |
|
5759 |
int tmp___304 ; |
| 5760 |
Int tmp___305 ; |
|
5760 |
Int tmp___305 ; |
| 5761 |
Int tmp___306 ; |
|
5761 |
Int tmp___306 ; |
| 5762 |
int tmp___307 ; |
|
5762 |
int tmp___307 ; |
| 5763 |
Int tmp___308 ; |
|
5763 |
Int tmp___308 ; |
| 5764 |
Int tmp___309 ; |
|
5764 |
Int tmp___309 ; |
| 5765 |
int tmp___310 ; |
|
5765 |
int tmp___310 ; |
| 5766 |
Int tmp___311 ; |
|
5766 |
Int tmp___311 ; |
| 5767 |
Int tmp___312 ; |
|
5767 |
Int tmp___312 ; |
| 5768 |
int tmp___313 ; |
|
5768 |
int tmp___313 ; |
| 5769 |
Int tmp___314 ; |
|
5769 |
Int tmp___314 ; |
| 5770 |
Int tmp___315 ; |
|
5770 |
Int tmp___315 ; |
| 5771 |
int tmp___316 ; |
|
5771 |
int tmp___316 ; |
| 5772 |
Int tmp___317 ; |
|
5772 |
Int tmp___317 ; |
| 5773 |
SizeT tmp___318 ; |
|
5773 |
SizeT tmp___318 ; |
| 5774 |
Int tmp___319 ; |
|
5774 |
Int tmp___319 ; |
| 5775 |
int tmp___320 ; |
|
5775 |
int tmp___320 ; |
| 5776 |
SizeT tmp___321 ; |
|
5776 |
SizeT tmp___321 ; |
| 5777 |
Int tmp___322 ; |
|
5777 |
Int tmp___322 ; |
| 5778 |
Char *val___34 ; |
|
5778 |
Char *val___34 ; |
| 5779 |
SizeT tmp___323 ; |
|
5779 |
SizeT tmp___323 ; |
| 5780 |
Int tmp___324 ; |
|
5780 |
Int tmp___324 ; |
| 5781 |
int tmp___325 ; |
|
5781 |
int tmp___325 ; |
| 5782 |
Int tmp___326 ; |
|
5782 |
Int tmp___326 ; |
| 5783 |
Int tmp___327 ; |
|
5783 |
Int tmp___327 ; |
| 5784 |
int tmp___328 ; |
|
5784 |
int tmp___328 ; |
| 5785 |
Int tmp___329 ; |
|
5785 |
Int tmp___329 ; |
| 5786 |
SizeT tmp___330 ; |
|
5786 |
SizeT tmp___330 ; |
| 5787 |
Int tmp___331 ; |
|
5787 |
Int tmp___331 ; |
| 5788 |
int tmp___332 ; |
|
5788 |
int tmp___332 ; |
| 5789 |
SizeT tmp___333 ; |
|
5789 |
SizeT tmp___333 ; |
| 5790 |
Int tmp___334 ; |
|
5790 |
Int tmp___334 ; |
| 5791 |
Char *val___35 ; |
|
5791 |
Char *val___35 ; |
| 5792 |
SizeT tmp___335 ; |
|
5792 |
SizeT tmp___335 ; |
| 5793 |
SizeT tmp___336 ; |
|
5793 |
SizeT tmp___336 ; |
| 5794 |
Int tmp___337 ; |
|
5794 |
Int tmp___337 ; |
| 5795 |
int tmp___338 ; |
|
5795 |
int tmp___338 ; |
| 5796 |
SizeT tmp___339 ; |
|
5796 |
SizeT tmp___339 ; |
| 5797 |
Int tmp___340 ; |
|
5797 |
Int tmp___340 ; |
| 5798 |
Char *val___36 ; |
|
5798 |
Char *val___36 ; |
| 5799 |
SizeT tmp___341 ; |
|
5799 |
SizeT tmp___341 ; |
| 5800 |
Int tmp___342 ; |
|
5800 |
Int tmp___342 ; |
| 5801 |
int tmp___343 ; |
|
5801 |
int tmp___343 ; |
| 5802 |
Int tmp___344 ; |
|
5802 |
Int tmp___344 ; |
| 5803 |
Int tmp___345 ; |
|
5803 |
Int tmp___345 ; |
| 5804 |
int tmp___346 ; |
|
5804 |
int tmp___346 ; |
| 5805 |
Int tmp___347 ; |
|
5805 |
Int tmp___347 ; |
| 5806 |
SizeT tmp___348 ; |
|
5806 |
SizeT tmp___348 ; |
| 5807 |
Int tmp___349 ; |
|
5807 |
Int tmp___349 ; |
| 5808 |
int tmp___350 ; |
|
5808 |
int tmp___350 ; |
| 5809 |
SizeT tmp___351 ; |
|
5809 |
SizeT tmp___351 ; |
| 5810 |
Int tmp___352 ; |
|
5810 |
Int tmp___352 ; |
| 5811 |
Char *val___37 ; |
|
5811 |
Char *val___37 ; |
| 5812 |
SizeT tmp___353 ; |
|
5812 |
SizeT tmp___353 ; |
| 5813 |
Int tmp___354 ; |
|
5813 |
Int tmp___354 ; |
| 5814 |
int tmp___355 ; |
|
5814 |
int tmp___355 ; |
| 5815 |
Int tmp___356 ; |
|
5815 |
Int tmp___356 ; |
| 5816 |
Int tmp___357 ; |
|
5816 |
Int tmp___357 ; |
| 5817 |
int tmp___358 ; |
|
5817 |
int tmp___358 ; |
| 5818 |
Int tmp___359 ; |
|
5818 |
Int tmp___359 ; |
| 5819 |
SizeT tmp___360 ; |
|
5819 |
SizeT tmp___360 ; |
| 5820 |
Int tmp___361 ; |
|
5820 |
Int tmp___361 ; |
| 5821 |
int tmp___362 ; |
|
5821 |
int tmp___362 ; |
| 5822 |
SizeT tmp___363 ; |
|
5822 |
SizeT tmp___363 ; |
| 5823 |
Int tmp___364 ; |
|
5823 |
Int tmp___364 ; |
| 5824 |
Char *val___38 ; |
|
5824 |
Char *val___38 ; |
| 5825 |
SizeT tmp___365 ; |
|
5825 |
SizeT tmp___365 ; |
| 5826 |
Int tmp___366 ; |
|
5826 |
Int tmp___366 ; |
| 5827 |
int tmp___367 ; |
|
5827 |
int tmp___367 ; |
| 5828 |
Int tmp___368 ; |
|
5828 |
Int tmp___368 ; |
| 5829 |
Int tmp___369 ; |
|
5829 |
Int tmp___369 ; |
| 5830 |
int tmp___370 ; |
|
5830 |
int tmp___370 ; |
| 5831 |
Int tmp___371 ; |
|
5831 |
Int tmp___371 ; |
| 5832 |
SizeT tmp___372 ; |
|
5832 |
SizeT tmp___372 ; |
| 5833 |
Int tmp___373 ; |
|
5833 |
Int tmp___373 ; |
| 5834 |
int tmp___374 ; |
|
5834 |
int tmp___374 ; |
| 5835 |
SizeT tmp___375 ; |
|
5835 |
SizeT tmp___375 ; |
| 5836 |
Int tmp___376 ; |
|
5836 |
Int tmp___376 ; |
| 5837 |
Char *val___39 ; |
|
5837 |
Char *val___39 ; |
| 5838 |
SizeT tmp___377 ; |
|
5838 |
SizeT tmp___377 ; |
| 5839 |
Int tmp___378 ; |
|
5839 |
Int tmp___378 ; |
| 5840 |
int tmp___379 ; |
|
5840 |
int tmp___379 ; |
| 5841 |
Int tmp___380 ; |
|
5841 |
Int tmp___380 ; |
| 5842 |
Int tmp___381 ; |
|
5842 |
Int tmp___381 ; |
| 5843 |
int tmp___382 ; |
|
5843 |
int tmp___382 ; |
| 5844 |
Int tmp___383 ; |
|
5844 |
Int tmp___383 ; |
| 5845 |
SizeT tmp___384 ; |
|
5845 |
SizeT tmp___384 ; |
| 5846 |
Int tmp___385 ; |
|
5846 |
Int tmp___385 ; |
| 5847 |
int tmp___386 ; |
|
5847 |
int tmp___386 ; |
| 5848 |
SizeT tmp___387 ; |
|
5848 |
SizeT tmp___387 ; |
| 5849 |
Int tmp___388 ; |
|
5849 |
Int tmp___388 ; |
| 5850 |
Char *val___40 ; |
|
5850 |
Char *val___40 ; |
| 5851 |
SizeT tmp___389 ; |
|
5851 |
SizeT tmp___389 ; |
| 5852 |
Int tmp___390 ; |
|
5852 |
Int tmp___390 ; |
| 5853 |
int tmp___391 ; |
|
5853 |
int tmp___391 ; |
| 5854 |
Int tmp___392 ; |
|
5854 |
Int tmp___392 ; |
| 5855 |
Int tmp___393 ; |
|
5855 |
Int tmp___393 ; |
| 5856 |
int tmp___394 ; |
|
5856 |
int tmp___394 ; |
| 5857 |
Int tmp___395 ; |
|
5857 |
Int tmp___395 ; |
| 5858 |
SizeT tmp___396 ; |
|
5858 |
SizeT tmp___396 ; |
| 5859 |
Int tmp___397 ; |
|
5859 |
Int tmp___397 ; |
| 5860 |
int tmp___398 ; |
|
5860 |
int tmp___398 ; |
| 5861 |
SizeT tmp___399 ; |
|
5861 |
SizeT tmp___399 ; |
| 5862 |
Int tmp___400 ; |
|
5862 |
Int tmp___400 ; |
| 5863 |
Char *val___41 ; |
|
5863 |
Char *val___41 ; |
| 5864 |
SizeT tmp___401 ; |
|
5864 |
SizeT tmp___401 ; |
| 5865 |
Int tmp___402 ; |
|
5865 |
Int tmp___402 ; |
| 5866 |
int tmp___403 ; |
|
5866 |
int tmp___403 ; |
| 5867 |
Int tmp___404 ; |
|
5867 |
Int tmp___404 ; |
| 5868 |
Int tmp___405 ; |
|
5868 |
Int tmp___405 ; |
| 5869 |
int tmp___406 ; |
|
5869 |
int tmp___406 ; |
| 5870 |
Int tmp___407 ; |
|
5870 |
Int tmp___407 ; |
| 5871 |
SizeT tmp___408 ; |
|
5871 |
SizeT tmp___408 ; |
| 5872 |
Int tmp___409 ; |
|
5872 |
Int tmp___409 ; |
| 5873 |
int tmp___410 ; |
|
5873 |
int tmp___410 ; |
| 5874 |
SizeT tmp___411 ; |
|
5874 |
SizeT tmp___411 ; |
| 5875 |
Int tmp___412 ; |
|
5875 |
Int tmp___412 ; |
| 5876 |
Char *val___42 ; |
|
5876 |
Char *val___42 ; |
| 5877 |
SizeT tmp___413 ; |
|
5877 |
SizeT tmp___413 ; |
| 5878 |
Int tmp___414 ; |
|
5878 |
Int tmp___414 ; |
| 5879 |
int tmp___415 ; |
|
5879 |
int tmp___415 ; |
| 5880 |
Int tmp___416 ; |
|
5880 |
Int tmp___416 ; |
| 5881 |
Int tmp___417 ; |
|
5881 |
Int tmp___417 ; |
| 5882 |
int tmp___418 ; |
|
5882 |
int tmp___418 ; |
| 5883 |
Int tmp___419 ; |
|
5883 |
Int tmp___419 ; |
| 5884 |
SizeT tmp___420 ; |
|
5884 |
SizeT tmp___420 ; |
| 5885 |
Int tmp___421 ; |
|
5885 |
Int tmp___421 ; |
| 5886 |
int tmp___422 ; |
|
5886 |
int tmp___422 ; |
| 5887 |
SizeT tmp___423 ; |
|
5887 |
SizeT tmp___423 ; |
| 5888 |
Int tmp___424 ; |
|
5888 |
Int tmp___424 ; |
| 5889 |
Char *val___43 ; |
|
5889 |
Char *val___43 ; |
| 5890 |
SizeT tmp___425 ; |
|
5890 |
SizeT tmp___425 ; |
| 5891 |
Int tmp___426 ; |
|
5891 |
Int tmp___426 ; |
| 5892 |
int tmp___427 ; |
|
5892 |
int tmp___427 ; |
| 5893 |
Int tmp___428 ; |
|
5893 |
Int tmp___428 ; |
| 5894 |
Int tmp___429 ; |
|
5894 |
Int tmp___429 ; |
| 5895 |
int tmp___430 ; |
|
5895 |
int tmp___430 ; |
| 5896 |
Int tmp___431 ; |
|
5896 |
Int tmp___431 ; |
| 5897 |
SizeT tmp___432 ; |
|
5897 |
SizeT tmp___432 ; |
| 5898 |
Int tmp___433 ; |
|
5898 |
Int tmp___433 ; |
| 5899 |
int tmp___434 ; |
|
5899 |
int tmp___434 ; |
| 5900 |
SizeT tmp___435 ; |
|
5900 |
SizeT tmp___435 ; |
| 5901 |
Int tmp___436 ; |
|
5901 |
Int tmp___436 ; |
| 5902 |
Char *val___44 ; |
|
5902 |
Char *val___44 ; |
| 5903 |
SizeT tmp___437 ; |
|
5903 |
SizeT tmp___437 ; |
| 5904 |
Int tmp___438 ; |
|
5904 |
Int tmp___438 ; |
| 5905 |
int tmp___439 ; |
|
5905 |
int tmp___439 ; |
| 5906 |
Int tmp___440 ; |
|
5906 |
Int tmp___440 ; |
| 5907 |
Int tmp___441 ; |
|
5907 |
Int tmp___441 ; |
| 5908 |
int tmp___442 ; |
|
5908 |
int tmp___442 ; |
| 5909 |
Int tmp___443 ; |
|
5909 |
Int tmp___443 ; |
| 5910 |
SizeT tmp___444 ; |
|
5910 |
SizeT tmp___444 ; |
| 5911 |
Int tmp___445 ; |
|
5911 |
Int tmp___445 ; |
| 5912 |
int tmp___446 ; |
|
5912 |
int tmp___446 ; |
| 5913 |
SizeT tmp___447 ; |
|
5913 |
SizeT tmp___447 ; |
| 5914 |
Int tmp___448 ; |
|
5914 |
Int tmp___448 ; |
| 5915 |
Char *val___45 ; |
|
5915 |
Char *val___45 ; |
| 5916 |
SizeT tmp___449 ; |
|
5916 |
SizeT tmp___449 ; |
| 5917 |
Int tmp___450 ; |
|
5917 |
Int tmp___450 ; |
| 5918 |
int tmp___451 ; |
|
5918 |
int tmp___451 ; |
| 5919 |
Int tmp___452 ; |
|
5919 |
Int tmp___452 ; |
| 5920 |
Int tmp___453 ; |
|
5920 |
Int tmp___453 ; |
| 5921 |
int tmp___454 ; |
|
5921 |
int tmp___454 ; |
| 5922 |
Int tmp___455 ; |
|
5922 |
Int tmp___455 ; |
| 5923 |
SizeT tmp___456 ; |
|
5923 |
SizeT tmp___456 ; |
| 5924 |
Int tmp___457 ; |
|
5924 |
Int tmp___457 ; |
| 5925 |
int tmp___458 ; |
|
5925 |
int tmp___458 ; |
| 5926 |
SizeT tmp___459 ; |
|
5926 |
SizeT tmp___459 ; |
| 5927 |
Int tmp___460 ; |
|
5927 |
Int tmp___460 ; |
| 5928 |
Char *val___46 ; |
|
5928 |
Char *val___46 ; |
| 5929 |
SizeT tmp___461 ; |
|
5929 |
SizeT tmp___461 ; |
| 5930 |
Char *s___11 ; |
|
5930 |
Char *s___11 ; |
| 5931 |
Long n___11 ; |
|
5931 |
Long n___11 ; |
| 5932 |
Long tmp___462 ; |
|
5932 |
Long tmp___462 ; |
| 5933 |
SizeT tmp___463 ; |
|
5933 |
SizeT tmp___463 ; |
| 5934 |
Int tmp___464 ; |
|
5934 |
Int tmp___464 ; |
| 5935 |
int tmp___465 ; |
|
5935 |
int tmp___465 ; |
| 5936 |
SizeT tmp___466 ; |
|
5936 |
SizeT tmp___466 ; |
| 5937 |
Int tmp___467 ; |
|
5937 |
Int tmp___467 ; |
| 5938 |
Char *val___47 ; |
|
5938 |
Char *val___47 ; |
| 5939 |
SizeT tmp___468 ; |
|
5939 |
SizeT tmp___468 ; |
| 5940 |
Int tmp___469 ; |
|
5940 |
Int tmp___469 ; |
| 5941 |
int tmp___470 ; |
|
5941 |
int tmp___470 ; |
| 5942 |
Int tmp___471 ; |
|
5942 |
Int tmp___471 ; |
| 5943 |
Int tmp___472 ; |
|
5943 |
Int tmp___472 ; |
| 5944 |
int tmp___473 ; |
|
5944 |
int tmp___473 ; |
| 5945 |
Int tmp___474 ; |
|
5945 |
Int tmp___474 ; |
| 5946 |
SizeT tmp___475 ; |
|
5946 |
SizeT tmp___475 ; |
| 5947 |
Int tmp___476 ; |
|
5947 |
Int tmp___476 ; |
| 5948 |
int tmp___477 ; |
|
5948 |
int tmp___477 ; |
| 5949 |
SizeT tmp___478 ; |
|
5949 |
SizeT tmp___478 ; |
| 5950 |
Int tmp___479 ; |
|
5950 |
Int tmp___479 ; |
| 5951 |
Char *val___48 ; |
|
5951 |
Char *val___48 ; |
| 5952 |
SizeT tmp___480 ; |
|
5952 |
SizeT tmp___480 ; |
| 5953 |
Int tmp___481 ; |
|
5953 |
Int tmp___481 ; |
| 5954 |
int tmp___482 ; |
|
5954 |
int tmp___482 ; |
| 5955 |
Int tmp___483 ; |
|
5955 |
Int tmp___483 ; |
| 5956 |
Int tmp___484 ; |
|
5956 |
Int tmp___484 ; |
| 5957 |
int tmp___485 ; |
|
5957 |
int tmp___485 ; |
| 5958 |
Int tmp___486 ; |
|
5958 |
Int tmp___486 ; |
| 5959 |
SizeT tmp___487 ; |
|
5959 |
SizeT tmp___487 ; |
| 5960 |
Int tmp___488 ; |
|
5960 |
Int tmp___488 ; |
| 5961 |
int tmp___489 ; |
|
5961 |
int tmp___489 ; |
| 5962 |
SizeT tmp___490 ; |
|
5962 |
SizeT tmp___490 ; |
| 5963 |
Int tmp___491 ; |
|
5963 |
Int tmp___491 ; |
| 5964 |
Char *val___49 ; |
|
5964 |
Char *val___49 ; |
| 5965 |
SizeT tmp___492 ; |
|
5965 |
SizeT tmp___492 ; |
| 5966 |
Int tmp___493 ; |
|
5966 |
Int tmp___493 ; |
| 5967 |
int tmp___494 ; |
|
5967 |
int tmp___494 ; |
| 5968 |
Int tmp___495 ; |
|
5968 |
Int tmp___495 ; |
| 5969 |
Int tmp___496 ; |
|
5969 |
Int tmp___496 ; |
| 5970 |
int tmp___497 ; |
|
5970 |
int tmp___497 ; |
| 5971 |
Int tmp___498 ; |
|
5971 |
Int tmp___498 ; |
| 5972 |
SizeT tmp___499 ; |
|
5972 |
SizeT tmp___499 ; |
| 5973 |
Int tmp___500 ; |
|
5973 |
Int tmp___500 ; |
| 5974 |
int tmp___501 ; |
|
5974 |
int tmp___501 ; |
| 5975 |
SizeT tmp___502 ; |
|
5975 |
SizeT tmp___502 ; |
| 5976 |
Int tmp___503 ; |
|
5976 |
Int tmp___503 ; |
| 5977 |
Char *val___50 ; |
|
5977 |
Char *val___50 ; |
| 5978 |
SizeT tmp___504 ; |
|
5978 |
SizeT tmp___504 ; |
| 5979 |
Int tmp___505 ; |
|
5979 |
Int tmp___505 ; |
| 5980 |
int tmp___506 ; |
|
5980 |
int tmp___506 ; |
| 5981 |
Int tmp___507 ; |
|
5981 |
Int tmp___507 ; |
| 5982 |
Int tmp___508 ; |
|
5982 |
Int tmp___508 ; |
| 5983 |
int tmp___509 ; |
|
5983 |
int tmp___509 ; |
| 5984 |
Int tmp___510 ; |
|
5984 |
Int tmp___510 ; |
| 5985 |
SizeT tmp___511 ; |
|
5985 |
SizeT tmp___511 ; |
| 5986 |
Int tmp___512 ; |
|
5986 |
Int tmp___512 ; |
| 5987 |
int tmp___513 ; |
|
5987 |
int tmp___513 ; |
| 5988 |
SizeT tmp___514 ; |
|
5988 |
SizeT tmp___514 ; |
| 5989 |
Int tmp___515 ; |
|
5989 |
Int tmp___515 ; |
| 5990 |
Char *val___51 ; |
|
5990 |
Char *val___51 ; |
| 5991 |
SizeT tmp___516 ; |
|
5991 |
SizeT tmp___516 ; |
| 5992 |
SizeT tmp___517 ; |
|
5992 |
SizeT tmp___517 ; |
| 5993 |
Int tmp___518 ; |
|
5993 |
Int tmp___518 ; |
| 5994 |
int tmp___519 ; |
|
5994 |
int tmp___519 ; |
| 5995 |
SizeT tmp___520 ; |
|
5995 |
SizeT tmp___520 ; |
| 5996 |
Int tmp___521 ; |
|
5996 |
Int tmp___521 ; |
| 5997 |
Char *val___52 ; |
|
5997 |
Char *val___52 ; |
| 5998 |
SizeT tmp___522 ; |
|
5998 |
SizeT tmp___522 ; |
| 5999 |
Char *s___12 ; |
|
5999 |
Char *s___12 ; |
| 6000 |
Long n___12 ; |
|
6000 |
Long n___12 ; |
| 6001 |
Long tmp___523 ; |
|
6001 |
Long tmp___523 ; |
| 6002 |
SizeT tmp___524 ; |
|
6002 |
SizeT tmp___524 ; |
| 6003 |
Int tmp___525 ; |
|
6003 |
Int tmp___525 ; |
| 6004 |
int tmp___526 ; |
|
6004 |
int tmp___526 ; |
| 6005 |
SizeT tmp___527 ; |
|
6005 |
SizeT tmp___527 ; |
| 6006 |
Int tmp___528 ; |
|
6006 |
Int tmp___528 ; |
| 6007 |
Char *val___53 ; |
|
6007 |
Char *val___53 ; |
| 6008 |
SizeT tmp___529 ; |
|
6008 |
SizeT tmp___529 ; |
| 6009 |
Char *s___13 ; |
|
6009 |
Char *s___13 ; |
| 6010 |
Long n___13 ; |
|
6010 |
Long n___13 ; |
| 6011 |
Long tmp___530 ; |
|
6011 |
Long tmp___530 ; |
| 6012 |
Int tmp___531 ; |
|
6012 |
Int tmp___531 ; |
| 6013 |
int tmp___532 ; |
|
6013 |
int tmp___532 ; |
| 6014 |
Int tmp___533 ; |
|
6014 |
Int tmp___533 ; |
| 6015 |
Int tmp___534 ; |
|
6015 |
Int tmp___534 ; |
| 6016 |
int tmp___535 ; |
|
6016 |
int tmp___535 ; |
| 6017 |
Int tmp___536 ; |
|
6017 |
Int tmp___536 ; |
| 6018 |
Int tmp___537 ; |
|
6018 |
Int tmp___537 ; |
| 6019 |
int tmp___538 ; |
|
6019 |
int tmp___538 ; |
| 6020 |
Int tmp___539 ; |
|
6020 |
Int tmp___539 ; |
| 6021 |
SizeT tmp___540 ; |
|
6021 |
SizeT tmp___540 ; |
| 6022 |
Int tmp___541 ; |
|
6022 |
Int tmp___541 ; |
| 6023 |
int tmp___542 ; |
|
6023 |
int tmp___542 ; |
| 6024 |
SizeT tmp___543 ; |
|
6024 |
SizeT tmp___543 ; |
| 6025 |
Int tmp___544 ; |
|
6025 |
Int tmp___544 ; |
| 6026 |
Char *val___54 ; |
|
6026 |
Char *val___54 ; |
| 6027 |
SizeT tmp___545 ; |
|
6027 |
SizeT tmp___545 ; |
| 6028 |
Int tmp___546 ; |
|
6028 |
Int tmp___546 ; |
| 6029 |
int tmp___547 ; |
|
6029 |
int tmp___547 ; |
| 6030 |
Int tmp___548 ; |
|
6030 |
Int tmp___548 ; |
| 6031 |
Int tmp___549 ; |
|
6031 |
Int tmp___549 ; |
| 6032 |
int tmp___550 ; |
|
6032 |
int tmp___550 ; |
| 6033 |
Int tmp___551 ; |
|
6033 |
Int tmp___551 ; |
| 6034 |
SizeT tmp___552 ; |
|
6034 |
SizeT tmp___552 ; |
| 6035 |
Int tmp___553 ; |
|
6035 |
Int tmp___553 ; |
| 6036 |
int tmp___554 ; |
|
6036 |
int tmp___554 ; |
| 6037 |
SizeT tmp___555 ; |
|
6037 |
SizeT tmp___555 ; |
| 6038 |
Int tmp___556 ; |
|
6038 |
Int tmp___556 ; |
| 6039 |
Char *val___55 ; |
|
6039 |
Char *val___55 ; |
| 6040 |
SizeT tmp___557 ; |
|
6040 |
SizeT tmp___557 ; |
| 6041 |
Int tmp___558 ; |
|
6041 |
Int tmp___558 ; |
| 6042 |
int tmp___559 ; |
|
6042 |
int tmp___559 ; |
| 6043 |
Int tmp___560 ; |
|
6043 |
Int tmp___560 ; |
| 6044 |
Int tmp___561 ; |
|
6044 |
Int tmp___561 ; |
| 6045 |
int tmp___562 ; |
|
6045 |
int tmp___562 ; |
| 6046 |
Int tmp___563 ; |
|
6046 |
Int tmp___563 ; |
| 6047 |
Int tmp___564 ; |
|
6047 |
Int tmp___564 ; |
| 6048 |
int tmp___565 ; |
|
6048 |
int tmp___565 ; |
| 6049 |
Int tmp___566 ; |
|
6049 |
Int tmp___566 ; |
| 6050 |
Int tmp___567 ; |
|
6050 |
Int tmp___567 ; |
| 6051 |
int tmp___568 ; |
|
6051 |
int tmp___568 ; |
| 6052 |
Int tmp___569 ; |
|
6052 |
Int tmp___569 ; |
| 6053 |
Int tmp___570 ; |
|
6053 |
Int tmp___570 ; |
| 6054 |
int tmp___571 ; |
|
6054 |
int tmp___571 ; |
| 6055 |
Int tmp___572 ; |
|
6055 |
Int tmp___572 ; |
| 6056 |
Int tmp___573 ; |
|
6056 |
Int tmp___573 ; |
| 6057 |
int tmp___574 ; |
|
6057 |
int tmp___574 ; |
| 6058 |
Int tmp___575 ; |
|
6058 |
Int tmp___575 ; |
| 6059 |
Int tmp___576 ; |
|
6059 |
Int tmp___576 ; |
| 6060 |
int tmp___577 ; |
|
6060 |
int tmp___577 ; |
| 6061 |
Int tmp___578 ; |
|
6061 |
Int tmp___578 ; |
| 6062 |
Int tmp___579 ; |
|
6062 |
Int tmp___579 ; |
| 6063 |
int tmp___580 ; |
|
6063 |
int tmp___580 ; |
| 6064 |
Int tmp___581 ; |
|
6064 |
Int tmp___581 ; |
| 6065 |
Int tmp___582 ; |
|
6065 |
Int tmp___582 ; |
| 6066 |
int tmp___583 ; |
|
6066 |
int tmp___583 ; |
| 6067 |
Int tmp___584 ; |
|
6067 |
Int tmp___584 ; |
| 6068 |
Int tmp___585 ; |
|
6068 |
Int tmp___585 ; |
| 6069 |
int tmp___586 ; |
|
6069 |
int tmp___586 ; |
| 6070 |
Int tmp___587 ; |
|
6070 |
Int tmp___587 ; |
| 6071 |
Int tmp___588 ; |
|
6071 |
Int tmp___588 ; |
| 6072 |
int tmp___589 ; |
|
6072 |
int tmp___589 ; |
| 6073 |
Int tmp___590 ; |
|
6073 |
Int tmp___590 ; |
| 6074 |
Int tmp___591 ; |
|
6074 |
Int tmp___591 ; |
| 6075 |
int tmp___592 ; |
|
6075 |
int tmp___592 ; |
| 6076 |
Int tmp___593 ; |
|
6076 |
Int tmp___593 ; |
| 6077 |
Int tmp___594 ; |
|
6077 |
Int tmp___594 ; |
| 6078 |
int tmp___595 ; |
|
6078 |
int tmp___595 ; |
| 6079 |
Int tmp___596 ; |
|
6079 |
Int tmp___596 ; |
| 6080 |
Word tmp___597 ; |
|
6080 |
Word tmp___597 ; |
| 6081 |
long tmp___598 ; |
|
6081 |
long tmp___598 ; |
| 6082 |
long tmp___599 ; |
|
6082 |
long tmp___599 ; |
| 6083 |
long tmp___600 ; |
|
6083 |
long tmp___600 ; |
| 6084 |
long tmp___601 ; |
|
6084 |
long tmp___601 ; |
| 6085 |
long tmp___602 ; |
|
6085 |
long tmp___602 ; |
| 6086 |
long tmp___603 ; |
|
6086 |
long tmp___603 ; |
| 6087 |
long tmp___604 ; |
|
6087 |
long tmp___604 ; |
| 6088 |
long tmp___605 ; |
|
6088 |
long tmp___605 ; |
| 6089 |
long tmp___606 ; |
|
6089 |
long tmp___606 ; |
| 6090 |
Char *logfilename ; |
|
6090 |
Char *logfilename ; |
| 6091 |
long tmp___607 ; |
|
6091 |
long tmp___607 ; |
| 6092 |
SizeT tmp___608 ; |
|
6092 |
SizeT tmp___608 ; |
| 6093 |
int tmp___609 ; |
|
6093 |
int tmp___609 ; |
| 6094 |
long tmp___610 ; |
|
6094 |
long tmp___610 ; |
| 6095 |
UWord tmp___611 ; |
|
6095 |
UWord tmp___611 ; |
| 6096 |
UWord tmp___612 ; |
|
6096 |
UWord tmp___612 ; |
| 6097 |
HChar const *tmp___613 ; |
|
6097 |
HChar const *tmp___613 ; |
| 6098 |
Bool tmp___614 ; |
|
6098 |
Bool tmp___614 ; |
| 6099 |
long tmp___615 ; |
|
6099 |
long tmp___615 ; |
| 6100 |
SizeT tmp___616 ; |
|
6100 |
SizeT tmp___616 ; |
| 6101 |
int tmp___617 ; |
|
6101 |
int tmp___617 ; |
| 6102 |
long tmp___618 ; |
|
6102 |
long tmp___618 ; |
| 6103 |
long tmp___619 ; |
|
6103 |
long tmp___619 ; |
| 6104 |
long tmp___620 ; |
|
6104 |
long tmp___620 ; |
| 6105 |
long tmp___621 ; |
|
6105 |
long tmp___621 ; |
| 6106 |
Char *xmlfilename ; |
|
6106 |
Char *xmlfilename ; |
| 6107 |
long tmp___622 ; |
|
6107 |
long tmp___622 ; |
| 6108 |
SizeT tmp___623 ; |
|
6108 |
SizeT tmp___623 ; |
| 6109 |
int tmp___624 ; |
|
6109 |
int tmp___624 ; |
| 6110 |
long tmp___625 ; |
|
6110 |
long tmp___625 ; |
| 6111 |
UWord tmp___626 ; |
|
6111 |
UWord tmp___626 ; |
| 6112 |
UWord tmp___627 ; |
|
6112 |
UWord tmp___627 ; |
| 6113 |
HChar const *tmp___628 ; |
|
6113 |
HChar const *tmp___628 ; |
| 6114 |
Bool tmp___629 ; |
|
6114 |
Bool tmp___629 ; |
| 6115 |
long tmp___630 ; |
|
6115 |
long tmp___630 ; |
| 6116 |
SizeT tmp___631 ; |
|
6116 |
SizeT tmp___631 ; |
| 6117 |
int tmp___632 ; |
|
6117 |
int tmp___632 ; |
| 6118 |
long tmp___633 ; |
|
6118 |
long tmp___633 ; |
| 6119 |
long tmp___634 ; |
|
6119 |
long tmp___634 ; |
| 6120 |
long tmp___635 ; |
|
6120 |
long tmp___635 ; |
| 6121 |
Int len ; |
|
6121 |
Int len ; |
| 6122 |
SizeT tmp___636 ; |
|
6122 |
SizeT tmp___636 ; |
| 6123 |
Char *buf ; |
|
6123 |
Char *buf ; |
| 6124 |
void *tmp___637 ; |
|
6124 |
void *tmp___637 ; |
| 6125 |
int tmp___638 ; |
|
6125 |
int tmp___638 ; |
| 6126 |
|
|
6126 |
|
| 6127 |
{ |
|
6127 |
{ |
| 6128 |
tmp = vgPlain_strlen((Char const *)toolname); |
|
6128 |
tmp = vgPlain_strlen((Char const *)toolname); |
| 6129 |
toolname_len = (Int )tmp; |
|
6129 |
toolname_len = (Int )tmp; |
| 6130 |
log_to = (enum __anonenum_log_to_135 )0; |
|
6130 |
log_to = (enum __anonenum_log_to_135 )0; |
| 6131 |
xml_to = (enum __anonenum_log_to_135 )0; |
|
6131 |
xml_to = (enum __anonenum_log_to_135 )0; |
| 6132 |
log_fsname_unexpanded = (Char *)((void *)0); |
|
6132 |
log_fsname_unexpanded = (Char *)((void *)0); |
| 6133 |
xml_fsname_unexpanded = (Char *)((void *)0); |
|
6133 |
xml_fsname_unexpanded = (Char *)((void *)0); |
| 6134 |
tmp_log_fd = 2; |
|
6134 |
tmp_log_fd = 2; |
| 6135 |
tmp_xml_fd = -1; |
|
6135 |
tmp_xml_fd = -1; |
| 6136 |
if ((int const )*("/root/mountpoint-genprog/genprog-many-bugs/valgrind-bug-11821-11822/valgrind/../local-root/lib/valgrind" + 0) != 47) { |
|
6136 |
if ((int const )*("/root/mountpoint-genprog/genprog-many-bugs/valgrind-bug-11821-11822/valgrind/../local-root/lib/valgrind" + 0) != 47) { |
| 6137 |
vgPlain_err_config_error((Char *)"Please use absolute paths in ./configure --prefix=... or --libdir=..."); |
|
6137 |
vgPlain_err_config_error((Char *)"Please use absolute paths in ./configure --prefix=... or --libdir=..."); |
| 6138 |
} else { |
|
6138 |
} else { |
| 6139 |
|
|
6139 |
|
| 6140 |
} |
|
6140 |
} |
| 6141 |
tmp___0 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
|
6141 |
tmp___0 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
| 6142 |
if (tmp___0) { |
|
6142 |
if (tmp___0) { |
| 6143 |
|
|
6143 |
|
| 6144 |
} else { |
|
6144 |
} else { |
| 6145 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
|
6145 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
| 6146 |
(Char const *)"m_main.c", 403, |
|
6146 |
(Char const *)"m_main.c", 403, |
| 6147 |
(Char const *)"main_process_cmd_line_options", ""); |
|
6147 |
(Char const *)"main_process_cmd_line_options", ""); |
| 6148 |
} |
|
6148 |
} |
| 6149 |
i = 0; |
|
6149 |
i = 0; |
| 6150 |
while (1) { |
|
6150 |
while (1) { |
| 6151 |
tmp___597 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
|
6151 |
tmp___597 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
| 6152 |
if ((Word )i < tmp___597) { |
|
6152 |
if ((Word )i < tmp___597) { |
| 6153 |
|
|
6153 |
|
| 6154 |
} else { |
|
6154 |
} else { |
| 6155 |
break; |
|
6155 |
break; |
| 6156 |
} |
|
6156 |
} |
| 6157 |
tmp___1 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
|
6157 |
tmp___1 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
| 6158 |
arg = *((HChar **)tmp___1); |
|
6158 |
arg = *((HChar **)tmp___1); |
| 6159 |
colon = arg; |
|
6159 |
colon = arg; |
| 6160 |
while (1) { |
|
6160 |
while (1) { |
| 6161 |
if (*colon) { |
|
6161 |
if (*colon) { |
| 6162 |
if ((int )*colon != 58) { |
|
6162 |
if ((int )*colon != 58) { |
| 6163 |
if ((int )*colon != 61) { |
|
6163 |
if ((int )*colon != 61) { |
| 6164 |
|
|
6164 |
|
| 6165 |
} else { |
|
6165 |
} else { |
| 6166 |
break; |
|
6166 |
break; |
| 6167 |
} |
|
6167 |
} |
| 6168 |
} else { |
|
6168 |
} else { |
| 6169 |
break; |
|
6169 |
break; |
| 6170 |
} |
|
6170 |
} |
| 6171 |
} else { |
|
6171 |
} else { |
| 6172 |
break; |
|
6172 |
break; |
| 6173 |
} |
|
6173 |
} |
| 6174 |
colon ++; |
|
6174 |
colon ++; |
| 6175 |
} |
|
6175 |
} |
| 6176 |
if ((int )*colon == 58) { |
|
6176 |
if ((int )*colon == 58) { |
| 6177 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6177 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6178 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
|
6178 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
| 6179 |
tmp___5 = vgPlain_strncmp((Char const *)arg, (Char const *)"--", |
|
6179 |
tmp___5 = vgPlain_strncmp((Char const *)arg, (Char const *)"--", |
| 6180 |
(SizeT )2); |
|
6180 |
(SizeT )2); |
| 6181 |
if (tmp___5 == 0) { |
|
6181 |
if (tmp___5 == 0) { |
| 6182 |
tmp___4 = (int )((Bool )1); |
|
6182 |
tmp___4 = (int )((Bool )1); |
| 6183 |
} else { |
|
6183 |
} else { |
| 6184 |
tmp___4 = (int )((Bool )0); |
|
6184 |
tmp___4 = (int )((Bool )0); |
| 6185 |
} |
|
6185 |
} |
| 6186 |
} else { |
|
6186 |
} else { |
| 6187 |
tmp___4 = (int )((Bool )0); |
|
6187 |
tmp___4 = (int )((Bool )0); |
| 6188 |
} |
|
6188 |
} |
| 6189 |
} else { |
|
6189 |
} else { |
| 6190 |
tmp___4 = (int )((Bool )0); |
|
6190 |
tmp___4 = (int )((Bool )0); |
| 6191 |
} |
|
6191 |
} |
| 6192 |
if (tmp___4) { |
|
6192 |
if (tmp___4) { |
| 6193 |
if ((unsigned int )(arg + 2) != (unsigned int )((void *)0)) { |
|
6193 |
if ((unsigned int )(arg + 2) != (unsigned int )((void *)0)) { |
| 6194 |
if ((unsigned int )toolname != (unsigned int )((void *)0)) { |
|
6194 |
if ((unsigned int )toolname != (unsigned int )((void *)0)) { |
| 6195 |
tmp___8 = vgPlain_strncmp((Char const *)(arg + 2), |
|
6195 |
tmp___8 = vgPlain_strncmp((Char const *)(arg + 2), |
| 6196 |
(Char const *)toolname, |
|
6196 |
(Char const *)toolname, |
| 6197 |
(SizeT )toolname_len); |
|
6197 |
(SizeT )toolname_len); |
| 6198 |
if (tmp___8 == 0) { |
|
6198 |
if (tmp___8 == 0) { |
| 6199 |
tmp___7 = (int )((Bool )1); |
|
6199 |
tmp___7 = (int )((Bool )1); |
| 6200 |
} else { |
|
6200 |
} else { |
| 6201 |
tmp___7 = (int )((Bool )0); |
|
6201 |
tmp___7 = (int )((Bool )0); |
| 6202 |
} |
|
6202 |
} |
| 6203 |
} else { |
|
6203 |
} else { |
| 6204 |
tmp___7 = (int )((Bool )0); |
|
6204 |
tmp___7 = (int )((Bool )0); |
| 6205 |
} |
|
6205 |
} |
| 6206 |
} else { |
|
6206 |
} else { |
| 6207 |
tmp___7 = (int )((Bool )0); |
|
6207 |
tmp___7 = (int )((Bool )0); |
| 6208 |
} |
|
6208 |
} |
| 6209 |
if (tmp___7) { |
|
6209 |
if (tmp___7) { |
| 6210 |
if ((unsigned int )((arg + 2) + toolname_len) != (unsigned int )((void *)0)) { |
|
6210 |
if ((unsigned int )((arg + 2) + toolname_len) != (unsigned int )((void *)0)) { |
| 6211 |
if ((unsigned int )":" != (unsigned int )((void *)0)) { |
|
6211 |
if ((unsigned int )":" != (unsigned int )((void *)0)) { |
| 6212 |
tmp___11 = vgPlain_strncmp((Char const *)((arg + 2) + toolname_len), |
|
6212 |
tmp___11 = vgPlain_strncmp((Char const *)((arg + 2) + toolname_len), |
| 6213 |
(Char const *)":", (SizeT )1); |
|
6213 |
(Char const *)":", (SizeT )1); |
| 6214 |
if (tmp___11 == 0) { |
|
6214 |
if (tmp___11 == 0) { |
| 6215 |
tmp___10 = (int )((Bool )1); |
|
6215 |
tmp___10 = (int )((Bool )1); |
| 6216 |
} else { |
|
6216 |
} else { |
| 6217 |
tmp___10 = (int )((Bool )0); |
|
6217 |
tmp___10 = (int )((Bool )0); |
| 6218 |
} |
|
6218 |
} |
| 6219 |
} else { |
|
6219 |
} else { |
| 6220 |
tmp___10 = (int )((Bool )0); |
|
6220 |
tmp___10 = (int )((Bool )0); |
| 6221 |
} |
|
6221 |
} |
| 6222 |
} else { |
|
6222 |
} else { |
| 6223 |
tmp___10 = (int )((Bool )0); |
|
6223 |
tmp___10 = (int )((Bool )0); |
| 6224 |
} |
|
6224 |
} |
| 6225 |
if (tmp___10) { |
|
6225 |
if (tmp___10) { |
| 6226 |
tmp___2 = vgPlain_strdup((HChar *)"main.mpclo.1", |
|
6226 |
tmp___2 = vgPlain_strdup((HChar *)"main.mpclo.1", |
| 6227 |
(Char const *)((arg + toolname_len) + 1)); |
|
6227 |
(Char const *)((arg + toolname_len) + 1)); |
| 6228 |
arg = (HChar *)tmp___2; |
|
6228 |
arg = (HChar *)tmp___2; |
| 6229 |
*(arg + 0) = (HChar )'-'; |
|
6229 |
*(arg + 0) = (HChar )'-'; |
| 6230 |
*(arg + 1) = (HChar )'-'; |
|
6230 |
*(arg + 1) = (HChar )'-'; |
| 6231 |
} else { |
|
6231 |
} else { |
| 6232 |
goto __Cont; |
|
6232 |
goto __Cont; |
| 6233 |
} |
|
6233 |
} |
| 6234 |
} else { |
|
6234 |
} else { |
| 6235 |
goto __Cont; |
|
6235 |
goto __Cont; |
| 6236 |
} |
|
6236 |
} |
| 6237 |
} else { |
|
6237 |
} else { |
| 6238 |
goto __Cont; |
|
6238 |
goto __Cont; |
| 6239 |
} |
|
6239 |
} |
| 6240 |
} else { |
|
6240 |
} else { |
| 6241 |
|
|
6241 |
|
| 6242 |
} |
|
6242 |
} |
| 6243 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6243 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6244 |
if ((unsigned int )"--tool=" != (unsigned int )((void *)0)) { |
|
6244 |
if ((unsigned int )"--tool=" != (unsigned int )((void *)0)) { |
| 6245 |
tmp___596 = vgPlain_strncmp((Char const *)arg, |
|
6245 |
tmp___596 = vgPlain_strncmp((Char const *)arg, |
| 6246 |
(Char const *)"--tool=", (SizeT )7); |
|
6246 |
(Char const *)"--tool=", (SizeT )7); |
| 6247 |
if (tmp___596 == 0) { |
|
6247 |
if (tmp___596 == 0) { |
| 6248 |
tmp___595 = (int )((Bool )1); |
|
6248 |
tmp___595 = (int )((Bool )1); |
| 6249 |
} else { |
|
6249 |
} else { |
| 6250 |
tmp___595 = (int )((Bool )0); |
|
6250 |
tmp___595 = (int )((Bool )0); |
| 6251 |
} |
|
6251 |
} |
| 6252 |
} else { |
|
6252 |
} else { |
| 6253 |
tmp___595 = (int )((Bool )0); |
|
6253 |
tmp___595 = (int )((Bool )0); |
| 6254 |
} |
|
6254 |
} |
| 6255 |
} else { |
|
6255 |
} else { |
| 6256 |
tmp___595 = (int )((Bool )0); |
|
6256 |
tmp___595 = (int )((Bool )0); |
| 6257 |
} |
|
6257 |
} |
| 6258 |
if (tmp___595) { |
|
6258 |
if (tmp___595) { |
| 6259 |
|
|
6259 |
|
| 6260 |
} else { |
|
6260 |
} else { |
| 6261 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6261 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6262 |
if ((unsigned int )"--command-line-only=" != (unsigned int )((void *)0)) { |
|
6262 |
if ((unsigned int )"--command-line-only=" != (unsigned int )((void *)0)) { |
| 6263 |
tmp___593 = vgPlain_strncmp((Char const *)arg, |
|
6263 |
tmp___593 = vgPlain_strncmp((Char const *)arg, |
| 6264 |
(Char const *)"--command-line-only=", |
|
6264 |
(Char const *)"--command-line-only=", |
| 6265 |
(SizeT )20); |
|
6265 |
(SizeT )20); |
| 6266 |
if (tmp___593 == 0) { |
|
6266 |
if (tmp___593 == 0) { |
| 6267 |
tmp___592 = (int )((Bool )1); |
|
6267 |
tmp___592 = (int )((Bool )1); |
| 6268 |
} else { |
|
6268 |
} else { |
| 6269 |
tmp___592 = (int )((Bool )0); |
|
6269 |
tmp___592 = (int )((Bool )0); |
| 6270 |
} |
|
6270 |
} |
| 6271 |
} else { |
|
6271 |
} else { |
| 6272 |
tmp___592 = (int )((Bool )0); |
|
6272 |
tmp___592 = (int )((Bool )0); |
| 6273 |
} |
|
6273 |
} |
| 6274 |
} else { |
|
6274 |
} else { |
| 6275 |
tmp___592 = (int )((Bool )0); |
|
6275 |
tmp___592 = (int )((Bool )0); |
| 6276 |
} |
|
6276 |
} |
| 6277 |
if (tmp___592) { |
|
6277 |
if (tmp___592) { |
| 6278 |
|
|
6278 |
|
| 6279 |
} else { |
|
6279 |
} else { |
| 6280 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6280 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6281 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
|
6281 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
| 6282 |
tmp___590 = vgPlain_strcmp((Char const *)arg, (Char const *)"--"); |
|
6282 |
tmp___590 = vgPlain_strcmp((Char const *)arg, (Char const *)"--"); |
| 6283 |
if (tmp___590 == 0) { |
|
6283 |
if (tmp___590 == 0) { |
| 6284 |
tmp___589 = (int )((Bool )1); |
|
6284 |
tmp___589 = (int )((Bool )1); |
| 6285 |
} else { |
|
6285 |
} else { |
| 6286 |
tmp___589 = (int )((Bool )0); |
|
6286 |
tmp___589 = (int )((Bool )0); |
| 6287 |
} |
|
6287 |
} |
| 6288 |
} else { |
|
6288 |
} else { |
| 6289 |
tmp___589 = (int )((Bool )0); |
|
6289 |
tmp___589 = (int )((Bool )0); |
| 6290 |
} |
|
6290 |
} |
| 6291 |
} else { |
|
6291 |
} else { |
| 6292 |
tmp___589 = (int )((Bool )0); |
|
6292 |
tmp___589 = (int )((Bool )0); |
| 6293 |
} |
|
6293 |
} |
| 6294 |
if (tmp___589) { |
|
6294 |
if (tmp___589) { |
| 6295 |
|
|
6295 |
|
| 6296 |
} else { |
|
6296 |
} else { |
| 6297 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6297 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6298 |
if ((unsigned int )"-d" != (unsigned int )((void *)0)) { |
|
6298 |
if ((unsigned int )"-d" != (unsigned int )((void *)0)) { |
| 6299 |
tmp___587 = vgPlain_strcmp((Char const *)arg, |
|
6299 |
tmp___587 = vgPlain_strcmp((Char const *)arg, |
| 6300 |
(Char const *)"-d"); |
|
6300 |
(Char const *)"-d"); |
| 6301 |
if (tmp___587 == 0) { |
|
6301 |
if (tmp___587 == 0) { |
| 6302 |
tmp___586 = (int )((Bool )1); |
|
6302 |
tmp___586 = (int )((Bool )1); |
| 6303 |
} else { |
|
6303 |
} else { |
| 6304 |
tmp___586 = (int )((Bool )0); |
|
6304 |
tmp___586 = (int )((Bool )0); |
| 6305 |
} |
|
6305 |
} |
| 6306 |
} else { |
|
6306 |
} else { |
| 6307 |
tmp___586 = (int )((Bool )0); |
|
6307 |
tmp___586 = (int )((Bool )0); |
| 6308 |
} |
|
6308 |
} |
| 6309 |
} else { |
|
6309 |
} else { |
| 6310 |
tmp___586 = (int )((Bool )0); |
|
6310 |
tmp___586 = (int )((Bool )0); |
| 6311 |
} |
|
6311 |
} |
| 6312 |
if (tmp___586) { |
|
6312 |
if (tmp___586) { |
| 6313 |
|
|
6313 |
|
| 6314 |
} else { |
|
6314 |
} else { |
| 6315 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6315 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6316 |
if ((unsigned int )"--max-stackframe" != (unsigned int )((void *)0)) { |
|
6316 |
if ((unsigned int )"--max-stackframe" != (unsigned int )((void *)0)) { |
| 6317 |
tmp___584 = vgPlain_strncmp((Char const *)arg, |
|
6317 |
tmp___584 = vgPlain_strncmp((Char const *)arg, |
| 6318 |
(Char const *)"--max-stackframe", |
|
6318 |
(Char const *)"--max-stackframe", |
| 6319 |
(SizeT )16); |
|
6319 |
(SizeT )16); |
| 6320 |
if (tmp___584 == 0) { |
|
6320 |
if (tmp___584 == 0) { |
| 6321 |
tmp___583 = (int )((Bool )1); |
|
6321 |
tmp___583 = (int )((Bool )1); |
| 6322 |
} else { |
|
6322 |
} else { |
| 6323 |
tmp___583 = (int )((Bool )0); |
|
6323 |
tmp___583 = (int )((Bool )0); |
| 6324 |
} |
|
6324 |
} |
| 6325 |
} else { |
|
6325 |
} else { |
| 6326 |
tmp___583 = (int )((Bool )0); |
|
6326 |
tmp___583 = (int )((Bool )0); |
| 6327 |
} |
|
6327 |
} |
| 6328 |
} else { |
|
6328 |
} else { |
| 6329 |
tmp___583 = (int )((Bool )0); |
|
6329 |
tmp___583 = (int )((Bool )0); |
| 6330 |
} |
|
6330 |
} |
| 6331 |
if (tmp___583) { |
|
6331 |
if (tmp___583) { |
| 6332 |
|
|
6332 |
|
| 6333 |
} else { |
|
6333 |
} else { |
| 6334 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6334 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6335 |
if ((unsigned int )"--main-stacksize" != (unsigned int )((void *)0)) { |
|
6335 |
if ((unsigned int )"--main-stacksize" != (unsigned int )((void *)0)) { |
| 6336 |
tmp___581 = vgPlain_strncmp((Char const *)arg, |
|
6336 |
tmp___581 = vgPlain_strncmp((Char const *)arg, |
| 6337 |
(Char const *)"--main-stacksize", |
|
6337 |
(Char const *)"--main-stacksize", |
| 6338 |
(SizeT )16); |
|
6338 |
(SizeT )16); |
| 6339 |
if (tmp___581 == 0) { |
|
6339 |
if (tmp___581 == 0) { |
| 6340 |
tmp___580 = (int )((Bool )1); |
|
6340 |
tmp___580 = (int )((Bool )1); |
| 6341 |
} else { |
|
6341 |
} else { |
| 6342 |
tmp___580 = (int )((Bool )0); |
|
6342 |
tmp___580 = (int )((Bool )0); |
| 6343 |
} |
|
6343 |
} |
| 6344 |
} else { |
|
6344 |
} else { |
| 6345 |
tmp___580 = (int )((Bool )0); |
|
6345 |
tmp___580 = (int )((Bool )0); |
| 6346 |
} |
|
6346 |
} |
| 6347 |
} else { |
|
6347 |
} else { |
| 6348 |
tmp___580 = (int )((Bool )0); |
|
6348 |
tmp___580 = (int )((Bool )0); |
| 6349 |
} |
|
6349 |
} |
| 6350 |
if (tmp___580) { |
|
6350 |
if (tmp___580) { |
| 6351 |
|
|
6351 |
|
| 6352 |
} else { |
|
6352 |
} else { |
| 6353 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6353 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6354 |
if ((unsigned int )"--profile-heap" != (unsigned int )((void *)0)) { |
|
6354 |
if ((unsigned int )"--profile-heap" != (unsigned int )((void *)0)) { |
| 6355 |
tmp___578 = vgPlain_strncmp((Char const *)arg, |
|
6355 |
tmp___578 = vgPlain_strncmp((Char const *)arg, |
| 6356 |
(Char const *)"--profile-heap", |
|
6356 |
(Char const *)"--profile-heap", |
| 6357 |
(SizeT )14); |
|
6357 |
(SizeT )14); |
| 6358 |
if (tmp___578 == 0) { |
|
6358 |
if (tmp___578 == 0) { |
| 6359 |
tmp___577 = (int )((Bool )1); |
|
6359 |
tmp___577 = (int )((Bool )1); |
| 6360 |
} else { |
|
6360 |
} else { |
| 6361 |
tmp___577 = (int )((Bool )0); |
|
6361 |
tmp___577 = (int )((Bool )0); |
| 6362 |
} |
|
6362 |
} |
| 6363 |
} else { |
|
6363 |
} else { |
| 6364 |
tmp___577 = (int )((Bool )0); |
|
6364 |
tmp___577 = (int )((Bool )0); |
| 6365 |
} |
|
6365 |
} |
| 6366 |
} else { |
|
6366 |
} else { |
| 6367 |
tmp___577 = (int )((Bool )0); |
|
6367 |
tmp___577 = (int )((Bool )0); |
| 6368 |
} |
|
6368 |
} |
| 6369 |
if (tmp___577) { |
|
6369 |
if (tmp___577) { |
| 6370 |
|
|
6370 |
|
| 6371 |
} else { |
|
6371 |
} else { |
| 6372 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6372 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6373 |
if ((unsigned int )"-v" != (unsigned int )((void *)0)) { |
|
6373 |
if ((unsigned int )"-v" != (unsigned int )((void *)0)) { |
| 6374 |
tmp___572 = vgPlain_strcmp((Char const *)arg, |
|
6374 |
tmp___572 = vgPlain_strcmp((Char const *)arg, |
| 6375 |
(Char const *)"-v"); |
|
6375 |
(Char const *)"-v"); |
| 6376 |
if (tmp___572 == 0) { |
|
6376 |
if (tmp___572 == 0) { |
| 6377 |
tmp___571 = (int )((Bool )1); |
|
6377 |
tmp___571 = (int )((Bool )1); |
| 6378 |
} else { |
|
6378 |
} else { |
| 6379 |
tmp___571 = (int )((Bool )0); |
|
6379 |
tmp___571 = (int )((Bool )0); |
| 6380 |
} |
|
6380 |
} |
| 6381 |
} else { |
|
6381 |
} else { |
| 6382 |
tmp___571 = (int )((Bool )0); |
|
6382 |
tmp___571 = (int )((Bool )0); |
| 6383 |
} |
|
6383 |
} |
| 6384 |
} else { |
|
6384 |
} else { |
| 6385 |
tmp___571 = (int )((Bool )0); |
|
6385 |
tmp___571 = (int )((Bool )0); |
| 6386 |
} |
|
6386 |
} |
| 6387 |
if (tmp___571) { |
|
6387 |
if (tmp___571) { |
| 6388 |
vgPlain_clo_verbosity ++; |
|
6388 |
vgPlain_clo_verbosity ++; |
| 6389 |
} else { |
|
6389 |
} else { |
| 6390 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6390 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6391 |
if ((unsigned int )"--verbose" != (unsigned int )((void *)0)) { |
|
6391 |
if ((unsigned int )"--verbose" != (unsigned int )((void *)0)) { |
| 6392 |
tmp___575 = vgPlain_strcmp((Char const *)arg, |
|
6392 |
tmp___575 = vgPlain_strcmp((Char const *)arg, |
| 6393 |
(Char const *)"--verbose"); |
|
6393 |
(Char const *)"--verbose"); |
| 6394 |
if (tmp___575 == 0) { |
|
6394 |
if (tmp___575 == 0) { |
| 6395 |
tmp___574 = (int )((Bool )1); |
|
6395 |
tmp___574 = (int )((Bool )1); |
| 6396 |
} else { |
|
6396 |
} else { |
| 6397 |
tmp___574 = (int )((Bool )0); |
|
6397 |
tmp___574 = (int )((Bool )0); |
| 6398 |
} |
|
6398 |
} |
| 6399 |
} else { |
|
6399 |
} else { |
| 6400 |
tmp___574 = (int )((Bool )0); |
|
6400 |
tmp___574 = (int )((Bool )0); |
| 6401 |
} |
|
6401 |
} |
| 6402 |
} else { |
|
6402 |
} else { |
| 6403 |
tmp___574 = (int )((Bool )0); |
|
6403 |
tmp___574 = (int )((Bool )0); |
| 6404 |
} |
|
6404 |
} |
| 6405 |
if (tmp___574) { |
|
6405 |
if (tmp___574) { |
| 6406 |
vgPlain_clo_verbosity ++; |
|
6406 |
vgPlain_clo_verbosity ++; |
| 6407 |
} else { |
|
6407 |
} else { |
| 6408 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6408 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6409 |
if ((unsigned int )"-q" != (unsigned int )((void *)0)) { |
|
6409 |
if ((unsigned int )"-q" != (unsigned int )((void *)0)) { |
| 6410 |
tmp___566 = vgPlain_strcmp((Char const *)arg, |
|
6410 |
tmp___566 = vgPlain_strcmp((Char const *)arg, |
| 6411 |
(Char const *)"-q"); |
|
6411 |
(Char const *)"-q"); |
| 6412 |
if (tmp___566 == 0) { |
|
6412 |
if (tmp___566 == 0) { |
| 6413 |
tmp___565 = (int )((Bool )1); |
|
6413 |
tmp___565 = (int )((Bool )1); |
| 6414 |
} else { |
|
6414 |
} else { |
| 6415 |
tmp___565 = (int )((Bool )0); |
|
6415 |
tmp___565 = (int )((Bool )0); |
| 6416 |
} |
|
6416 |
} |
| 6417 |
} else { |
|
6417 |
} else { |
| 6418 |
tmp___565 = (int )((Bool )0); |
|
6418 |
tmp___565 = (int )((Bool )0); |
| 6419 |
} |
|
6419 |
} |
| 6420 |
} else { |
|
6420 |
} else { |
| 6421 |
tmp___565 = (int )((Bool )0); |
|
6421 |
tmp___565 = (int )((Bool )0); |
| 6422 |
} |
|
6422 |
} |
| 6423 |
if (tmp___565) { |
|
6423 |
if (tmp___565) { |
| 6424 |
vgPlain_clo_verbosity --; |
|
6424 |
vgPlain_clo_verbosity --; |
| 6425 |
} else { |
|
6425 |
} else { |
| 6426 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6426 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6427 |
if ((unsigned int )"--quiet" != (unsigned int )((void *)0)) { |
|
6427 |
if ((unsigned int )"--quiet" != (unsigned int )((void *)0)) { |
| 6428 |
tmp___569 = vgPlain_strcmp((Char const *)arg, |
|
6428 |
tmp___569 = vgPlain_strcmp((Char const *)arg, |
| 6429 |
(Char const *)"--quiet"); |
|
6429 |
(Char const *)"--quiet"); |
| 6430 |
if (tmp___569 == 0) { |
|
6430 |
if (tmp___569 == 0) { |
| 6431 |
tmp___568 = (int )((Bool )1); |
|
6431 |
tmp___568 = (int )((Bool )1); |
| 6432 |
} else { |
|
6432 |
} else { |
| 6433 |
tmp___568 = (int )((Bool )0); |
|
6433 |
tmp___568 = (int )((Bool )0); |
| 6434 |
} |
|
6434 |
} |
| 6435 |
} else { |
|
6435 |
} else { |
| 6436 |
tmp___568 = (int )((Bool )0); |
|
6436 |
tmp___568 = (int )((Bool )0); |
| 6437 |
} |
|
6437 |
} |
| 6438 |
} else { |
|
6438 |
} else { |
| 6439 |
tmp___568 = (int )((Bool )0); |
|
6439 |
tmp___568 = (int )((Bool )0); |
| 6440 |
} |
|
6440 |
} |
| 6441 |
if (tmp___568) { |
|
6441 |
if (tmp___568) { |
| 6442 |
vgPlain_clo_verbosity --; |
|
6442 |
vgPlain_clo_verbosity --; |
| 6443 |
} else { |
|
6443 |
} else { |
| 6444 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6444 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6445 |
if ((unsigned int )"--stats=" != (unsigned int )((void *)0)) { |
|
6445 |
if ((unsigned int )"--stats=" != (unsigned int )((void *)0)) { |
| 6446 |
tmp___555 = vgPlain_strlen((Char const *)"--stats"); |
|
6446 |
tmp___555 = vgPlain_strlen((Char const *)"--stats"); |
| 6447 |
tmp___556 = vgPlain_strncmp((Char const *)arg, |
|
6447 |
tmp___556 = vgPlain_strncmp((Char const *)arg, |
| 6448 |
(Char const *)"--stats=", |
|
6448 |
(Char const *)"--stats=", |
| 6449 |
tmp___555 + 1UL); |
|
6449 |
tmp___555 + 1UL); |
| 6450 |
if (tmp___556 == 0) { |
|
6450 |
if (tmp___556 == 0) { |
| 6451 |
tmp___554 = (int )((Bool )1); |
|
6451 |
tmp___554 = (int )((Bool )1); |
| 6452 |
} else { |
|
6452 |
} else { |
| 6453 |
tmp___554 = (int )((Bool )0); |
|
6453 |
tmp___554 = (int )((Bool )0); |
| 6454 |
} |
|
6454 |
} |
| 6455 |
} else { |
|
6455 |
} else { |
| 6456 |
tmp___554 = (int )((Bool )0); |
|
6456 |
tmp___554 = (int )((Bool )0); |
| 6457 |
} |
|
6457 |
} |
| 6458 |
} else { |
|
6458 |
} else { |
| 6459 |
tmp___554 = (int )((Bool )0); |
|
6459 |
tmp___554 = (int )((Bool )0); |
| 6460 |
} |
|
6460 |
} |
| 6461 |
if (tmp___554) { |
|
6461 |
if (tmp___554) { |
| 6462 |
tmp___557 = vgPlain_strlen((Char const *)"--stats"); |
|
6462 |
tmp___557 = vgPlain_strlen((Char const *)"--stats"); |
| 6463 |
val___55 = (Char *)(arg + (tmp___557 + 1UL)); |
|
6463 |
val___55 = (Char *)(arg + (tmp___557 + 1UL)); |
| 6464 |
if ((unsigned int )val___55 != (unsigned int )((void *)0)) { |
|
6464 |
if ((unsigned int )val___55 != (unsigned int )((void *)0)) { |
| 6465 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6465 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6466 |
tmp___563 = vgPlain_strcmp((Char const *)val___55, |
|
6466 |
tmp___563 = vgPlain_strcmp((Char const *)val___55, |
| 6467 |
(Char const *)"yes"); |
|
6467 |
(Char const *)"yes"); |
| 6468 |
if (tmp___563 == 0) { |
|
6468 |
if (tmp___563 == 0) { |
| 6469 |
tmp___562 = (int )((Bool )1); |
|
6469 |
tmp___562 = (int )((Bool )1); |
| 6470 |
} else { |
|
6470 |
} else { |
| 6471 |
tmp___562 = (int )((Bool )0); |
|
6471 |
tmp___562 = (int )((Bool )0); |
| 6472 |
} |
|
6472 |
} |
| 6473 |
} else { |
|
6473 |
} else { |
| 6474 |
tmp___562 = (int )((Bool )0); |
|
6474 |
tmp___562 = (int )((Bool )0); |
| 6475 |
} |
|
6475 |
} |
| 6476 |
} else { |
|
6476 |
} else { |
| 6477 |
tmp___562 = (int )((Bool )0); |
|
6477 |
tmp___562 = (int )((Bool )0); |
| 6478 |
} |
|
6478 |
} |
| 6479 |
if (tmp___562) { |
|
6479 |
if (tmp___562) { |
| 6480 |
vgPlain_clo_stats = (Bool )1; |
|
6480 |
vgPlain_clo_stats = (Bool )1; |
| 6481 |
} else { |
|
6481 |
} else { |
| 6482 |
if ((unsigned int )val___55 != (unsigned int )((void *)0)) { |
|
6482 |
if ((unsigned int )val___55 != (unsigned int )((void *)0)) { |
| 6483 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6483 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6484 |
tmp___560 = vgPlain_strcmp((Char const *)val___55, |
|
6484 |
tmp___560 = vgPlain_strcmp((Char const *)val___55, |
| 6485 |
(Char const *)"no"); |
|
6485 |
(Char const *)"no"); |
| 6486 |
if (tmp___560 == 0) { |
|
6486 |
if (tmp___560 == 0) { |
| 6487 |
tmp___559 = (int )((Bool )1); |
|
6487 |
tmp___559 = (int )((Bool )1); |
| 6488 |
} else { |
|
6488 |
} else { |
| 6489 |
tmp___559 = (int )((Bool )0); |
|
6489 |
tmp___559 = (int )((Bool )0); |
| 6490 |
} |
|
6490 |
} |
| 6491 |
} else { |
|
6491 |
} else { |
| 6492 |
tmp___559 = (int )((Bool )0); |
|
6492 |
tmp___559 = (int )((Bool )0); |
| 6493 |
} |
|
6493 |
} |
| 6494 |
} else { |
|
6494 |
} else { |
| 6495 |
tmp___559 = (int )((Bool )0); |
|
6495 |
tmp___559 = (int )((Bool )0); |
| 6496 |
} |
|
6496 |
} |
| 6497 |
if (tmp___559) { |
|
6497 |
if (tmp___559) { |
| 6498 |
vgPlain_clo_stats = (Bool )0; |
|
6498 |
vgPlain_clo_stats = (Bool )0; |
| 6499 |
} else { |
|
6499 |
} else { |
| 6500 |
vgPlain_fmsg_bad_option(arg, |
|
6500 |
vgPlain_fmsg_bad_option(arg, |
| 6501 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6501 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6502 |
val___55); |
|
6502 |
val___55); |
| 6503 |
} |
|
6503 |
} |
| 6504 |
} |
|
6504 |
} |
| 6505 |
} else { |
|
6505 |
} else { |
| 6506 |
_L___68: |
|
6506 |
_L___68: |
| 6507 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6507 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6508 |
if ((unsigned int )"--xml=" != (unsigned int )((void *)0)) { |
|
6508 |
if ((unsigned int )"--xml=" != (unsigned int )((void *)0)) { |
| 6509 |
tmp___543 = vgPlain_strlen((Char const *)"--xml"); |
|
6509 |
tmp___543 = vgPlain_strlen((Char const *)"--xml"); |
| 6510 |
tmp___544 = vgPlain_strncmp((Char const *)arg, |
|
6510 |
tmp___544 = vgPlain_strncmp((Char const *)arg, |
| 6511 |
(Char const *)"--xml=", |
|
6511 |
(Char const *)"--xml=", |
| 6512 |
tmp___543 + 1UL); |
|
6512 |
tmp___543 + 1UL); |
| 6513 |
if (tmp___544 == 0) { |
|
6513 |
if (tmp___544 == 0) { |
| 6514 |
tmp___542 = (int )((Bool )1); |
|
6514 |
tmp___542 = (int )((Bool )1); |
| 6515 |
} else { |
|
6515 |
} else { |
| 6516 |
tmp___542 = (int )((Bool )0); |
|
6516 |
tmp___542 = (int )((Bool )0); |
| 6517 |
} |
|
6517 |
} |
| 6518 |
} else { |
|
6518 |
} else { |
| 6519 |
tmp___542 = (int )((Bool )0); |
|
6519 |
tmp___542 = (int )((Bool )0); |
| 6520 |
} |
|
6520 |
} |
| 6521 |
} else { |
|
6521 |
} else { |
| 6522 |
tmp___542 = (int )((Bool )0); |
|
6522 |
tmp___542 = (int )((Bool )0); |
| 6523 |
} |
|
6523 |
} |
| 6524 |
if (tmp___542) { |
|
6524 |
if (tmp___542) { |
| 6525 |
tmp___545 = vgPlain_strlen((Char const *)"--xml"); |
|
6525 |
tmp___545 = vgPlain_strlen((Char const *)"--xml"); |
| 6526 |
val___54 = (Char *)(arg + (tmp___545 + 1UL)); |
|
6526 |
val___54 = (Char *)(arg + (tmp___545 + 1UL)); |
| 6527 |
if ((unsigned int )val___54 != (unsigned int )((void *)0)) { |
|
6527 |
if ((unsigned int )val___54 != (unsigned int )((void *)0)) { |
| 6528 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6528 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6529 |
tmp___551 = vgPlain_strcmp((Char const *)val___54, |
|
6529 |
tmp___551 = vgPlain_strcmp((Char const *)val___54, |
| 6530 |
(Char const *)"yes"); |
|
6530 |
(Char const *)"yes"); |
| 6531 |
if (tmp___551 == 0) { |
|
6531 |
if (tmp___551 == 0) { |
| 6532 |
tmp___550 = (int )((Bool )1); |
|
6532 |
tmp___550 = (int )((Bool )1); |
| 6533 |
} else { |
|
6533 |
} else { |
| 6534 |
tmp___550 = (int )((Bool )0); |
|
6534 |
tmp___550 = (int )((Bool )0); |
| 6535 |
} |
|
6535 |
} |
| 6536 |
} else { |
|
6536 |
} else { |
| 6537 |
tmp___550 = (int )((Bool )0); |
|
6537 |
tmp___550 = (int )((Bool )0); |
| 6538 |
} |
|
6538 |
} |
| 6539 |
} else { |
|
6539 |
} else { |
| 6540 |
tmp___550 = (int )((Bool )0); |
|
6540 |
tmp___550 = (int )((Bool )0); |
| 6541 |
} |
|
6541 |
} |
| 6542 |
if (tmp___550) { |
|
6542 |
if (tmp___550) { |
| 6543 |
vgPlain_clo_xml = (Bool )1; |
|
6543 |
vgPlain_clo_xml = (Bool )1; |
| 6544 |
} else { |
|
6544 |
} else { |
| 6545 |
if ((unsigned int )val___54 != (unsigned int )((void *)0)) { |
|
6545 |
if ((unsigned int )val___54 != (unsigned int )((void *)0)) { |
| 6546 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6546 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6547 |
tmp___548 = vgPlain_strcmp((Char const *)val___54, |
|
6547 |
tmp___548 = vgPlain_strcmp((Char const *)val___54, |
| 6548 |
(Char const *)"no"); |
|
6548 |
(Char const *)"no"); |
| 6549 |
if (tmp___548 == 0) { |
|
6549 |
if (tmp___548 == 0) { |
| 6550 |
tmp___547 = (int )((Bool )1); |
|
6550 |
tmp___547 = (int )((Bool )1); |
| 6551 |
} else { |
|
6551 |
} else { |
| 6552 |
tmp___547 = (int )((Bool )0); |
|
6552 |
tmp___547 = (int )((Bool )0); |
| 6553 |
} |
|
6553 |
} |
| 6554 |
} else { |
|
6554 |
} else { |
| 6555 |
tmp___547 = (int )((Bool )0); |
|
6555 |
tmp___547 = (int )((Bool )0); |
| 6556 |
} |
|
6556 |
} |
| 6557 |
} else { |
|
6557 |
} else { |
| 6558 |
tmp___547 = (int )((Bool )0); |
|
6558 |
tmp___547 = (int )((Bool )0); |
| 6559 |
} |
|
6559 |
} |
| 6560 |
if (tmp___547) { |
|
6560 |
if (tmp___547) { |
| 6561 |
vgPlain_clo_xml = (Bool )0; |
|
6561 |
vgPlain_clo_xml = (Bool )0; |
| 6562 |
} else { |
|
6562 |
} else { |
| 6563 |
vgPlain_fmsg_bad_option(arg, |
|
6563 |
vgPlain_fmsg_bad_option(arg, |
| 6564 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6564 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6565 |
val___54); |
|
6565 |
val___54); |
| 6566 |
} |
|
6566 |
} |
| 6567 |
} |
|
6567 |
} |
| 6568 |
} else { |
|
6568 |
} else { |
| 6569 |
_L___67: |
|
6569 |
_L___67: |
| 6570 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6570 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6571 |
if ((unsigned int )"--vgdb=no" != (unsigned int )((void *)0)) { |
|
6571 |
if ((unsigned int )"--vgdb=no" != (unsigned int )((void *)0)) { |
| 6572 |
tmp___539 = vgPlain_strcmp((Char const *)arg, |
|
6572 |
tmp___539 = vgPlain_strcmp((Char const *)arg, |
| 6573 |
(Char const *)"--vgdb=no"); |
|
6573 |
(Char const *)"--vgdb=no"); |
| 6574 |
if (tmp___539 == 0) { |
|
6574 |
if (tmp___539 == 0) { |
| 6575 |
tmp___538 = (int )((Bool )1); |
|
6575 |
tmp___538 = (int )((Bool )1); |
| 6576 |
} else { |
|
6576 |
} else { |
| 6577 |
tmp___538 = (int )((Bool )0); |
|
6577 |
tmp___538 = (int )((Bool )0); |
| 6578 |
} |
|
6578 |
} |
| 6579 |
} else { |
|
6579 |
} else { |
| 6580 |
tmp___538 = (int )((Bool )0); |
|
6580 |
tmp___538 = (int )((Bool )0); |
| 6581 |
} |
|
6581 |
} |
| 6582 |
} else { |
|
6582 |
} else { |
| 6583 |
tmp___538 = (int )((Bool )0); |
|
6583 |
tmp___538 = (int )((Bool )0); |
| 6584 |
} |
|
6584 |
} |
| 6585 |
if (tmp___538) { |
|
6585 |
if (tmp___538) { |
| 6586 |
vgPlain_clo_vgdb = (VgVgdb )0; |
|
6586 |
vgPlain_clo_vgdb = (VgVgdb )0; |
| 6587 |
} else { |
|
6587 |
} else { |
| 6588 |
_L___66: |
|
6588 |
_L___66: |
| 6589 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6589 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6590 |
if ((unsigned int )"--vgdb=yes" != (unsigned int )((void *)0)) { |
|
6590 |
if ((unsigned int )"--vgdb=yes" != (unsigned int )((void *)0)) { |
| 6591 |
tmp___536 = vgPlain_strcmp((Char const *)arg, |
|
6591 |
tmp___536 = vgPlain_strcmp((Char const *)arg, |
| 6592 |
(Char const *)"--vgdb=yes"); |
|
6592 |
(Char const *)"--vgdb=yes"); |
| 6593 |
if (tmp___536 == 0) { |
|
6593 |
if (tmp___536 == 0) { |
| 6594 |
tmp___535 = (int )((Bool )1); |
|
6594 |
tmp___535 = (int )((Bool )1); |
| 6595 |
} else { |
|
6595 |
} else { |
| 6596 |
tmp___535 = (int )((Bool )0); |
|
6596 |
tmp___535 = (int )((Bool )0); |
| 6597 |
} |
|
6597 |
} |
| 6598 |
} else { |
|
6598 |
} else { |
| 6599 |
tmp___535 = (int )((Bool )0); |
|
6599 |
tmp___535 = (int )((Bool )0); |
| 6600 |
} |
|
6600 |
} |
| 6601 |
} else { |
|
6601 |
} else { |
| 6602 |
tmp___535 = (int )((Bool )0); |
|
6602 |
tmp___535 = (int )((Bool )0); |
| 6603 |
} |
|
6603 |
} |
| 6604 |
if (tmp___535) { |
|
6604 |
if (tmp___535) { |
| 6605 |
vgPlain_clo_vgdb = (VgVgdb )1; |
|
6605 |
vgPlain_clo_vgdb = (VgVgdb )1; |
| 6606 |
} else { |
|
6606 |
} else { |
| 6607 |
_L___65: |
|
6607 |
_L___65: |
| 6608 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6608 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6609 |
if ((unsigned int )"--vgdb=full" != (unsigned int )((void *)0)) { |
|
6609 |
if ((unsigned int )"--vgdb=full" != (unsigned int )((void *)0)) { |
| 6610 |
tmp___533 = vgPlain_strcmp((Char const *)arg, |
|
6610 |
tmp___533 = vgPlain_strcmp((Char const *)arg, |
| 6611 |
(Char const *)"--vgdb=full"); |
|
6611 |
(Char const *)"--vgdb=full"); |
| 6612 |
if (tmp___533 == 0) { |
|
6612 |
if (tmp___533 == 0) { |
| 6613 |
tmp___532 = (int )((Bool )1); |
|
6613 |
tmp___532 = (int )((Bool )1); |
| 6614 |
} else { |
|
6614 |
} else { |
| 6615 |
tmp___532 = (int )((Bool )0); |
|
6615 |
tmp___532 = (int )((Bool )0); |
| 6616 |
} |
|
6616 |
} |
| 6617 |
} else { |
|
6617 |
} else { |
| 6618 |
tmp___532 = (int )((Bool )0); |
|
6618 |
tmp___532 = (int )((Bool )0); |
| 6619 |
} |
|
6619 |
} |
| 6620 |
} else { |
|
6620 |
} else { |
| 6621 |
tmp___532 = (int )((Bool )0); |
|
6621 |
tmp___532 = (int )((Bool )0); |
| 6622 |
} |
|
6622 |
} |
| 6623 |
if (tmp___532) { |
|
6623 |
if (tmp___532) { |
| 6624 |
vgPlain_clo_vgdb = (VgVgdb )2; |
|
6624 |
vgPlain_clo_vgdb = (VgVgdb )2; |
| 6625 |
} else { |
|
6625 |
} else { |
| 6626 |
_L___64: |
|
6626 |
_L___64: |
| 6627 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6627 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6628 |
if ((unsigned int )"--vgdb-poll=" != (unsigned int )((void *)0)) { |
|
6628 |
if ((unsigned int )"--vgdb-poll=" != (unsigned int )((void *)0)) { |
| 6629 |
tmp___527 = vgPlain_strlen((Char const *)"--vgdb-poll"); |
|
6629 |
tmp___527 = vgPlain_strlen((Char const *)"--vgdb-poll"); |
| 6630 |
tmp___528 = vgPlain_strncmp((Char const *)arg, |
|
6630 |
tmp___528 = vgPlain_strncmp((Char const *)arg, |
| 6631 |
(Char const *)"--vgdb-poll=", |
|
6631 |
(Char const *)"--vgdb-poll=", |
| 6632 |
tmp___527 + 1UL); |
|
6632 |
tmp___527 + 1UL); |
| 6633 |
if (tmp___528 == 0) { |
|
6633 |
if (tmp___528 == 0) { |
| 6634 |
tmp___526 = (int )((Bool )1); |
|
6634 |
tmp___526 = (int )((Bool )1); |
| 6635 |
} else { |
|
6635 |
} else { |
| 6636 |
tmp___526 = (int )((Bool )0); |
|
6636 |
tmp___526 = (int )((Bool )0); |
| 6637 |
} |
|
6637 |
} |
| 6638 |
} else { |
|
6638 |
} else { |
| 6639 |
tmp___526 = (int )((Bool )0); |
|
6639 |
tmp___526 = (int )((Bool )0); |
| 6640 |
} |
|
6640 |
} |
| 6641 |
} else { |
|
6641 |
} else { |
| 6642 |
tmp___526 = (int )((Bool )0); |
|
6642 |
tmp___526 = (int )((Bool )0); |
| 6643 |
} |
|
6643 |
} |
| 6644 |
if (tmp___526) { |
|
6644 |
if (tmp___526) { |
| 6645 |
tmp___529 = vgPlain_strlen((Char const *)"--vgdb-poll"); |
|
6645 |
tmp___529 = vgPlain_strlen((Char const *)"--vgdb-poll"); |
| 6646 |
val___53 = (Char *)(arg + (tmp___529 + 1UL)); |
|
6646 |
val___53 = (Char *)(arg + (tmp___529 + 1UL)); |
| 6647 |
tmp___530 = vgPlain_strtoll10(val___53, |
|
6647 |
tmp___530 = vgPlain_strtoll10(val___53, |
| 6648 |
& s___13); |
|
6648 |
& s___13); |
| 6649 |
n___13 = tmp___530; |
|
6649 |
n___13 = tmp___530; |
| 6650 |
vgPlain_clo_vgdb_poll = (Int )n___13; |
|
6650 |
vgPlain_clo_vgdb_poll = (Int )n___13; |
| 6651 |
if (0 != (int )*(s___13 + 0)) { |
|
6651 |
if (0 != (int )*(s___13 + 0)) { |
| 6652 |
vgPlain_fmsg_bad_option(arg, ""); |
|
6652 |
vgPlain_fmsg_bad_option(arg, ""); |
| 6653 |
} else |
|
6653 |
} else |
| 6654 |
if ((Long )vgPlain_clo_vgdb_poll != n___13) { |
|
6654 |
if ((Long )vgPlain_clo_vgdb_poll != n___13) { |
| 6655 |
vgPlain_fmsg_bad_option(arg, ""); |
|
6655 |
vgPlain_fmsg_bad_option(arg, ""); |
| 6656 |
} else { |
|
6656 |
} else { |
| 6657 |
|
|
6657 |
|
| 6658 |
} |
|
6658 |
} |
| 6659 |
} else { |
|
6659 |
} else { |
| 6660 |
_L___63: |
|
6660 |
_L___63: |
| 6661 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6661 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6662 |
if ((unsigned int )"--vgdb-error=" != (unsigned int )((void *)0)) { |
|
6662 |
if ((unsigned int )"--vgdb-error=" != (unsigned int )((void *)0)) { |
| 6663 |
tmp___520 = vgPlain_strlen((Char const *)"--vgdb-error"); |
|
6663 |
tmp___520 = vgPlain_strlen((Char const *)"--vgdb-error"); |
| 6664 |
tmp___521 = vgPlain_strncmp((Char const *)arg, |
|
6664 |
tmp___521 = vgPlain_strncmp((Char const *)arg, |
| 6665 |
(Char const *)"--vgdb-error=", |
|
6665 |
(Char const *)"--vgdb-error=", |
| 6666 |
tmp___520 + 1UL); |
|
6666 |
tmp___520 + 1UL); |
| 6667 |
if (tmp___521 == 0) { |
|
6667 |
if (tmp___521 == 0) { |
| 6668 |
tmp___519 = (int )((Bool )1); |
|
6668 |
tmp___519 = (int )((Bool )1); |
| 6669 |
} else { |
|
6669 |
} else { |
| 6670 |
tmp___519 = (int )((Bool )0); |
|
6670 |
tmp___519 = (int )((Bool )0); |
| 6671 |
} |
|
6671 |
} |
| 6672 |
} else { |
|
6672 |
} else { |
| 6673 |
tmp___519 = (int )((Bool )0); |
|
6673 |
tmp___519 = (int )((Bool )0); |
| 6674 |
} |
|
6674 |
} |
| 6675 |
} else { |
|
6675 |
} else { |
| 6676 |
tmp___519 = (int )((Bool )0); |
|
6676 |
tmp___519 = (int )((Bool )0); |
| 6677 |
} |
|
6677 |
} |
| 6678 |
if (tmp___519) { |
|
6678 |
if (tmp___519) { |
| 6679 |
tmp___522 = vgPlain_strlen((Char const *)"--vgdb-error"); |
|
6679 |
tmp___522 = vgPlain_strlen((Char const *)"--vgdb-error"); |
| 6680 |
val___52 = (Char *)(arg + (tmp___522 + 1UL)); |
|
6680 |
val___52 = (Char *)(arg + (tmp___522 + 1UL)); |
| 6681 |
tmp___523 = vgPlain_strtoll10(val___52, |
|
6681 |
tmp___523 = vgPlain_strtoll10(val___52, |
| 6682 |
& s___12); |
|
6682 |
& s___12); |
| 6683 |
n___12 = tmp___523; |
|
6683 |
n___12 = tmp___523; |
| 6684 |
vgPlain_clo_vgdb_error = (Int )n___12; |
|
6684 |
vgPlain_clo_vgdb_error = (Int )n___12; |
| 6685 |
if (0 != (int )*(s___12 + 0)) { |
|
6685 |
if (0 != (int )*(s___12 + 0)) { |
| 6686 |
vgPlain_fmsg_bad_option(arg, ""); |
|
6686 |
vgPlain_fmsg_bad_option(arg, ""); |
| 6687 |
} else |
|
6687 |
} else |
| 6688 |
if ((Long )vgPlain_clo_vgdb_error != n___12) { |
|
6688 |
if ((Long )vgPlain_clo_vgdb_error != n___12) { |
| 6689 |
vgPlain_fmsg_bad_option(arg, ""); |
|
6689 |
vgPlain_fmsg_bad_option(arg, ""); |
| 6690 |
} else { |
|
6690 |
} else { |
| 6691 |
|
|
6691 |
|
| 6692 |
} |
|
6692 |
} |
| 6693 |
} else { |
|
6693 |
} else { |
| 6694 |
_L___62: |
|
6694 |
_L___62: |
| 6695 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6695 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6696 |
if ((unsigned int )"--vgdb-prefix=" != (unsigned int )((void *)0)) { |
|
6696 |
if ((unsigned int )"--vgdb-prefix=" != (unsigned int )((void *)0)) { |
| 6697 |
tmp___514 = vgPlain_strlen((Char const *)"--vgdb-prefix"); |
|
6697 |
tmp___514 = vgPlain_strlen((Char const *)"--vgdb-prefix"); |
| 6698 |
tmp___515 = vgPlain_strncmp((Char const *)arg, |
|
6698 |
tmp___515 = vgPlain_strncmp((Char const *)arg, |
| 6699 |
(Char const *)"--vgdb-prefix=", |
|
6699 |
(Char const *)"--vgdb-prefix=", |
| 6700 |
tmp___514 + 1UL); |
|
6700 |
tmp___514 + 1UL); |
| 6701 |
if (tmp___515 == 0) { |
|
6701 |
if (tmp___515 == 0) { |
| 6702 |
tmp___513 = (int )((Bool )1); |
|
6702 |
tmp___513 = (int )((Bool )1); |
| 6703 |
} else { |
|
6703 |
} else { |
| 6704 |
tmp___513 = (int )((Bool )0); |
|
6704 |
tmp___513 = (int )((Bool )0); |
| 6705 |
} |
|
6705 |
} |
| 6706 |
} else { |
|
6706 |
} else { |
| 6707 |
tmp___513 = (int )((Bool )0); |
|
6707 |
tmp___513 = (int )((Bool )0); |
| 6708 |
} |
|
6708 |
} |
| 6709 |
} else { |
|
6709 |
} else { |
| 6710 |
tmp___513 = (int )((Bool )0); |
|
6710 |
tmp___513 = (int )((Bool )0); |
| 6711 |
} |
|
6711 |
} |
| 6712 |
if (tmp___513) { |
|
6712 |
if (tmp___513) { |
| 6713 |
tmp___516 = vgPlain_strlen((Char const *)"--vgdb-prefix"); |
|
6713 |
tmp___516 = vgPlain_strlen((Char const *)"--vgdb-prefix"); |
| 6714 |
val___51 = (Char *)(arg + (tmp___516 + 1UL)); |
|
6714 |
val___51 = (Char *)(arg + (tmp___516 + 1UL)); |
| 6715 |
vgPlain_clo_vgdb_prefix = val___51; |
|
6715 |
vgPlain_clo_vgdb_prefix = val___51; |
| 6716 |
} else { |
|
6716 |
} else { |
| 6717 |
_L___61: |
|
6717 |
_L___61: |
| 6718 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6718 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6719 |
if ((unsigned int )"--vgdb-shadow-registers=" != (unsigned int )((void *)0)) { |
|
6719 |
if ((unsigned int )"--vgdb-shadow-registers=" != (unsigned int )((void *)0)) { |
| 6720 |
tmp___502 = vgPlain_strlen((Char const *)"--vgdb-shadow-registers"); |
|
6720 |
tmp___502 = vgPlain_strlen((Char const *)"--vgdb-shadow-registers"); |
| 6721 |
tmp___503 = vgPlain_strncmp((Char const *)arg, |
|
6721 |
tmp___503 = vgPlain_strncmp((Char const *)arg, |
| 6722 |
(Char const *)"--vgdb-shadow-registers=", |
|
6722 |
(Char const *)"--vgdb-shadow-registers=", |
| 6723 |
tmp___502 + 1UL); |
|
6723 |
tmp___502 + 1UL); |
| 6724 |
if (tmp___503 == 0) { |
|
6724 |
if (tmp___503 == 0) { |
| 6725 |
tmp___501 = (int )((Bool )1); |
|
6725 |
tmp___501 = (int )((Bool )1); |
| 6726 |
} else { |
|
6726 |
} else { |
| 6727 |
tmp___501 = (int )((Bool )0); |
|
6727 |
tmp___501 = (int )((Bool )0); |
| 6728 |
} |
|
6728 |
} |
| 6729 |
} else { |
|
6729 |
} else { |
| 6730 |
tmp___501 = (int )((Bool )0); |
|
6730 |
tmp___501 = (int )((Bool )0); |
| 6731 |
} |
|
6731 |
} |
| 6732 |
} else { |
|
6732 |
} else { |
| 6733 |
tmp___501 = (int )((Bool )0); |
|
6733 |
tmp___501 = (int )((Bool )0); |
| 6734 |
} |
|
6734 |
} |
| 6735 |
if (tmp___501) { |
|
6735 |
if (tmp___501) { |
| 6736 |
tmp___504 = vgPlain_strlen((Char const *)"--vgdb-shadow-registers"); |
|
6736 |
tmp___504 = vgPlain_strlen((Char const *)"--vgdb-shadow-registers"); |
| 6737 |
val___50 = (Char *)(arg + (tmp___504 + 1UL)); |
|
6737 |
val___50 = (Char *)(arg + (tmp___504 + 1UL)); |
| 6738 |
if ((unsigned int )val___50 != (unsigned int )((void *)0)) { |
|
6738 |
if ((unsigned int )val___50 != (unsigned int )((void *)0)) { |
| 6739 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6739 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6740 |
tmp___510 = vgPlain_strcmp((Char const *)val___50, |
|
6740 |
tmp___510 = vgPlain_strcmp((Char const *)val___50, |
| 6741 |
(Char const *)"yes"); |
|
6741 |
(Char const *)"yes"); |
| 6742 |
if (tmp___510 == 0) { |
|
6742 |
if (tmp___510 == 0) { |
| 6743 |
tmp___509 = (int )((Bool )1); |
|
6743 |
tmp___509 = (int )((Bool )1); |
| 6744 |
} else { |
|
6744 |
} else { |
| 6745 |
tmp___509 = (int )((Bool )0); |
|
6745 |
tmp___509 = (int )((Bool )0); |
| 6746 |
} |
|
6746 |
} |
| 6747 |
} else { |
|
6747 |
} else { |
| 6748 |
tmp___509 = (int )((Bool )0); |
|
6748 |
tmp___509 = (int )((Bool )0); |
| 6749 |
} |
|
6749 |
} |
| 6750 |
} else { |
|
6750 |
} else { |
| 6751 |
tmp___509 = (int )((Bool )0); |
|
6751 |
tmp___509 = (int )((Bool )0); |
| 6752 |
} |
|
6752 |
} |
| 6753 |
if (tmp___509) { |
|
6753 |
if (tmp___509) { |
| 6754 |
vgPlain_clo_vgdb_shadow_registers = (Bool )1; |
|
6754 |
vgPlain_clo_vgdb_shadow_registers = (Bool )1; |
| 6755 |
} else { |
|
6755 |
} else { |
| 6756 |
if ((unsigned int )val___50 != (unsigned int )((void *)0)) { |
|
6756 |
if ((unsigned int )val___50 != (unsigned int )((void *)0)) { |
| 6757 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6757 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6758 |
tmp___507 = vgPlain_strcmp((Char const *)val___50, |
|
6758 |
tmp___507 = vgPlain_strcmp((Char const *)val___50, |
| 6759 |
(Char const *)"no"); |
|
6759 |
(Char const *)"no"); |
| 6760 |
if (tmp___507 == 0) { |
|
6760 |
if (tmp___507 == 0) { |
| 6761 |
tmp___506 = (int )((Bool )1); |
|
6761 |
tmp___506 = (int )((Bool )1); |
| 6762 |
} else { |
|
6762 |
} else { |
| 6763 |
tmp___506 = (int )((Bool )0); |
|
6763 |
tmp___506 = (int )((Bool )0); |
| 6764 |
} |
|
6764 |
} |
| 6765 |
} else { |
|
6765 |
} else { |
| 6766 |
tmp___506 = (int )((Bool )0); |
|
6766 |
tmp___506 = (int )((Bool )0); |
| 6767 |
} |
|
6767 |
} |
| 6768 |
} else { |
|
6768 |
} else { |
| 6769 |
tmp___506 = (int )((Bool )0); |
|
6769 |
tmp___506 = (int )((Bool )0); |
| 6770 |
} |
|
6770 |
} |
| 6771 |
if (tmp___506) { |
|
6771 |
if (tmp___506) { |
| 6772 |
vgPlain_clo_vgdb_shadow_registers = (Bool )0; |
|
6772 |
vgPlain_clo_vgdb_shadow_registers = (Bool )0; |
| 6773 |
} else { |
|
6773 |
} else { |
| 6774 |
vgPlain_fmsg_bad_option(arg, |
|
6774 |
vgPlain_fmsg_bad_option(arg, |
| 6775 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6775 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6776 |
val___50); |
|
6776 |
val___50); |
| 6777 |
} |
|
6777 |
} |
| 6778 |
} |
|
6778 |
} |
| 6779 |
} else { |
|
6779 |
} else { |
| 6780 |
_L___60: |
|
6780 |
_L___60: |
| 6781 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6781 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6782 |
if ((unsigned int )"--db-attach=" != (unsigned int )((void *)0)) { |
|
6782 |
if ((unsigned int )"--db-attach=" != (unsigned int )((void *)0)) { |
| 6783 |
tmp___490 = vgPlain_strlen((Char const *)"--db-attach"); |
|
6783 |
tmp___490 = vgPlain_strlen((Char const *)"--db-attach"); |
| 6784 |
tmp___491 = vgPlain_strncmp((Char const *)arg, |
|
6784 |
tmp___491 = vgPlain_strncmp((Char const *)arg, |
| 6785 |
(Char const *)"--db-attach=", |
|
6785 |
(Char const *)"--db-attach=", |
| 6786 |
tmp___490 + 1UL); |
|
6786 |
tmp___490 + 1UL); |
| 6787 |
if (tmp___491 == 0) { |
|
6787 |
if (tmp___491 == 0) { |
| 6788 |
tmp___489 = (int )((Bool )1); |
|
6788 |
tmp___489 = (int )((Bool )1); |
| 6789 |
} else { |
|
6789 |
} else { |
| 6790 |
tmp___489 = (int )((Bool )0); |
|
6790 |
tmp___489 = (int )((Bool )0); |
| 6791 |
} |
|
6791 |
} |
| 6792 |
} else { |
|
6792 |
} else { |
| 6793 |
tmp___489 = (int )((Bool )0); |
|
6793 |
tmp___489 = (int )((Bool )0); |
| 6794 |
} |
|
6794 |
} |
| 6795 |
} else { |
|
6795 |
} else { |
| 6796 |
tmp___489 = (int )((Bool )0); |
|
6796 |
tmp___489 = (int )((Bool )0); |
| 6797 |
} |
|
6797 |
} |
| 6798 |
if (tmp___489) { |
|
6798 |
if (tmp___489) { |
| 6799 |
tmp___492 = vgPlain_strlen((Char const *)"--db-attach"); |
|
6799 |
tmp___492 = vgPlain_strlen((Char const *)"--db-attach"); |
| 6800 |
val___49 = (Char *)(arg + (tmp___492 + 1UL)); |
|
6800 |
val___49 = (Char *)(arg + (tmp___492 + 1UL)); |
| 6801 |
if ((unsigned int )val___49 != (unsigned int )((void *)0)) { |
|
6801 |
if ((unsigned int )val___49 != (unsigned int )((void *)0)) { |
| 6802 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6802 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6803 |
tmp___498 = vgPlain_strcmp((Char const *)val___49, |
|
6803 |
tmp___498 = vgPlain_strcmp((Char const *)val___49, |
| 6804 |
(Char const *)"yes"); |
|
6804 |
(Char const *)"yes"); |
| 6805 |
if (tmp___498 == 0) { |
|
6805 |
if (tmp___498 == 0) { |
| 6806 |
tmp___497 = (int )((Bool )1); |
|
6806 |
tmp___497 = (int )((Bool )1); |
| 6807 |
} else { |
|
6807 |
} else { |
| 6808 |
tmp___497 = (int )((Bool )0); |
|
6808 |
tmp___497 = (int )((Bool )0); |
| 6809 |
} |
|
6809 |
} |
| 6810 |
} else { |
|
6810 |
} else { |
| 6811 |
tmp___497 = (int )((Bool )0); |
|
6811 |
tmp___497 = (int )((Bool )0); |
| 6812 |
} |
|
6812 |
} |
| 6813 |
} else { |
|
6813 |
} else { |
| 6814 |
tmp___497 = (int )((Bool )0); |
|
6814 |
tmp___497 = (int )((Bool )0); |
| 6815 |
} |
|
6815 |
} |
| 6816 |
if (tmp___497) { |
|
6816 |
if (tmp___497) { |
| 6817 |
vgPlain_clo_db_attach = (Bool )1; |
|
6817 |
vgPlain_clo_db_attach = (Bool )1; |
| 6818 |
} else { |
|
6818 |
} else { |
| 6819 |
if ((unsigned int )val___49 != (unsigned int )((void *)0)) { |
|
6819 |
if ((unsigned int )val___49 != (unsigned int )((void *)0)) { |
| 6820 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6820 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6821 |
tmp___495 = vgPlain_strcmp((Char const *)val___49, |
|
6821 |
tmp___495 = vgPlain_strcmp((Char const *)val___49, |
| 6822 |
(Char const *)"no"); |
|
6822 |
(Char const *)"no"); |
| 6823 |
if (tmp___495 == 0) { |
|
6823 |
if (tmp___495 == 0) { |
| 6824 |
tmp___494 = (int )((Bool )1); |
|
6824 |
tmp___494 = (int )((Bool )1); |
| 6825 |
} else { |
|
6825 |
} else { |
| 6826 |
tmp___494 = (int )((Bool )0); |
|
6826 |
tmp___494 = (int )((Bool )0); |
| 6827 |
} |
|
6827 |
} |
| 6828 |
} else { |
|
6828 |
} else { |
| 6829 |
tmp___494 = (int )((Bool )0); |
|
6829 |
tmp___494 = (int )((Bool )0); |
| 6830 |
} |
|
6830 |
} |
| 6831 |
} else { |
|
6831 |
} else { |
| 6832 |
tmp___494 = (int )((Bool )0); |
|
6832 |
tmp___494 = (int )((Bool )0); |
| 6833 |
} |
|
6833 |
} |
| 6834 |
if (tmp___494) { |
|
6834 |
if (tmp___494) { |
| 6835 |
vgPlain_clo_db_attach = (Bool )0; |
|
6835 |
vgPlain_clo_db_attach = (Bool )0; |
| 6836 |
} else { |
|
6836 |
} else { |
| 6837 |
vgPlain_fmsg_bad_option(arg, |
|
6837 |
vgPlain_fmsg_bad_option(arg, |
| 6838 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6838 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6839 |
val___49); |
|
6839 |
val___49); |
| 6840 |
} |
|
6840 |
} |
| 6841 |
} |
|
6841 |
} |
| 6842 |
} else { |
|
6842 |
} else { |
| 6843 |
_L___59: |
|
6843 |
_L___59: |
| 6844 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6844 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6845 |
if ((unsigned int )"--demangle=" != (unsigned int )((void *)0)) { |
|
6845 |
if ((unsigned int )"--demangle=" != (unsigned int )((void *)0)) { |
| 6846 |
tmp___478 = vgPlain_strlen((Char const *)"--demangle"); |
|
6846 |
tmp___478 = vgPlain_strlen((Char const *)"--demangle"); |
| 6847 |
tmp___479 = vgPlain_strncmp((Char const *)arg, |
|
6847 |
tmp___479 = vgPlain_strncmp((Char const *)arg, |
| 6848 |
(Char const *)"--demangle=", |
|
6848 |
(Char const *)"--demangle=", |
| 6849 |
tmp___478 + 1UL); |
|
6849 |
tmp___478 + 1UL); |
| 6850 |
if (tmp___479 == 0) { |
|
6850 |
if (tmp___479 == 0) { |
| 6851 |
tmp___477 = (int )((Bool )1); |
|
6851 |
tmp___477 = (int )((Bool )1); |
| 6852 |
} else { |
|
6852 |
} else { |
| 6853 |
tmp___477 = (int )((Bool )0); |
|
6853 |
tmp___477 = (int )((Bool )0); |
| 6854 |
} |
|
6854 |
} |
| 6855 |
} else { |
|
6855 |
} else { |
| 6856 |
tmp___477 = (int )((Bool )0); |
|
6856 |
tmp___477 = (int )((Bool )0); |
| 6857 |
} |
|
6857 |
} |
| 6858 |
} else { |
|
6858 |
} else { |
| 6859 |
tmp___477 = (int )((Bool )0); |
|
6859 |
tmp___477 = (int )((Bool )0); |
| 6860 |
} |
|
6860 |
} |
| 6861 |
if (tmp___477) { |
|
6861 |
if (tmp___477) { |
| 6862 |
tmp___480 = vgPlain_strlen((Char const *)"--demangle"); |
|
6862 |
tmp___480 = vgPlain_strlen((Char const *)"--demangle"); |
| 6863 |
val___48 = (Char *)(arg + (tmp___480 + 1UL)); |
|
6863 |
val___48 = (Char *)(arg + (tmp___480 + 1UL)); |
| 6864 |
if ((unsigned int )val___48 != (unsigned int )((void *)0)) { |
|
6864 |
if ((unsigned int )val___48 != (unsigned int )((void *)0)) { |
| 6865 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6865 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6866 |
tmp___486 = vgPlain_strcmp((Char const *)val___48, |
|
6866 |
tmp___486 = vgPlain_strcmp((Char const *)val___48, |
| 6867 |
(Char const *)"yes"); |
|
6867 |
(Char const *)"yes"); |
| 6868 |
if (tmp___486 == 0) { |
|
6868 |
if (tmp___486 == 0) { |
| 6869 |
tmp___485 = (int )((Bool )1); |
|
6869 |
tmp___485 = (int )((Bool )1); |
| 6870 |
} else { |
|
6870 |
} else { |
| 6871 |
tmp___485 = (int )((Bool )0); |
|
6871 |
tmp___485 = (int )((Bool )0); |
| 6872 |
} |
|
6872 |
} |
| 6873 |
} else { |
|
6873 |
} else { |
| 6874 |
tmp___485 = (int )((Bool )0); |
|
6874 |
tmp___485 = (int )((Bool )0); |
| 6875 |
} |
|
6875 |
} |
| 6876 |
} else { |
|
6876 |
} else { |
| 6877 |
tmp___485 = (int )((Bool )0); |
|
6877 |
tmp___485 = (int )((Bool )0); |
| 6878 |
} |
|
6878 |
} |
| 6879 |
if (tmp___485) { |
|
6879 |
if (tmp___485) { |
| 6880 |
vgPlain_clo_demangle = (Bool )1; |
|
6880 |
vgPlain_clo_demangle = (Bool )1; |
| 6881 |
} else { |
|
6881 |
} else { |
| 6882 |
if ((unsigned int )val___48 != (unsigned int )((void *)0)) { |
|
6882 |
if ((unsigned int )val___48 != (unsigned int )((void *)0)) { |
| 6883 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6883 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6884 |
tmp___483 = vgPlain_strcmp((Char const *)val___48, |
|
6884 |
tmp___483 = vgPlain_strcmp((Char const *)val___48, |
| 6885 |
(Char const *)"no"); |
|
6885 |
(Char const *)"no"); |
| 6886 |
if (tmp___483 == 0) { |
|
6886 |
if (tmp___483 == 0) { |
| 6887 |
tmp___482 = (int )((Bool )1); |
|
6887 |
tmp___482 = (int )((Bool )1); |
| 6888 |
} else { |
|
6888 |
} else { |
| 6889 |
tmp___482 = (int )((Bool )0); |
|
6889 |
tmp___482 = (int )((Bool )0); |
| 6890 |
} |
|
6890 |
} |
| 6891 |
} else { |
|
6891 |
} else { |
| 6892 |
tmp___482 = (int )((Bool )0); |
|
6892 |
tmp___482 = (int )((Bool )0); |
| 6893 |
} |
|
6893 |
} |
| 6894 |
} else { |
|
6894 |
} else { |
| 6895 |
tmp___482 = (int )((Bool )0); |
|
6895 |
tmp___482 = (int )((Bool )0); |
| 6896 |
} |
|
6896 |
} |
| 6897 |
if (tmp___482) { |
|
6897 |
if (tmp___482) { |
| 6898 |
vgPlain_clo_demangle = (Bool )0; |
|
6898 |
vgPlain_clo_demangle = (Bool )0; |
| 6899 |
} else { |
|
6899 |
} else { |
| 6900 |
vgPlain_fmsg_bad_option(arg, |
|
6900 |
vgPlain_fmsg_bad_option(arg, |
| 6901 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6901 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6902 |
val___48); |
|
6902 |
val___48); |
| 6903 |
} |
|
6903 |
} |
| 6904 |
} |
|
6904 |
} |
| 6905 |
} else { |
|
6905 |
} else { |
| 6906 |
_L___58: |
|
6906 |
_L___58: |
| 6907 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6907 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6908 |
if ((unsigned int )"--error-limit=" != (unsigned int )((void *)0)) { |
|
6908 |
if ((unsigned int )"--error-limit=" != (unsigned int )((void *)0)) { |
| 6909 |
tmp___466 = vgPlain_strlen((Char const *)"--error-limit"); |
|
6909 |
tmp___466 = vgPlain_strlen((Char const *)"--error-limit"); |
| 6910 |
tmp___467 = vgPlain_strncmp((Char const *)arg, |
|
6910 |
tmp___467 = vgPlain_strncmp((Char const *)arg, |
| 6911 |
(Char const *)"--error-limit=", |
|
6911 |
(Char const *)"--error-limit=", |
| 6912 |
tmp___466 + 1UL); |
|
6912 |
tmp___466 + 1UL); |
| 6913 |
if (tmp___467 == 0) { |
|
6913 |
if (tmp___467 == 0) { |
| 6914 |
tmp___465 = (int )((Bool )1); |
|
6914 |
tmp___465 = (int )((Bool )1); |
| 6915 |
} else { |
|
6915 |
} else { |
| 6916 |
tmp___465 = (int )((Bool )0); |
|
6916 |
tmp___465 = (int )((Bool )0); |
| 6917 |
} |
|
6917 |
} |
| 6918 |
} else { |
|
6918 |
} else { |
| 6919 |
tmp___465 = (int )((Bool )0); |
|
6919 |
tmp___465 = (int )((Bool )0); |
| 6920 |
} |
|
6920 |
} |
| 6921 |
} else { |
|
6921 |
} else { |
| 6922 |
tmp___465 = (int )((Bool )0); |
|
6922 |
tmp___465 = (int )((Bool )0); |
| 6923 |
} |
|
6923 |
} |
| 6924 |
if (tmp___465) { |
|
6924 |
if (tmp___465) { |
| 6925 |
tmp___468 = vgPlain_strlen((Char const *)"--error-limit"); |
|
6925 |
tmp___468 = vgPlain_strlen((Char const *)"--error-limit"); |
| 6926 |
val___47 = (Char *)(arg + (tmp___468 + 1UL)); |
|
6926 |
val___47 = (Char *)(arg + (tmp___468 + 1UL)); |
| 6927 |
if ((unsigned int )val___47 != (unsigned int )((void *)0)) { |
|
6927 |
if ((unsigned int )val___47 != (unsigned int )((void *)0)) { |
| 6928 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
6928 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 6929 |
tmp___474 = vgPlain_strcmp((Char const *)val___47, |
|
6929 |
tmp___474 = vgPlain_strcmp((Char const *)val___47, |
| 6930 |
(Char const *)"yes"); |
|
6930 |
(Char const *)"yes"); |
| 6931 |
if (tmp___474 == 0) { |
|
6931 |
if (tmp___474 == 0) { |
| 6932 |
tmp___473 = (int )((Bool )1); |
|
6932 |
tmp___473 = (int )((Bool )1); |
| 6933 |
} else { |
|
6933 |
} else { |
| 6934 |
tmp___473 = (int )((Bool )0); |
|
6934 |
tmp___473 = (int )((Bool )0); |
| 6935 |
} |
|
6935 |
} |
| 6936 |
} else { |
|
6936 |
} else { |
| 6937 |
tmp___473 = (int )((Bool )0); |
|
6937 |
tmp___473 = (int )((Bool )0); |
| 6938 |
} |
|
6938 |
} |
| 6939 |
} else { |
|
6939 |
} else { |
| 6940 |
tmp___473 = (int )((Bool )0); |
|
6940 |
tmp___473 = (int )((Bool )0); |
| 6941 |
} |
|
6941 |
} |
| 6942 |
if (tmp___473) { |
|
6942 |
if (tmp___473) { |
| 6943 |
vgPlain_clo_error_limit = (Bool )1; |
|
6943 |
vgPlain_clo_error_limit = (Bool )1; |
| 6944 |
} else { |
|
6944 |
} else { |
| 6945 |
if ((unsigned int )val___47 != (unsigned int )((void *)0)) { |
|
6945 |
if ((unsigned int )val___47 != (unsigned int )((void *)0)) { |
| 6946 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
6946 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 6947 |
tmp___471 = vgPlain_strcmp((Char const *)val___47, |
|
6947 |
tmp___471 = vgPlain_strcmp((Char const *)val___47, |
| 6948 |
(Char const *)"no"); |
|
6948 |
(Char const *)"no"); |
| 6949 |
if (tmp___471 == 0) { |
|
6949 |
if (tmp___471 == 0) { |
| 6950 |
tmp___470 = (int )((Bool )1); |
|
6950 |
tmp___470 = (int )((Bool )1); |
| 6951 |
} else { |
|
6951 |
} else { |
| 6952 |
tmp___470 = (int )((Bool )0); |
|
6952 |
tmp___470 = (int )((Bool )0); |
| 6953 |
} |
|
6953 |
} |
| 6954 |
} else { |
|
6954 |
} else { |
| 6955 |
tmp___470 = (int )((Bool )0); |
|
6955 |
tmp___470 = (int )((Bool )0); |
| 6956 |
} |
|
6956 |
} |
| 6957 |
} else { |
|
6957 |
} else { |
| 6958 |
tmp___470 = (int )((Bool )0); |
|
6958 |
tmp___470 = (int )((Bool )0); |
| 6959 |
} |
|
6959 |
} |
| 6960 |
if (tmp___470) { |
|
6960 |
if (tmp___470) { |
| 6961 |
vgPlain_clo_error_limit = (Bool )0; |
|
6961 |
vgPlain_clo_error_limit = (Bool )0; |
| 6962 |
} else { |
|
6962 |
} else { |
| 6963 |
vgPlain_fmsg_bad_option(arg, |
|
6963 |
vgPlain_fmsg_bad_option(arg, |
| 6964 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
6964 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 6965 |
val___47); |
|
6965 |
val___47); |
| 6966 |
} |
|
6966 |
} |
| 6967 |
} |
|
6967 |
} |
| 6968 |
} else { |
|
6968 |
} else { |
| 6969 |
_L___57: |
|
6969 |
_L___57: |
| 6970 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
6970 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 6971 |
if ((unsigned int )"--error-exitcode=" != (unsigned int )((void *)0)) { |
|
6971 |
if ((unsigned int )"--error-exitcode=" != (unsigned int )((void *)0)) { |
| 6972 |
tmp___459 = vgPlain_strlen((Char const *)"--error-exitcode"); |
|
6972 |
tmp___459 = vgPlain_strlen((Char const *)"--error-exitcode"); |
| 6973 |
tmp___460 = vgPlain_strncmp((Char const *)arg, |
|
6973 |
tmp___460 = vgPlain_strncmp((Char const *)arg, |
| 6974 |
(Char const *)"--error-exitcode=", |
|
6974 |
(Char const *)"--error-exitcode=", |
| 6975 |
tmp___459 + 1UL); |
|
6975 |
tmp___459 + 1UL); |
| 6976 |
if (tmp___460 == 0) { |
|
6976 |
if (tmp___460 == 0) { |
| 6977 |
tmp___458 = (int )((Bool )1); |
|
6977 |
tmp___458 = (int )((Bool )1); |
| 6978 |
} else { |
|
6978 |
} else { |
| 6979 |
tmp___458 = (int )((Bool )0); |
|
6979 |
tmp___458 = (int )((Bool )0); |
| 6980 |
} |
|
6980 |
} |
| 6981 |
} else { |
|
6981 |
} else { |
| 6982 |
tmp___458 = (int )((Bool )0); |
|
6982 |
tmp___458 = (int )((Bool )0); |
| 6983 |
} |
|
6983 |
} |
| 6984 |
} else { |
|
6984 |
} else { |
| 6985 |
tmp___458 = (int )((Bool )0); |
|
6985 |
tmp___458 = (int )((Bool )0); |
| 6986 |
} |
|
6986 |
} |
| 6987 |
if (tmp___458) { |
|
6987 |
if (tmp___458) { |
| 6988 |
tmp___461 = vgPlain_strlen((Char const *)"--error-exitcode"); |
|
6988 |
tmp___461 = vgPlain_strlen((Char const *)"--error-exitcode"); |
| 6989 |
val___46 = (Char *)(arg + (tmp___461 + 1UL)); |
|
6989 |
val___46 = (Char *)(arg + (tmp___461 + 1UL)); |
| 6990 |
tmp___462 = vgPlain_strtoll10(val___46, |
|
6990 |
tmp___462 = vgPlain_strtoll10(val___46, |
| 6991 |
& s___11); |
|
6991 |
& s___11); |
| 6992 |
n___11 = tmp___462; |
|
6992 |
n___11 = tmp___462; |
| 6993 |
vgPlain_clo_error_exitcode = (Int )n___11; |
|
6993 |
vgPlain_clo_error_exitcode = (Int )n___11; |
| 6994 |
if (0 != (int )*(s___11 + 0)) { |
|
6994 |
if (0 != (int )*(s___11 + 0)) { |
| 6995 |
vgPlain_fmsg_bad_option(arg, |
|
6995 |
vgPlain_fmsg_bad_option(arg, |
| 6996 |
""); |
|
6996 |
""); |
| 6997 |
} else |
|
6997 |
} else |
| 6998 |
if ((Long )vgPlain_clo_error_exitcode != n___11) { |
|
6998 |
if ((Long )vgPlain_clo_error_exitcode != n___11) { |
| 6999 |
vgPlain_fmsg_bad_option(arg, |
|
6999 |
vgPlain_fmsg_bad_option(arg, |
| 7000 |
""); |
|
7000 |
""); |
| 7001 |
} else { |
|
7001 |
} else { |
| 7002 |
|
|
7002 |
|
| 7003 |
} |
|
7003 |
} |
| 7004 |
} else { |
|
7004 |
} else { |
| 7005 |
_L___56: |
|
7005 |
_L___56: |
| 7006 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7006 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7007 |
if ((unsigned int )"--show-emwarns=" != (unsigned int )((void *)0)) { |
|
7007 |
if ((unsigned int )"--show-emwarns=" != (unsigned int )((void *)0)) { |
| 7008 |
tmp___447 = vgPlain_strlen((Char const *)"--show-emwarns"); |
|
7008 |
tmp___447 = vgPlain_strlen((Char const *)"--show-emwarns"); |
| 7009 |
tmp___448 = vgPlain_strncmp((Char const *)arg, |
|
7009 |
tmp___448 = vgPlain_strncmp((Char const *)arg, |
| 7010 |
(Char const *)"--show-emwarns=", |
|
7010 |
(Char const *)"--show-emwarns=", |
| 7011 |
tmp___447 + 1UL); |
|
7011 |
tmp___447 + 1UL); |
| 7012 |
if (tmp___448 == 0) { |
|
7012 |
if (tmp___448 == 0) { |
| 7013 |
tmp___446 = (int )((Bool )1); |
|
7013 |
tmp___446 = (int )((Bool )1); |
| 7014 |
} else { |
|
7014 |
} else { |
| 7015 |
tmp___446 = (int )((Bool )0); |
|
7015 |
tmp___446 = (int )((Bool )0); |
| 7016 |
} |
|
7016 |
} |
| 7017 |
} else { |
|
7017 |
} else { |
| 7018 |
tmp___446 = (int )((Bool )0); |
|
7018 |
tmp___446 = (int )((Bool )0); |
| 7019 |
} |
|
7019 |
} |
| 7020 |
} else { |
|
7020 |
} else { |
| 7021 |
tmp___446 = (int )((Bool )0); |
|
7021 |
tmp___446 = (int )((Bool )0); |
| 7022 |
} |
|
7022 |
} |
| 7023 |
if (tmp___446) { |
|
7023 |
if (tmp___446) { |
| 7024 |
tmp___449 = vgPlain_strlen((Char const *)"--show-emwarns"); |
|
7024 |
tmp___449 = vgPlain_strlen((Char const *)"--show-emwarns"); |
| 7025 |
val___45 = (Char *)(arg + (tmp___449 + 1UL)); |
|
7025 |
val___45 = (Char *)(arg + (tmp___449 + 1UL)); |
| 7026 |
if ((unsigned int )val___45 != (unsigned int )((void *)0)) { |
|
7026 |
if ((unsigned int )val___45 != (unsigned int )((void *)0)) { |
| 7027 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7027 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7028 |
tmp___455 = vgPlain_strcmp((Char const *)val___45, |
|
7028 |
tmp___455 = vgPlain_strcmp((Char const *)val___45, |
| 7029 |
(Char const *)"yes"); |
|
7029 |
(Char const *)"yes"); |
| 7030 |
if (tmp___455 == 0) { |
|
7030 |
if (tmp___455 == 0) { |
| 7031 |
tmp___454 = (int )((Bool )1); |
|
7031 |
tmp___454 = (int )((Bool )1); |
| 7032 |
} else { |
|
7032 |
} else { |
| 7033 |
tmp___454 = (int )((Bool )0); |
|
7033 |
tmp___454 = (int )((Bool )0); |
| 7034 |
} |
|
7034 |
} |
| 7035 |
} else { |
|
7035 |
} else { |
| 7036 |
tmp___454 = (int )((Bool )0); |
|
7036 |
tmp___454 = (int )((Bool )0); |
| 7037 |
} |
|
7037 |
} |
| 7038 |
} else { |
|
7038 |
} else { |
| 7039 |
tmp___454 = (int )((Bool )0); |
|
7039 |
tmp___454 = (int )((Bool )0); |
| 7040 |
} |
|
7040 |
} |
| 7041 |
if (tmp___454) { |
|
7041 |
if (tmp___454) { |
| 7042 |
vgPlain_clo_show_emwarns = (Bool )1; |
|
7042 |
vgPlain_clo_show_emwarns = (Bool )1; |
| 7043 |
} else { |
|
7043 |
} else { |
| 7044 |
if ((unsigned int )val___45 != (unsigned int )((void *)0)) { |
|
7044 |
if ((unsigned int )val___45 != (unsigned int )((void *)0)) { |
| 7045 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7045 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7046 |
tmp___452 = vgPlain_strcmp((Char const *)val___45, |
|
7046 |
tmp___452 = vgPlain_strcmp((Char const *)val___45, |
| 7047 |
(Char const *)"no"); |
|
7047 |
(Char const *)"no"); |
| 7048 |
if (tmp___452 == 0) { |
|
7048 |
if (tmp___452 == 0) { |
| 7049 |
tmp___451 = (int )((Bool )1); |
|
7049 |
tmp___451 = (int )((Bool )1); |
| 7050 |
} else { |
|
7050 |
} else { |
| 7051 |
tmp___451 = (int )((Bool )0); |
|
7051 |
tmp___451 = (int )((Bool )0); |
| 7052 |
} |
|
7052 |
} |
| 7053 |
} else { |
|
7053 |
} else { |
| 7054 |
tmp___451 = (int )((Bool )0); |
|
7054 |
tmp___451 = (int )((Bool )0); |
| 7055 |
} |
|
7055 |
} |
| 7056 |
} else { |
|
7056 |
} else { |
| 7057 |
tmp___451 = (int )((Bool )0); |
|
7057 |
tmp___451 = (int )((Bool )0); |
| 7058 |
} |
|
7058 |
} |
| 7059 |
if (tmp___451) { |
|
7059 |
if (tmp___451) { |
| 7060 |
vgPlain_clo_show_emwarns = (Bool )0; |
|
7060 |
vgPlain_clo_show_emwarns = (Bool )0; |
| 7061 |
} else { |
|
7061 |
} else { |
| 7062 |
vgPlain_fmsg_bad_option(arg, |
|
7062 |
vgPlain_fmsg_bad_option(arg, |
| 7063 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7063 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7064 |
val___45); |
|
7064 |
val___45); |
| 7065 |
} |
|
7065 |
} |
| 7066 |
} |
|
7066 |
} |
| 7067 |
} else { |
|
7067 |
} else { |
| 7068 |
_L___55: |
|
7068 |
_L___55: |
| 7069 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7069 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7070 |
if ((unsigned int )"--run-libc-freeres=" != (unsigned int )((void *)0)) { |
|
7070 |
if ((unsigned int )"--run-libc-freeres=" != (unsigned int )((void *)0)) { |
| 7071 |
tmp___435 = vgPlain_strlen((Char const *)"--run-libc-freeres"); |
|
7071 |
tmp___435 = vgPlain_strlen((Char const *)"--run-libc-freeres"); |
| 7072 |
tmp___436 = vgPlain_strncmp((Char const *)arg, |
|
7072 |
tmp___436 = vgPlain_strncmp((Char const *)arg, |
| 7073 |
(Char const *)"--run-libc-freeres=", |
|
7073 |
(Char const *)"--run-libc-freeres=", |
| 7074 |
tmp___435 + 1UL); |
|
7074 |
tmp___435 + 1UL); |
| 7075 |
if (tmp___436 == 0) { |
|
7075 |
if (tmp___436 == 0) { |
| 7076 |
tmp___434 = (int )((Bool )1); |
|
7076 |
tmp___434 = (int )((Bool )1); |
| 7077 |
} else { |
|
7077 |
} else { |
| 7078 |
tmp___434 = (int )((Bool )0); |
|
7078 |
tmp___434 = (int )((Bool )0); |
| 7079 |
} |
|
7079 |
} |
| 7080 |
} else { |
|
7080 |
} else { |
| 7081 |
tmp___434 = (int )((Bool )0); |
|
7081 |
tmp___434 = (int )((Bool )0); |
| 7082 |
} |
|
7082 |
} |
| 7083 |
} else { |
|
7083 |
} else { |
| 7084 |
tmp___434 = (int )((Bool )0); |
|
7084 |
tmp___434 = (int )((Bool )0); |
| 7085 |
} |
|
7085 |
} |
| 7086 |
if (tmp___434) { |
|
7086 |
if (tmp___434) { |
| 7087 |
tmp___437 = vgPlain_strlen((Char const *)"--run-libc-freeres"); |
|
7087 |
tmp___437 = vgPlain_strlen((Char const *)"--run-libc-freeres"); |
| 7088 |
val___44 = (Char *)(arg + (tmp___437 + 1UL)); |
|
7088 |
val___44 = (Char *)(arg + (tmp___437 + 1UL)); |
| 7089 |
if ((unsigned int )val___44 != (unsigned int )((void *)0)) { |
|
7089 |
if ((unsigned int )val___44 != (unsigned int )((void *)0)) { |
| 7090 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7090 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7091 |
tmp___443 = vgPlain_strcmp((Char const *)val___44, |
|
7091 |
tmp___443 = vgPlain_strcmp((Char const *)val___44, |
| 7092 |
(Char const *)"yes"); |
|
7092 |
(Char const *)"yes"); |
| 7093 |
if (tmp___443 == 0) { |
|
7093 |
if (tmp___443 == 0) { |
| 7094 |
tmp___442 = (int )((Bool )1); |
|
7094 |
tmp___442 = (int )((Bool )1); |
| 7095 |
} else { |
|
7095 |
} else { |
| 7096 |
tmp___442 = (int )((Bool )0); |
|
7096 |
tmp___442 = (int )((Bool )0); |
| 7097 |
} |
|
7097 |
} |
| 7098 |
} else { |
|
7098 |
} else { |
| 7099 |
tmp___442 = (int )((Bool )0); |
|
7099 |
tmp___442 = (int )((Bool )0); |
| 7100 |
} |
|
7100 |
} |
| 7101 |
} else { |
|
7101 |
} else { |
| 7102 |
tmp___442 = (int )((Bool )0); |
|
7102 |
tmp___442 = (int )((Bool )0); |
| 7103 |
} |
|
7103 |
} |
| 7104 |
if (tmp___442) { |
|
7104 |
if (tmp___442) { |
| 7105 |
vgPlain_clo_run_libc_freeres = (Bool )1; |
|
7105 |
vgPlain_clo_run_libc_freeres = (Bool )1; |
| 7106 |
} else { |
|
7106 |
} else { |
| 7107 |
if ((unsigned int )val___44 != (unsigned int )((void *)0)) { |
|
7107 |
if ((unsigned int )val___44 != (unsigned int )((void *)0)) { |
| 7108 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7108 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7109 |
tmp___440 = vgPlain_strcmp((Char const *)val___44, |
|
7109 |
tmp___440 = vgPlain_strcmp((Char const *)val___44, |
| 7110 |
(Char const *)"no"); |
|
7110 |
(Char const *)"no"); |
| 7111 |
if (tmp___440 == 0) { |
|
7111 |
if (tmp___440 == 0) { |
| 7112 |
tmp___439 = (int )((Bool )1); |
|
7112 |
tmp___439 = (int )((Bool )1); |
| 7113 |
} else { |
|
7113 |
} else { |
| 7114 |
tmp___439 = (int )((Bool )0); |
|
7114 |
tmp___439 = (int )((Bool )0); |
| 7115 |
} |
|
7115 |
} |
| 7116 |
} else { |
|
7116 |
} else { |
| 7117 |
tmp___439 = (int )((Bool )0); |
|
7117 |
tmp___439 = (int )((Bool )0); |
| 7118 |
} |
|
7118 |
} |
| 7119 |
} else { |
|
7119 |
} else { |
| 7120 |
tmp___439 = (int )((Bool )0); |
|
7120 |
tmp___439 = (int )((Bool )0); |
| 7121 |
} |
|
7121 |
} |
| 7122 |
if (tmp___439) { |
|
7122 |
if (tmp___439) { |
| 7123 |
vgPlain_clo_run_libc_freeres = (Bool )0; |
|
7123 |
vgPlain_clo_run_libc_freeres = (Bool )0; |
| 7124 |
} else { |
|
7124 |
} else { |
| 7125 |
vgPlain_fmsg_bad_option(arg, |
|
7125 |
vgPlain_fmsg_bad_option(arg, |
| 7126 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7126 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7127 |
val___44); |
|
7127 |
val___44); |
| 7128 |
} |
|
7128 |
} |
| 7129 |
} |
|
7129 |
} |
| 7130 |
} else { |
|
7130 |
} else { |
| 7131 |
_L___54: |
|
7131 |
_L___54: |
| 7132 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7132 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7133 |
if ((unsigned int )"--show-below-main=" != (unsigned int )((void *)0)) { |
|
7133 |
if ((unsigned int )"--show-below-main=" != (unsigned int )((void *)0)) { |
| 7134 |
tmp___423 = vgPlain_strlen((Char const *)"--show-below-main"); |
|
7134 |
tmp___423 = vgPlain_strlen((Char const *)"--show-below-main"); |
| 7135 |
tmp___424 = vgPlain_strncmp((Char const *)arg, |
|
7135 |
tmp___424 = vgPlain_strncmp((Char const *)arg, |
| 7136 |
(Char const *)"--show-below-main=", |
|
7136 |
(Char const *)"--show-below-main=", |
| 7137 |
tmp___423 + 1UL); |
|
7137 |
tmp___423 + 1UL); |
| 7138 |
if (tmp___424 == 0) { |
|
7138 |
if (tmp___424 == 0) { |
| 7139 |
tmp___422 = (int )((Bool )1); |
|
7139 |
tmp___422 = (int )((Bool )1); |
| 7140 |
} else { |
|
7140 |
} else { |
| 7141 |
tmp___422 = (int )((Bool )0); |
|
7141 |
tmp___422 = (int )((Bool )0); |
| 7142 |
} |
|
7142 |
} |
| 7143 |
} else { |
|
7143 |
} else { |
| 7144 |
tmp___422 = (int )((Bool )0); |
|
7144 |
tmp___422 = (int )((Bool )0); |
| 7145 |
} |
|
7145 |
} |
| 7146 |
} else { |
|
7146 |
} else { |
| 7147 |
tmp___422 = (int )((Bool )0); |
|
7147 |
tmp___422 = (int )((Bool )0); |
| 7148 |
} |
|
7148 |
} |
| 7149 |
if (tmp___422) { |
|
7149 |
if (tmp___422) { |
| 7150 |
tmp___425 = vgPlain_strlen((Char const *)"--show-below-main"); |
|
7150 |
tmp___425 = vgPlain_strlen((Char const *)"--show-below-main"); |
| 7151 |
val___43 = (Char *)(arg + (tmp___425 + 1UL)); |
|
7151 |
val___43 = (Char *)(arg + (tmp___425 + 1UL)); |
| 7152 |
if ((unsigned int )val___43 != (unsigned int )((void *)0)) { |
|
7152 |
if ((unsigned int )val___43 != (unsigned int )((void *)0)) { |
| 7153 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7153 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7154 |
tmp___431 = vgPlain_strcmp((Char const *)val___43, |
|
7154 |
tmp___431 = vgPlain_strcmp((Char const *)val___43, |
| 7155 |
(Char const *)"yes"); |
|
7155 |
(Char const *)"yes"); |
| 7156 |
if (tmp___431 == 0) { |
|
7156 |
if (tmp___431 == 0) { |
| 7157 |
tmp___430 = (int )((Bool )1); |
|
7157 |
tmp___430 = (int )((Bool )1); |
| 7158 |
} else { |
|
7158 |
} else { |
| 7159 |
tmp___430 = (int )((Bool )0); |
|
7159 |
tmp___430 = (int )((Bool )0); |
| 7160 |
} |
|
7160 |
} |
| 7161 |
} else { |
|
7161 |
} else { |
| 7162 |
tmp___430 = (int )((Bool )0); |
|
7162 |
tmp___430 = (int )((Bool )0); |
| 7163 |
} |
|
7163 |
} |
| 7164 |
} else { |
|
7164 |
} else { |
| 7165 |
tmp___430 = (int )((Bool )0); |
|
7165 |
tmp___430 = (int )((Bool )0); |
| 7166 |
} |
|
7166 |
} |
| 7167 |
if (tmp___430) { |
|
7167 |
if (tmp___430) { |
| 7168 |
vgPlain_clo_show_below_main = (Bool )1; |
|
7168 |
vgPlain_clo_show_below_main = (Bool )1; |
| 7169 |
} else { |
|
7169 |
} else { |
| 7170 |
if ((unsigned int )val___43 != (unsigned int )((void *)0)) { |
|
7170 |
if ((unsigned int )val___43 != (unsigned int )((void *)0)) { |
| 7171 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7171 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7172 |
tmp___428 = vgPlain_strcmp((Char const *)val___43, |
|
7172 |
tmp___428 = vgPlain_strcmp((Char const *)val___43, |
| 7173 |
(Char const *)"no"); |
|
7173 |
(Char const *)"no"); |
| 7174 |
if (tmp___428 == 0) { |
|
7174 |
if (tmp___428 == 0) { |
| 7175 |
tmp___427 = (int )((Bool )1); |
|
7175 |
tmp___427 = (int )((Bool )1); |
| 7176 |
} else { |
|
7176 |
} else { |
| 7177 |
tmp___427 = (int )((Bool )0); |
|
7177 |
tmp___427 = (int )((Bool )0); |
| 7178 |
} |
|
7178 |
} |
| 7179 |
} else { |
|
7179 |
} else { |
| 7180 |
tmp___427 = (int )((Bool )0); |
|
7180 |
tmp___427 = (int )((Bool )0); |
| 7181 |
} |
|
7181 |
} |
| 7182 |
} else { |
|
7182 |
} else { |
| 7183 |
tmp___427 = (int )((Bool )0); |
|
7183 |
tmp___427 = (int )((Bool )0); |
| 7184 |
} |
|
7184 |
} |
| 7185 |
if (tmp___427) { |
|
7185 |
if (tmp___427) { |
| 7186 |
vgPlain_clo_show_below_main = (Bool )0; |
|
7186 |
vgPlain_clo_show_below_main = (Bool )0; |
| 7187 |
} else { |
|
7187 |
} else { |
| 7188 |
vgPlain_fmsg_bad_option(arg, |
|
7188 |
vgPlain_fmsg_bad_option(arg, |
| 7189 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7189 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7190 |
val___43); |
|
7190 |
val___43); |
| 7191 |
} |
|
7191 |
} |
| 7192 |
} |
|
7192 |
} |
| 7193 |
} else { |
|
7193 |
} else { |
| 7194 |
_L___53: |
|
7194 |
_L___53: |
| 7195 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7195 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7196 |
if ((unsigned int )"--time-stamp=" != (unsigned int )((void *)0)) { |
|
7196 |
if ((unsigned int )"--time-stamp=" != (unsigned int )((void *)0)) { |
| 7197 |
tmp___411 = vgPlain_strlen((Char const *)"--time-stamp"); |
|
7197 |
tmp___411 = vgPlain_strlen((Char const *)"--time-stamp"); |
| 7198 |
tmp___412 = vgPlain_strncmp((Char const *)arg, |
|
7198 |
tmp___412 = vgPlain_strncmp((Char const *)arg, |
| 7199 |
(Char const *)"--time-stamp=", |
|
7199 |
(Char const *)"--time-stamp=", |
| 7200 |
tmp___411 + 1UL); |
|
7200 |
tmp___411 + 1UL); |
| 7201 |
if (tmp___412 == 0) { |
|
7201 |
if (tmp___412 == 0) { |
| 7202 |
tmp___410 = (int )((Bool )1); |
|
7202 |
tmp___410 = (int )((Bool )1); |
| 7203 |
} else { |
|
7203 |
} else { |
| 7204 |
tmp___410 = (int )((Bool )0); |
|
7204 |
tmp___410 = (int )((Bool )0); |
| 7205 |
} |
|
7205 |
} |
| 7206 |
} else { |
|
7206 |
} else { |
| 7207 |
tmp___410 = (int )((Bool )0); |
|
7207 |
tmp___410 = (int )((Bool )0); |
| 7208 |
} |
|
7208 |
} |
| 7209 |
} else { |
|
7209 |
} else { |
| 7210 |
tmp___410 = (int )((Bool )0); |
|
7210 |
tmp___410 = (int )((Bool )0); |
| 7211 |
} |
|
7211 |
} |
| 7212 |
if (tmp___410) { |
|
7212 |
if (tmp___410) { |
| 7213 |
tmp___413 = vgPlain_strlen((Char const *)"--time-stamp"); |
|
7213 |
tmp___413 = vgPlain_strlen((Char const *)"--time-stamp"); |
| 7214 |
val___42 = (Char *)(arg + (tmp___413 + 1UL)); |
|
7214 |
val___42 = (Char *)(arg + (tmp___413 + 1UL)); |
| 7215 |
if ((unsigned int )val___42 != (unsigned int )((void *)0)) { |
|
7215 |
if ((unsigned int )val___42 != (unsigned int )((void *)0)) { |
| 7216 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7216 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7217 |
tmp___419 = vgPlain_strcmp((Char const *)val___42, |
|
7217 |
tmp___419 = vgPlain_strcmp((Char const *)val___42, |
| 7218 |
(Char const *)"yes"); |
|
7218 |
(Char const *)"yes"); |
| 7219 |
if (tmp___419 == 0) { |
|
7219 |
if (tmp___419 == 0) { |
| 7220 |
tmp___418 = (int )((Bool )1); |
|
7220 |
tmp___418 = (int )((Bool )1); |
| 7221 |
} else { |
|
7221 |
} else { |
| 7222 |
tmp___418 = (int )((Bool )0); |
|
7222 |
tmp___418 = (int )((Bool )0); |
| 7223 |
} |
|
7223 |
} |
| 7224 |
} else { |
|
7224 |
} else { |
| 7225 |
tmp___418 = (int )((Bool )0); |
|
7225 |
tmp___418 = (int )((Bool )0); |
| 7226 |
} |
|
7226 |
} |
| 7227 |
} else { |
|
7227 |
} else { |
| 7228 |
tmp___418 = (int )((Bool )0); |
|
7228 |
tmp___418 = (int )((Bool )0); |
| 7229 |
} |
|
7229 |
} |
| 7230 |
if (tmp___418) { |
|
7230 |
if (tmp___418) { |
| 7231 |
vgPlain_clo_time_stamp = (Bool )1; |
|
7231 |
vgPlain_clo_time_stamp = (Bool )1; |
| 7232 |
} else { |
|
7232 |
} else { |
| 7233 |
if ((unsigned int )val___42 != (unsigned int )((void *)0)) { |
|
7233 |
if ((unsigned int )val___42 != (unsigned int )((void *)0)) { |
| 7234 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7234 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7235 |
tmp___416 = vgPlain_strcmp((Char const *)val___42, |
|
7235 |
tmp___416 = vgPlain_strcmp((Char const *)val___42, |
| 7236 |
(Char const *)"no"); |
|
7236 |
(Char const *)"no"); |
| 7237 |
if (tmp___416 == 0) { |
|
7237 |
if (tmp___416 == 0) { |
| 7238 |
tmp___415 = (int )((Bool )1); |
|
7238 |
tmp___415 = (int )((Bool )1); |
| 7239 |
} else { |
|
7239 |
} else { |
| 7240 |
tmp___415 = (int )((Bool )0); |
|
7240 |
tmp___415 = (int )((Bool )0); |
| 7241 |
} |
|
7241 |
} |
| 7242 |
} else { |
|
7242 |
} else { |
| 7243 |
tmp___415 = (int )((Bool )0); |
|
7243 |
tmp___415 = (int )((Bool )0); |
| 7244 |
} |
|
7244 |
} |
| 7245 |
} else { |
|
7245 |
} else { |
| 7246 |
tmp___415 = (int )((Bool )0); |
|
7246 |
tmp___415 = (int )((Bool )0); |
| 7247 |
} |
|
7247 |
} |
| 7248 |
if (tmp___415) { |
|
7248 |
if (tmp___415) { |
| 7249 |
vgPlain_clo_time_stamp = (Bool )0; |
|
7249 |
vgPlain_clo_time_stamp = (Bool )0; |
| 7250 |
} else { |
|
7250 |
} else { |
| 7251 |
vgPlain_fmsg_bad_option(arg, |
|
7251 |
vgPlain_fmsg_bad_option(arg, |
| 7252 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7252 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7253 |
val___42); |
|
7253 |
val___42); |
| 7254 |
} |
|
7254 |
} |
| 7255 |
} |
|
7255 |
} |
| 7256 |
} else { |
|
7256 |
} else { |
| 7257 |
_L___52: |
|
7257 |
_L___52: |
| 7258 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7258 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7259 |
if ((unsigned int )"--track-fds=" != (unsigned int )((void *)0)) { |
|
7259 |
if ((unsigned int )"--track-fds=" != (unsigned int )((void *)0)) { |
| 7260 |
tmp___399 = vgPlain_strlen((Char const *)"--track-fds"); |
|
7260 |
tmp___399 = vgPlain_strlen((Char const *)"--track-fds"); |
| 7261 |
tmp___400 = vgPlain_strncmp((Char const *)arg, |
|
7261 |
tmp___400 = vgPlain_strncmp((Char const *)arg, |
| 7262 |
(Char const *)"--track-fds=", |
|
7262 |
(Char const *)"--track-fds=", |
| 7263 |
tmp___399 + 1UL); |
|
7263 |
tmp___399 + 1UL); |
| 7264 |
if (tmp___400 == 0) { |
|
7264 |
if (tmp___400 == 0) { |
| 7265 |
tmp___398 = (int )((Bool )1); |
|
7265 |
tmp___398 = (int )((Bool )1); |
| 7266 |
} else { |
|
7266 |
} else { |
| 7267 |
tmp___398 = (int )((Bool )0); |
|
7267 |
tmp___398 = (int )((Bool )0); |
| 7268 |
} |
|
7268 |
} |
| 7269 |
} else { |
|
7269 |
} else { |
| 7270 |
tmp___398 = (int )((Bool )0); |
|
7270 |
tmp___398 = (int )((Bool )0); |
| 7271 |
} |
|
7271 |
} |
| 7272 |
} else { |
|
7272 |
} else { |
| 7273 |
tmp___398 = (int )((Bool )0); |
|
7273 |
tmp___398 = (int )((Bool )0); |
| 7274 |
} |
|
7274 |
} |
| 7275 |
if (tmp___398) { |
|
7275 |
if (tmp___398) { |
| 7276 |
tmp___401 = vgPlain_strlen((Char const *)"--track-fds"); |
|
7276 |
tmp___401 = vgPlain_strlen((Char const *)"--track-fds"); |
| 7277 |
val___41 = (Char *)(arg + (tmp___401 + 1UL)); |
|
7277 |
val___41 = (Char *)(arg + (tmp___401 + 1UL)); |
| 7278 |
if ((unsigned int )val___41 != (unsigned int )((void *)0)) { |
|
7278 |
if ((unsigned int )val___41 != (unsigned int )((void *)0)) { |
| 7279 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7279 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7280 |
tmp___407 = vgPlain_strcmp((Char const *)val___41, |
|
7280 |
tmp___407 = vgPlain_strcmp((Char const *)val___41, |
| 7281 |
(Char const *)"yes"); |
|
7281 |
(Char const *)"yes"); |
| 7282 |
if (tmp___407 == 0) { |
|
7282 |
if (tmp___407 == 0) { |
| 7283 |
tmp___406 = (int )((Bool )1); |
|
7283 |
tmp___406 = (int )((Bool )1); |
| 7284 |
} else { |
|
7284 |
} else { |
| 7285 |
tmp___406 = (int )((Bool )0); |
|
7285 |
tmp___406 = (int )((Bool )0); |
| 7286 |
} |
|
7286 |
} |
| 7287 |
} else { |
|
7287 |
} else { |
| 7288 |
tmp___406 = (int )((Bool )0); |
|
7288 |
tmp___406 = (int )((Bool )0); |
| 7289 |
} |
|
7289 |
} |
| 7290 |
} else { |
|
7290 |
} else { |
| 7291 |
tmp___406 = (int )((Bool )0); |
|
7291 |
tmp___406 = (int )((Bool )0); |
| 7292 |
} |
|
7292 |
} |
| 7293 |
if (tmp___406) { |
|
7293 |
if (tmp___406) { |
| 7294 |
vgPlain_clo_track_fds = (Bool )1; |
|
7294 |
vgPlain_clo_track_fds = (Bool )1; |
| 7295 |
} else { |
|
7295 |
} else { |
| 7296 |
if ((unsigned int )val___41 != (unsigned int )((void *)0)) { |
|
7296 |
if ((unsigned int )val___41 != (unsigned int )((void *)0)) { |
| 7297 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7297 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7298 |
tmp___404 = vgPlain_strcmp((Char const *)val___41, |
|
7298 |
tmp___404 = vgPlain_strcmp((Char const *)val___41, |
| 7299 |
(Char const *)"no"); |
|
7299 |
(Char const *)"no"); |
| 7300 |
if (tmp___404 == 0) { |
|
7300 |
if (tmp___404 == 0) { |
| 7301 |
tmp___403 = (int )((Bool )1); |
|
7301 |
tmp___403 = (int )((Bool )1); |
| 7302 |
} else { |
|
7302 |
} else { |
| 7303 |
tmp___403 = (int )((Bool )0); |
|
7303 |
tmp___403 = (int )((Bool )0); |
| 7304 |
} |
|
7304 |
} |
| 7305 |
} else { |
|
7305 |
} else { |
| 7306 |
tmp___403 = (int )((Bool )0); |
|
7306 |
tmp___403 = (int )((Bool )0); |
| 7307 |
} |
|
7307 |
} |
| 7308 |
} else { |
|
7308 |
} else { |
| 7309 |
tmp___403 = (int )((Bool )0); |
|
7309 |
tmp___403 = (int )((Bool )0); |
| 7310 |
} |
|
7310 |
} |
| 7311 |
if (tmp___403) { |
|
7311 |
if (tmp___403) { |
| 7312 |
vgPlain_clo_track_fds = (Bool )0; |
|
7312 |
vgPlain_clo_track_fds = (Bool )0; |
| 7313 |
} else { |
|
7313 |
} else { |
| 7314 |
vgPlain_fmsg_bad_option(arg, |
|
7314 |
vgPlain_fmsg_bad_option(arg, |
| 7315 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7315 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7316 |
val___41); |
|
7316 |
val___41); |
| 7317 |
} |
|
7317 |
} |
| 7318 |
} |
|
7318 |
} |
| 7319 |
} else { |
|
7319 |
} else { |
| 7320 |
_L___51: |
|
7320 |
_L___51: |
| 7321 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7321 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7322 |
if ((unsigned int )"--trace-children=" != (unsigned int )((void *)0)) { |
|
7322 |
if ((unsigned int )"--trace-children=" != (unsigned int )((void *)0)) { |
| 7323 |
tmp___387 = vgPlain_strlen((Char const *)"--trace-children"); |
|
7323 |
tmp___387 = vgPlain_strlen((Char const *)"--trace-children"); |
| 7324 |
tmp___388 = vgPlain_strncmp((Char const *)arg, |
|
7324 |
tmp___388 = vgPlain_strncmp((Char const *)arg, |
| 7325 |
(Char const *)"--trace-children=", |
|
7325 |
(Char const *)"--trace-children=", |
| 7326 |
tmp___387 + 1UL); |
|
7326 |
tmp___387 + 1UL); |
| 7327 |
if (tmp___388 == 0) { |
|
7327 |
if (tmp___388 == 0) { |
| 7328 |
tmp___386 = (int )((Bool )1); |
|
7328 |
tmp___386 = (int )((Bool )1); |
| 7329 |
} else { |
|
7329 |
} else { |
| 7330 |
tmp___386 = (int )((Bool )0); |
|
7330 |
tmp___386 = (int )((Bool )0); |
| 7331 |
} |
|
7331 |
} |
| 7332 |
} else { |
|
7332 |
} else { |
| 7333 |
tmp___386 = (int )((Bool )0); |
|
7333 |
tmp___386 = (int )((Bool )0); |
| 7334 |
} |
|
7334 |
} |
| 7335 |
} else { |
|
7335 |
} else { |
| 7336 |
tmp___386 = (int )((Bool )0); |
|
7336 |
tmp___386 = (int )((Bool )0); |
| 7337 |
} |
|
7337 |
} |
| 7338 |
if (tmp___386) { |
|
7338 |
if (tmp___386) { |
| 7339 |
tmp___389 = vgPlain_strlen((Char const *)"--trace-children"); |
|
7339 |
tmp___389 = vgPlain_strlen((Char const *)"--trace-children"); |
| 7340 |
val___40 = (Char *)(arg + (tmp___389 + 1UL)); |
|
7340 |
val___40 = (Char *)(arg + (tmp___389 + 1UL)); |
| 7341 |
if ((unsigned int )val___40 != (unsigned int )((void *)0)) { |
|
7341 |
if ((unsigned int )val___40 != (unsigned int )((void *)0)) { |
| 7342 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7342 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7343 |
tmp___395 = vgPlain_strcmp((Char const *)val___40, |
|
7343 |
tmp___395 = vgPlain_strcmp((Char const *)val___40, |
| 7344 |
(Char const *)"yes"); |
|
7344 |
(Char const *)"yes"); |
| 7345 |
if (tmp___395 == 0) { |
|
7345 |
if (tmp___395 == 0) { |
| 7346 |
tmp___394 = (int )((Bool )1); |
|
7346 |
tmp___394 = (int )((Bool )1); |
| 7347 |
} else { |
|
7347 |
} else { |
| 7348 |
tmp___394 = (int )((Bool )0); |
|
7348 |
tmp___394 = (int )((Bool )0); |
| 7349 |
} |
|
7349 |
} |
| 7350 |
} else { |
|
7350 |
} else { |
| 7351 |
tmp___394 = (int )((Bool )0); |
|
7351 |
tmp___394 = (int )((Bool )0); |
| 7352 |
} |
|
7352 |
} |
| 7353 |
} else { |
|
7353 |
} else { |
| 7354 |
tmp___394 = (int )((Bool )0); |
|
7354 |
tmp___394 = (int )((Bool )0); |
| 7355 |
} |
|
7355 |
} |
| 7356 |
if (tmp___394) { |
|
7356 |
if (tmp___394) { |
| 7357 |
vgPlain_clo_trace_children = (Bool )1; |
|
7357 |
vgPlain_clo_trace_children = (Bool )1; |
| 7358 |
} else { |
|
7358 |
} else { |
| 7359 |
if ((unsigned int )val___40 != (unsigned int )((void *)0)) { |
|
7359 |
if ((unsigned int )val___40 != (unsigned int )((void *)0)) { |
| 7360 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7360 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7361 |
tmp___392 = vgPlain_strcmp((Char const *)val___40, |
|
7361 |
tmp___392 = vgPlain_strcmp((Char const *)val___40, |
| 7362 |
(Char const *)"no"); |
|
7362 |
(Char const *)"no"); |
| 7363 |
if (tmp___392 == 0) { |
|
7363 |
if (tmp___392 == 0) { |
| 7364 |
tmp___391 = (int )((Bool )1); |
|
7364 |
tmp___391 = (int )((Bool )1); |
| 7365 |
} else { |
|
7365 |
} else { |
| 7366 |
tmp___391 = (int )((Bool )0); |
|
7366 |
tmp___391 = (int )((Bool )0); |
| 7367 |
} |
|
7367 |
} |
| 7368 |
} else { |
|
7368 |
} else { |
| 7369 |
tmp___391 = (int )((Bool )0); |
|
7369 |
tmp___391 = (int )((Bool )0); |
| 7370 |
} |
|
7370 |
} |
| 7371 |
} else { |
|
7371 |
} else { |
| 7372 |
tmp___391 = (int )((Bool )0); |
|
7372 |
tmp___391 = (int )((Bool )0); |
| 7373 |
} |
|
7373 |
} |
| 7374 |
if (tmp___391) { |
|
7374 |
if (tmp___391) { |
| 7375 |
vgPlain_clo_trace_children = (Bool )0; |
|
7375 |
vgPlain_clo_trace_children = (Bool )0; |
| 7376 |
} else { |
|
7376 |
} else { |
| 7377 |
vgPlain_fmsg_bad_option(arg, |
|
7377 |
vgPlain_fmsg_bad_option(arg, |
| 7378 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7378 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7379 |
val___40); |
|
7379 |
val___40); |
| 7380 |
} |
|
7380 |
} |
| 7381 |
} |
|
7381 |
} |
| 7382 |
} else { |
|
7382 |
} else { |
| 7383 |
_L___50: |
|
7383 |
_L___50: |
| 7384 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7384 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7385 |
if ((unsigned int )"--child-silent-after-fork=" != (unsigned int )((void *)0)) { |
|
7385 |
if ((unsigned int )"--child-silent-after-fork=" != (unsigned int )((void *)0)) { |
| 7386 |
tmp___375 = vgPlain_strlen((Char const *)"--child-silent-after-fork"); |
|
7386 |
tmp___375 = vgPlain_strlen((Char const *)"--child-silent-after-fork"); |
| 7387 |
tmp___376 = vgPlain_strncmp((Char const *)arg, |
|
7387 |
tmp___376 = vgPlain_strncmp((Char const *)arg, |
| 7388 |
(Char const *)"--child-silent-after-fork=", |
|
7388 |
(Char const *)"--child-silent-after-fork=", |
| 7389 |
tmp___375 + 1UL); |
|
7389 |
tmp___375 + 1UL); |
| 7390 |
if (tmp___376 == 0) { |
|
7390 |
if (tmp___376 == 0) { |
| 7391 |
tmp___374 = (int )((Bool )1); |
|
7391 |
tmp___374 = (int )((Bool )1); |
| 7392 |
} else { |
|
7392 |
} else { |
| 7393 |
tmp___374 = (int )((Bool )0); |
|
7393 |
tmp___374 = (int )((Bool )0); |
| 7394 |
} |
|
7394 |
} |
| 7395 |
} else { |
|
7395 |
} else { |
| 7396 |
tmp___374 = (int )((Bool )0); |
|
7396 |
tmp___374 = (int )((Bool )0); |
| 7397 |
} |
|
7397 |
} |
| 7398 |
} else { |
|
7398 |
} else { |
| 7399 |
tmp___374 = (int )((Bool )0); |
|
7399 |
tmp___374 = (int )((Bool )0); |
| 7400 |
} |
|
7400 |
} |
| 7401 |
if (tmp___374) { |
|
7401 |
if (tmp___374) { |
| 7402 |
tmp___377 = vgPlain_strlen((Char const *)"--child-silent-after-fork"); |
|
7402 |
tmp___377 = vgPlain_strlen((Char const *)"--child-silent-after-fork"); |
| 7403 |
val___39 = (Char *)(arg + (tmp___377 + 1UL)); |
|
7403 |
val___39 = (Char *)(arg + (tmp___377 + 1UL)); |
| 7404 |
if ((unsigned int )val___39 != (unsigned int )((void *)0)) { |
|
7404 |
if ((unsigned int )val___39 != (unsigned int )((void *)0)) { |
| 7405 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7405 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7406 |
tmp___383 = vgPlain_strcmp((Char const *)val___39, |
|
7406 |
tmp___383 = vgPlain_strcmp((Char const *)val___39, |
| 7407 |
(Char const *)"yes"); |
|
7407 |
(Char const *)"yes"); |
| 7408 |
if (tmp___383 == 0) { |
|
7408 |
if (tmp___383 == 0) { |
| 7409 |
tmp___382 = (int )((Bool )1); |
|
7409 |
tmp___382 = (int )((Bool )1); |
| 7410 |
} else { |
|
7410 |
} else { |
| 7411 |
tmp___382 = (int )((Bool )0); |
|
7411 |
tmp___382 = (int )((Bool )0); |
| 7412 |
} |
|
7412 |
} |
| 7413 |
} else { |
|
7413 |
} else { |
| 7414 |
tmp___382 = (int )((Bool )0); |
|
7414 |
tmp___382 = (int )((Bool )0); |
| 7415 |
} |
|
7415 |
} |
| 7416 |
} else { |
|
7416 |
} else { |
| 7417 |
tmp___382 = (int )((Bool )0); |
|
7417 |
tmp___382 = (int )((Bool )0); |
| 7418 |
} |
|
7418 |
} |
| 7419 |
if (tmp___382) { |
|
7419 |
if (tmp___382) { |
| 7420 |
vgPlain_clo_child_silent_after_fork = (Bool )1; |
|
7420 |
vgPlain_clo_child_silent_after_fork = (Bool )1; |
| 7421 |
} else { |
|
7421 |
} else { |
| 7422 |
if ((unsigned int )val___39 != (unsigned int )((void *)0)) { |
|
7422 |
if ((unsigned int )val___39 != (unsigned int )((void *)0)) { |
| 7423 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7423 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7424 |
tmp___380 = vgPlain_strcmp((Char const *)val___39, |
|
7424 |
tmp___380 = vgPlain_strcmp((Char const *)val___39, |
| 7425 |
(Char const *)"no"); |
|
7425 |
(Char const *)"no"); |
| 7426 |
if (tmp___380 == 0) { |
|
7426 |
if (tmp___380 == 0) { |
| 7427 |
tmp___379 = (int )((Bool )1); |
|
7427 |
tmp___379 = (int )((Bool )1); |
| 7428 |
} else { |
|
7428 |
} else { |
| 7429 |
tmp___379 = (int )((Bool )0); |
|
7429 |
tmp___379 = (int )((Bool )0); |
| 7430 |
} |
|
7430 |
} |
| 7431 |
} else { |
|
7431 |
} else { |
| 7432 |
tmp___379 = (int )((Bool )0); |
|
7432 |
tmp___379 = (int )((Bool )0); |
| 7433 |
} |
|
7433 |
} |
| 7434 |
} else { |
|
7434 |
} else { |
| 7435 |
tmp___379 = (int )((Bool )0); |
|
7435 |
tmp___379 = (int )((Bool )0); |
| 7436 |
} |
|
7436 |
} |
| 7437 |
if (tmp___379) { |
|
7437 |
if (tmp___379) { |
| 7438 |
vgPlain_clo_child_silent_after_fork = (Bool )0; |
|
7438 |
vgPlain_clo_child_silent_after_fork = (Bool )0; |
| 7439 |
} else { |
|
7439 |
} else { |
| 7440 |
vgPlain_fmsg_bad_option(arg, |
|
7440 |
vgPlain_fmsg_bad_option(arg, |
| 7441 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7441 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7442 |
val___39); |
|
7442 |
val___39); |
| 7443 |
} |
|
7443 |
} |
| 7444 |
} |
|
7444 |
} |
| 7445 |
} else { |
|
7445 |
} else { |
| 7446 |
_L___49: |
|
7446 |
_L___49: |
| 7447 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7447 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7448 |
if ((unsigned int )"--trace-sched=" != (unsigned int )((void *)0)) { |
|
7448 |
if ((unsigned int )"--trace-sched=" != (unsigned int )((void *)0)) { |
| 7449 |
tmp___363 = vgPlain_strlen((Char const *)"--trace-sched"); |
|
7449 |
tmp___363 = vgPlain_strlen((Char const *)"--trace-sched"); |
| 7450 |
tmp___364 = vgPlain_strncmp((Char const *)arg, |
|
7450 |
tmp___364 = vgPlain_strncmp((Char const *)arg, |
| 7451 |
(Char const *)"--trace-sched=", |
|
7451 |
(Char const *)"--trace-sched=", |
| 7452 |
tmp___363 + 1UL); |
|
7452 |
tmp___363 + 1UL); |
| 7453 |
if (tmp___364 == 0) { |
|
7453 |
if (tmp___364 == 0) { |
| 7454 |
tmp___362 = (int )((Bool )1); |
|
7454 |
tmp___362 = (int )((Bool )1); |
| 7455 |
} else { |
|
7455 |
} else { |
| 7456 |
tmp___362 = (int )((Bool )0); |
|
7456 |
tmp___362 = (int )((Bool )0); |
| 7457 |
} |
|
7457 |
} |
| 7458 |
} else { |
|
7458 |
} else { |
| 7459 |
tmp___362 = (int )((Bool )0); |
|
7459 |
tmp___362 = (int )((Bool )0); |
| 7460 |
} |
|
7460 |
} |
| 7461 |
} else { |
|
7461 |
} else { |
| 7462 |
tmp___362 = (int )((Bool )0); |
|
7462 |
tmp___362 = (int )((Bool )0); |
| 7463 |
} |
|
7463 |
} |
| 7464 |
if (tmp___362) { |
|
7464 |
if (tmp___362) { |
| 7465 |
tmp___365 = vgPlain_strlen((Char const *)"--trace-sched"); |
|
7465 |
tmp___365 = vgPlain_strlen((Char const *)"--trace-sched"); |
| 7466 |
val___38 = (Char *)(arg + (tmp___365 + 1UL)); |
|
7466 |
val___38 = (Char *)(arg + (tmp___365 + 1UL)); |
| 7467 |
if ((unsigned int )val___38 != (unsigned int )((void *)0)) { |
|
7467 |
if ((unsigned int )val___38 != (unsigned int )((void *)0)) { |
| 7468 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7468 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7469 |
tmp___371 = vgPlain_strcmp((Char const *)val___38, |
|
7469 |
tmp___371 = vgPlain_strcmp((Char const *)val___38, |
| 7470 |
(Char const *)"yes"); |
|
7470 |
(Char const *)"yes"); |
| 7471 |
if (tmp___371 == 0) { |
|
7471 |
if (tmp___371 == 0) { |
| 7472 |
tmp___370 = (int )((Bool )1); |
|
7472 |
tmp___370 = (int )((Bool )1); |
| 7473 |
} else { |
|
7473 |
} else { |
| 7474 |
tmp___370 = (int )((Bool )0); |
|
7474 |
tmp___370 = (int )((Bool )0); |
| 7475 |
} |
|
7475 |
} |
| 7476 |
} else { |
|
7476 |
} else { |
| 7477 |
tmp___370 = (int )((Bool )0); |
|
7477 |
tmp___370 = (int )((Bool )0); |
| 7478 |
} |
|
7478 |
} |
| 7479 |
} else { |
|
7479 |
} else { |
| 7480 |
tmp___370 = (int )((Bool )0); |
|
7480 |
tmp___370 = (int )((Bool )0); |
| 7481 |
} |
|
7481 |
} |
| 7482 |
if (tmp___370) { |
|
7482 |
if (tmp___370) { |
| 7483 |
vgPlain_clo_trace_sched = (Bool )1; |
|
7483 |
vgPlain_clo_trace_sched = (Bool )1; |
| 7484 |
} else { |
|
7484 |
} else { |
| 7485 |
if ((unsigned int )val___38 != (unsigned int )((void *)0)) { |
|
7485 |
if ((unsigned int )val___38 != (unsigned int )((void *)0)) { |
| 7486 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7486 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7487 |
tmp___368 = vgPlain_strcmp((Char const *)val___38, |
|
7487 |
tmp___368 = vgPlain_strcmp((Char const *)val___38, |
| 7488 |
(Char const *)"no"); |
|
7488 |
(Char const *)"no"); |
| 7489 |
if (tmp___368 == 0) { |
|
7489 |
if (tmp___368 == 0) { |
| 7490 |
tmp___367 = (int )((Bool )1); |
|
7490 |
tmp___367 = (int )((Bool )1); |
| 7491 |
} else { |
|
7491 |
} else { |
| 7492 |
tmp___367 = (int )((Bool )0); |
|
7492 |
tmp___367 = (int )((Bool )0); |
| 7493 |
} |
|
7493 |
} |
| 7494 |
} else { |
|
7494 |
} else { |
| 7495 |
tmp___367 = (int )((Bool )0); |
|
7495 |
tmp___367 = (int )((Bool )0); |
| 7496 |
} |
|
7496 |
} |
| 7497 |
} else { |
|
7497 |
} else { |
| 7498 |
tmp___367 = (int )((Bool )0); |
|
7498 |
tmp___367 = (int )((Bool )0); |
| 7499 |
} |
|
7499 |
} |
| 7500 |
if (tmp___367) { |
|
7500 |
if (tmp___367) { |
| 7501 |
vgPlain_clo_trace_sched = (Bool )0; |
|
7501 |
vgPlain_clo_trace_sched = (Bool )0; |
| 7502 |
} else { |
|
7502 |
} else { |
| 7503 |
vgPlain_fmsg_bad_option(arg, |
|
7503 |
vgPlain_fmsg_bad_option(arg, |
| 7504 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7504 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7505 |
val___38); |
|
7505 |
val___38); |
| 7506 |
} |
|
7506 |
} |
| 7507 |
} |
|
7507 |
} |
| 7508 |
} else { |
|
7508 |
} else { |
| 7509 |
_L___48: |
|
7509 |
_L___48: |
| 7510 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7510 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7511 |
if ((unsigned int )"--trace-signals=" != (unsigned int )((void *)0)) { |
|
7511 |
if ((unsigned int )"--trace-signals=" != (unsigned int )((void *)0)) { |
| 7512 |
tmp___351 = vgPlain_strlen((Char const *)"--trace-signals"); |
|
7512 |
tmp___351 = vgPlain_strlen((Char const *)"--trace-signals"); |
| 7513 |
tmp___352 = vgPlain_strncmp((Char const *)arg, |
|
7513 |
tmp___352 = vgPlain_strncmp((Char const *)arg, |
| 7514 |
(Char const *)"--trace-signals=", |
|
7514 |
(Char const *)"--trace-signals=", |
| 7515 |
tmp___351 + 1UL); |
|
7515 |
tmp___351 + 1UL); |
| 7516 |
if (tmp___352 == 0) { |
|
7516 |
if (tmp___352 == 0) { |
| 7517 |
tmp___350 = (int )((Bool )1); |
|
7517 |
tmp___350 = (int )((Bool )1); |
| 7518 |
} else { |
|
7518 |
} else { |
| 7519 |
tmp___350 = (int )((Bool )0); |
|
7519 |
tmp___350 = (int )((Bool )0); |
| 7520 |
} |
|
7520 |
} |
| 7521 |
} else { |
|
7521 |
} else { |
| 7522 |
tmp___350 = (int )((Bool )0); |
|
7522 |
tmp___350 = (int )((Bool )0); |
| 7523 |
} |
|
7523 |
} |
| 7524 |
} else { |
|
7524 |
} else { |
| 7525 |
tmp___350 = (int )((Bool )0); |
|
7525 |
tmp___350 = (int )((Bool )0); |
| 7526 |
} |
|
7526 |
} |
| 7527 |
if (tmp___350) { |
|
7527 |
if (tmp___350) { |
| 7528 |
tmp___353 = vgPlain_strlen((Char const *)"--trace-signals"); |
|
7528 |
tmp___353 = vgPlain_strlen((Char const *)"--trace-signals"); |
| 7529 |
val___37 = (Char *)(arg + (tmp___353 + 1UL)); |
|
7529 |
val___37 = (Char *)(arg + (tmp___353 + 1UL)); |
| 7530 |
if ((unsigned int )val___37 != (unsigned int )((void *)0)) { |
|
7530 |
if ((unsigned int )val___37 != (unsigned int )((void *)0)) { |
| 7531 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7531 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7532 |
tmp___359 = vgPlain_strcmp((Char const *)val___37, |
|
7532 |
tmp___359 = vgPlain_strcmp((Char const *)val___37, |
| 7533 |
(Char const *)"yes"); |
|
7533 |
(Char const *)"yes"); |
| 7534 |
if (tmp___359 == 0) { |
|
7534 |
if (tmp___359 == 0) { |
| 7535 |
tmp___358 = (int )((Bool )1); |
|
7535 |
tmp___358 = (int )((Bool )1); |
| 7536 |
} else { |
|
7536 |
} else { |
| 7537 |
tmp___358 = (int )((Bool )0); |
|
7537 |
tmp___358 = (int )((Bool )0); |
| 7538 |
} |
|
7538 |
} |
| 7539 |
} else { |
|
7539 |
} else { |
| 7540 |
tmp___358 = (int )((Bool )0); |
|
7540 |
tmp___358 = (int )((Bool )0); |
| 7541 |
} |
|
7541 |
} |
| 7542 |
} else { |
|
7542 |
} else { |
| 7543 |
tmp___358 = (int )((Bool )0); |
|
7543 |
tmp___358 = (int )((Bool )0); |
| 7544 |
} |
|
7544 |
} |
| 7545 |
if (tmp___358) { |
|
7545 |
if (tmp___358) { |
| 7546 |
vgPlain_clo_trace_signals = (Bool )1; |
|
7546 |
vgPlain_clo_trace_signals = (Bool )1; |
| 7547 |
} else { |
|
7547 |
} else { |
| 7548 |
if ((unsigned int )val___37 != (unsigned int )((void *)0)) { |
|
7548 |
if ((unsigned int )val___37 != (unsigned int )((void *)0)) { |
| 7549 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7549 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7550 |
tmp___356 = vgPlain_strcmp((Char const *)val___37, |
|
7550 |
tmp___356 = vgPlain_strcmp((Char const *)val___37, |
| 7551 |
(Char const *)"no"); |
|
7551 |
(Char const *)"no"); |
| 7552 |
if (tmp___356 == 0) { |
|
7552 |
if (tmp___356 == 0) { |
| 7553 |
tmp___355 = (int )((Bool )1); |
|
7553 |
tmp___355 = (int )((Bool )1); |
| 7554 |
} else { |
|
7554 |
} else { |
| 7555 |
tmp___355 = (int )((Bool )0); |
|
7555 |
tmp___355 = (int )((Bool )0); |
| 7556 |
} |
|
7556 |
} |
| 7557 |
} else { |
|
7557 |
} else { |
| 7558 |
tmp___355 = (int )((Bool )0); |
|
7558 |
tmp___355 = (int )((Bool )0); |
| 7559 |
} |
|
7559 |
} |
| 7560 |
} else { |
|
7560 |
} else { |
| 7561 |
tmp___355 = (int )((Bool )0); |
|
7561 |
tmp___355 = (int )((Bool )0); |
| 7562 |
} |
|
7562 |
} |
| 7563 |
if (tmp___355) { |
|
7563 |
if (tmp___355) { |
| 7564 |
vgPlain_clo_trace_signals = (Bool )0; |
|
7564 |
vgPlain_clo_trace_signals = (Bool )0; |
| 7565 |
} else { |
|
7565 |
} else { |
| 7566 |
vgPlain_fmsg_bad_option(arg, |
|
7566 |
vgPlain_fmsg_bad_option(arg, |
| 7567 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7567 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7568 |
val___37); |
|
7568 |
val___37); |
| 7569 |
} |
|
7569 |
} |
| 7570 |
} |
|
7570 |
} |
| 7571 |
} else { |
|
7571 |
} else { |
| 7572 |
_L___47: |
|
7572 |
_L___47: |
| 7573 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7573 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7574 |
if ((unsigned int )"--trace-symtab=" != (unsigned int )((void *)0)) { |
|
7574 |
if ((unsigned int )"--trace-symtab=" != (unsigned int )((void *)0)) { |
| 7575 |
tmp___339 = vgPlain_strlen((Char const *)"--trace-symtab"); |
|
7575 |
tmp___339 = vgPlain_strlen((Char const *)"--trace-symtab"); |
| 7576 |
tmp___340 = vgPlain_strncmp((Char const *)arg, |
|
7576 |
tmp___340 = vgPlain_strncmp((Char const *)arg, |
| 7577 |
(Char const *)"--trace-symtab=", |
|
7577 |
(Char const *)"--trace-symtab=", |
| 7578 |
tmp___339 + 1UL); |
|
7578 |
tmp___339 + 1UL); |
| 7579 |
if (tmp___340 == 0) { |
|
7579 |
if (tmp___340 == 0) { |
| 7580 |
tmp___338 = (int )((Bool )1); |
|
7580 |
tmp___338 = (int )((Bool )1); |
| 7581 |
} else { |
|
7581 |
} else { |
| 7582 |
tmp___338 = (int )((Bool )0); |
|
7582 |
tmp___338 = (int )((Bool )0); |
| 7583 |
} |
|
7583 |
} |
| 7584 |
} else { |
|
7584 |
} else { |
| 7585 |
tmp___338 = (int )((Bool )0); |
|
7585 |
tmp___338 = (int )((Bool )0); |
| 7586 |
} |
|
7586 |
} |
| 7587 |
} else { |
|
7587 |
} else { |
| 7588 |
tmp___338 = (int )((Bool )0); |
|
7588 |
tmp___338 = (int )((Bool )0); |
| 7589 |
} |
|
7589 |
} |
| 7590 |
if (tmp___338) { |
|
7590 |
if (tmp___338) { |
| 7591 |
tmp___341 = vgPlain_strlen((Char const *)"--trace-symtab"); |
|
7591 |
tmp___341 = vgPlain_strlen((Char const *)"--trace-symtab"); |
| 7592 |
val___36 = (Char *)(arg + (tmp___341 + 1UL)); |
|
7592 |
val___36 = (Char *)(arg + (tmp___341 + 1UL)); |
| 7593 |
if ((unsigned int )val___36 != (unsigned int )((void *)0)) { |
|
7593 |
if ((unsigned int )val___36 != (unsigned int )((void *)0)) { |
| 7594 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7594 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7595 |
tmp___347 = vgPlain_strcmp((Char const *)val___36, |
|
7595 |
tmp___347 = vgPlain_strcmp((Char const *)val___36, |
| 7596 |
(Char const *)"yes"); |
|
7596 |
(Char const *)"yes"); |
| 7597 |
if (tmp___347 == 0) { |
|
7597 |
if (tmp___347 == 0) { |
| 7598 |
tmp___346 = (int )((Bool )1); |
|
7598 |
tmp___346 = (int )((Bool )1); |
| 7599 |
} else { |
|
7599 |
} else { |
| 7600 |
tmp___346 = (int )((Bool )0); |
|
7600 |
tmp___346 = (int )((Bool )0); |
| 7601 |
} |
|
7601 |
} |
| 7602 |
} else { |
|
7602 |
} else { |
| 7603 |
tmp___346 = (int )((Bool )0); |
|
7603 |
tmp___346 = (int )((Bool )0); |
| 7604 |
} |
|
7604 |
} |
| 7605 |
} else { |
|
7605 |
} else { |
| 7606 |
tmp___346 = (int )((Bool )0); |
|
7606 |
tmp___346 = (int )((Bool )0); |
| 7607 |
} |
|
7607 |
} |
| 7608 |
if (tmp___346) { |
|
7608 |
if (tmp___346) { |
| 7609 |
vgPlain_clo_trace_symtab = (Bool )1; |
|
7609 |
vgPlain_clo_trace_symtab = (Bool )1; |
| 7610 |
} else { |
|
7610 |
} else { |
| 7611 |
if ((unsigned int )val___36 != (unsigned int )((void *)0)) { |
|
7611 |
if ((unsigned int )val___36 != (unsigned int )((void *)0)) { |
| 7612 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7612 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7613 |
tmp___344 = vgPlain_strcmp((Char const *)val___36, |
|
7613 |
tmp___344 = vgPlain_strcmp((Char const *)val___36, |
| 7614 |
(Char const *)"no"); |
|
7614 |
(Char const *)"no"); |
| 7615 |
if (tmp___344 == 0) { |
|
7615 |
if (tmp___344 == 0) { |
| 7616 |
tmp___343 = (int )((Bool )1); |
|
7616 |
tmp___343 = (int )((Bool )1); |
| 7617 |
} else { |
|
7617 |
} else { |
| 7618 |
tmp___343 = (int )((Bool )0); |
|
7618 |
tmp___343 = (int )((Bool )0); |
| 7619 |
} |
|
7619 |
} |
| 7620 |
} else { |
|
7620 |
} else { |
| 7621 |
tmp___343 = (int )((Bool )0); |
|
7621 |
tmp___343 = (int )((Bool )0); |
| 7622 |
} |
|
7622 |
} |
| 7623 |
} else { |
|
7623 |
} else { |
| 7624 |
tmp___343 = (int )((Bool )0); |
|
7624 |
tmp___343 = (int )((Bool )0); |
| 7625 |
} |
|
7625 |
} |
| 7626 |
if (tmp___343) { |
|
7626 |
if (tmp___343) { |
| 7627 |
vgPlain_clo_trace_symtab = (Bool )0; |
|
7627 |
vgPlain_clo_trace_symtab = (Bool )0; |
| 7628 |
} else { |
|
7628 |
} else { |
| 7629 |
vgPlain_fmsg_bad_option(arg, |
|
7629 |
vgPlain_fmsg_bad_option(arg, |
| 7630 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7630 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7631 |
val___36); |
|
7631 |
val___36); |
| 7632 |
} |
|
7632 |
} |
| 7633 |
} |
|
7633 |
} |
| 7634 |
} else { |
|
7634 |
} else { |
| 7635 |
_L___46: |
|
7635 |
_L___46: |
| 7636 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7636 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7637 |
if ((unsigned int )"--trace-symtab-patt=" != (unsigned int )((void *)0)) { |
|
7637 |
if ((unsigned int )"--trace-symtab-patt=" != (unsigned int )((void *)0)) { |
| 7638 |
tmp___333 = vgPlain_strlen((Char const *)"--trace-symtab-patt"); |
|
7638 |
tmp___333 = vgPlain_strlen((Char const *)"--trace-symtab-patt"); |
| 7639 |
tmp___334 = vgPlain_strncmp((Char const *)arg, |
|
7639 |
tmp___334 = vgPlain_strncmp((Char const *)arg, |
| 7640 |
(Char const *)"--trace-symtab-patt=", |
|
7640 |
(Char const *)"--trace-symtab-patt=", |
| 7641 |
tmp___333 + 1UL); |
|
7641 |
tmp___333 + 1UL); |
| 7642 |
if (tmp___334 == 0) { |
|
7642 |
if (tmp___334 == 0) { |
| 7643 |
tmp___332 = (int )((Bool )1); |
|
7643 |
tmp___332 = (int )((Bool )1); |
| 7644 |
} else { |
|
7644 |
} else { |
| 7645 |
tmp___332 = (int )((Bool )0); |
|
7645 |
tmp___332 = (int )((Bool )0); |
| 7646 |
} |
|
7646 |
} |
| 7647 |
} else { |
|
7647 |
} else { |
| 7648 |
tmp___332 = (int )((Bool )0); |
|
7648 |
tmp___332 = (int )((Bool )0); |
| 7649 |
} |
|
7649 |
} |
| 7650 |
} else { |
|
7650 |
} else { |
| 7651 |
tmp___332 = (int )((Bool )0); |
|
7651 |
tmp___332 = (int )((Bool )0); |
| 7652 |
} |
|
7652 |
} |
| 7653 |
if (tmp___332) { |
|
7653 |
if (tmp___332) { |
| 7654 |
tmp___335 = vgPlain_strlen((Char const *)"--trace-symtab-patt"); |
|
7654 |
tmp___335 = vgPlain_strlen((Char const *)"--trace-symtab-patt"); |
| 7655 |
val___35 = (Char *)(arg + (tmp___335 + 1UL)); |
|
7655 |
val___35 = (Char *)(arg + (tmp___335 + 1UL)); |
| 7656 |
vgPlain_clo_trace_symtab_patt = (HChar *)val___35; |
|
7656 |
vgPlain_clo_trace_symtab_patt = (HChar *)val___35; |
| 7657 |
} else { |
|
7657 |
} else { |
| 7658 |
_L___45: |
|
7658 |
_L___45: |
| 7659 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7659 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7660 |
if ((unsigned int )"--trace-cfi=" != (unsigned int )((void *)0)) { |
|
7660 |
if ((unsigned int )"--trace-cfi=" != (unsigned int )((void *)0)) { |
| 7661 |
tmp___321 = vgPlain_strlen((Char const *)"--trace-cfi"); |
|
7661 |
tmp___321 = vgPlain_strlen((Char const *)"--trace-cfi"); |
| 7662 |
tmp___322 = vgPlain_strncmp((Char const *)arg, |
|
7662 |
tmp___322 = vgPlain_strncmp((Char const *)arg, |
| 7663 |
(Char const *)"--trace-cfi=", |
|
7663 |
(Char const *)"--trace-cfi=", |
| 7664 |
tmp___321 + 1UL); |
|
7664 |
tmp___321 + 1UL); |
| 7665 |
if (tmp___322 == 0) { |
|
7665 |
if (tmp___322 == 0) { |
| 7666 |
tmp___320 = (int )((Bool )1); |
|
7666 |
tmp___320 = (int )((Bool )1); |
| 7667 |
} else { |
|
7667 |
} else { |
| 7668 |
tmp___320 = (int )((Bool )0); |
|
7668 |
tmp___320 = (int )((Bool )0); |
| 7669 |
} |
|
7669 |
} |
| 7670 |
} else { |
|
7670 |
} else { |
| 7671 |
tmp___320 = (int )((Bool )0); |
|
7671 |
tmp___320 = (int )((Bool )0); |
| 7672 |
} |
|
7672 |
} |
| 7673 |
} else { |
|
7673 |
} else { |
| 7674 |
tmp___320 = (int )((Bool )0); |
|
7674 |
tmp___320 = (int )((Bool )0); |
| 7675 |
} |
|
7675 |
} |
| 7676 |
if (tmp___320) { |
|
7676 |
if (tmp___320) { |
| 7677 |
tmp___323 = vgPlain_strlen((Char const *)"--trace-cfi"); |
|
7677 |
tmp___323 = vgPlain_strlen((Char const *)"--trace-cfi"); |
| 7678 |
val___34 = (Char *)(arg + (tmp___323 + 1UL)); |
|
7678 |
val___34 = (Char *)(arg + (tmp___323 + 1UL)); |
| 7679 |
if ((unsigned int )val___34 != (unsigned int )((void *)0)) { |
|
7679 |
if ((unsigned int )val___34 != (unsigned int )((void *)0)) { |
| 7680 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7680 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7681 |
tmp___329 = vgPlain_strcmp((Char const *)val___34, |
|
7681 |
tmp___329 = vgPlain_strcmp((Char const *)val___34, |
| 7682 |
(Char const *)"yes"); |
|
7682 |
(Char const *)"yes"); |
| 7683 |
if (tmp___329 == 0) { |
|
7683 |
if (tmp___329 == 0) { |
| 7684 |
tmp___328 = (int )((Bool )1); |
|
7684 |
tmp___328 = (int )((Bool )1); |
| 7685 |
} else { |
|
7685 |
} else { |
| 7686 |
tmp___328 = (int )((Bool )0); |
|
7686 |
tmp___328 = (int )((Bool )0); |
| 7687 |
} |
|
7687 |
} |
| 7688 |
} else { |
|
7688 |
} else { |
| 7689 |
tmp___328 = (int )((Bool )0); |
|
7689 |
tmp___328 = (int )((Bool )0); |
| 7690 |
} |
|
7690 |
} |
| 7691 |
} else { |
|
7691 |
} else { |
| 7692 |
tmp___328 = (int )((Bool )0); |
|
7692 |
tmp___328 = (int )((Bool )0); |
| 7693 |
} |
|
7693 |
} |
| 7694 |
if (tmp___328) { |
|
7694 |
if (tmp___328) { |
| 7695 |
vgPlain_clo_trace_cfi = (Bool )1; |
|
7695 |
vgPlain_clo_trace_cfi = (Bool )1; |
| 7696 |
} else { |
|
7696 |
} else { |
| 7697 |
if ((unsigned int )val___34 != (unsigned int )((void *)0)) { |
|
7697 |
if ((unsigned int )val___34 != (unsigned int )((void *)0)) { |
| 7698 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7698 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7699 |
tmp___326 = vgPlain_strcmp((Char const *)val___34, |
|
7699 |
tmp___326 = vgPlain_strcmp((Char const *)val___34, |
| 7700 |
(Char const *)"no"); |
|
7700 |
(Char const *)"no"); |
| 7701 |
if (tmp___326 == 0) { |
|
7701 |
if (tmp___326 == 0) { |
| 7702 |
tmp___325 = (int )((Bool )1); |
|
7702 |
tmp___325 = (int )((Bool )1); |
| 7703 |
} else { |
|
7703 |
} else { |
| 7704 |
tmp___325 = (int )((Bool )0); |
|
7704 |
tmp___325 = (int )((Bool )0); |
| 7705 |
} |
|
7705 |
} |
| 7706 |
} else { |
|
7706 |
} else { |
| 7707 |
tmp___325 = (int )((Bool )0); |
|
7707 |
tmp___325 = (int )((Bool )0); |
| 7708 |
} |
|
7708 |
} |
| 7709 |
} else { |
|
7709 |
} else { |
| 7710 |
tmp___325 = (int )((Bool )0); |
|
7710 |
tmp___325 = (int )((Bool )0); |
| 7711 |
} |
|
7711 |
} |
| 7712 |
if (tmp___325) { |
|
7712 |
if (tmp___325) { |
| 7713 |
vgPlain_clo_trace_cfi = (Bool )0; |
|
7713 |
vgPlain_clo_trace_cfi = (Bool )0; |
| 7714 |
} else { |
|
7714 |
} else { |
| 7715 |
vgPlain_fmsg_bad_option(arg, |
|
7715 |
vgPlain_fmsg_bad_option(arg, |
| 7716 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7716 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7717 |
val___34); |
|
7717 |
val___34); |
| 7718 |
} |
|
7718 |
} |
| 7719 |
} |
|
7719 |
} |
| 7720 |
} else { |
|
7720 |
} else { |
| 7721 |
_L___44: |
|
7721 |
_L___44: |
| 7722 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7722 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7723 |
if ((unsigned int )"--debug-dump=syms" != (unsigned int )((void *)0)) { |
|
7723 |
if ((unsigned int )"--debug-dump=syms" != (unsigned int )((void *)0)) { |
| 7724 |
tmp___317 = vgPlain_strcmp((Char const *)arg, |
|
7724 |
tmp___317 = vgPlain_strcmp((Char const *)arg, |
| 7725 |
(Char const *)"--debug-dump=syms"); |
|
7725 |
(Char const *)"--debug-dump=syms"); |
| 7726 |
if (tmp___317 == 0) { |
|
7726 |
if (tmp___317 == 0) { |
| 7727 |
tmp___316 = (int )((Bool )1); |
|
7727 |
tmp___316 = (int )((Bool )1); |
| 7728 |
} else { |
|
7728 |
} else { |
| 7729 |
tmp___316 = (int )((Bool )0); |
|
7729 |
tmp___316 = (int )((Bool )0); |
| 7730 |
} |
|
7730 |
} |
| 7731 |
} else { |
|
7731 |
} else { |
| 7732 |
tmp___316 = (int )((Bool )0); |
|
7732 |
tmp___316 = (int )((Bool )0); |
| 7733 |
} |
|
7733 |
} |
| 7734 |
} else { |
|
7734 |
} else { |
| 7735 |
tmp___316 = (int )((Bool )0); |
|
7735 |
tmp___316 = (int )((Bool )0); |
| 7736 |
} |
|
7736 |
} |
| 7737 |
if (tmp___316) { |
|
7737 |
if (tmp___316) { |
| 7738 |
vgPlain_clo_debug_dump_syms = (Bool )1; |
|
7738 |
vgPlain_clo_debug_dump_syms = (Bool )1; |
| 7739 |
} else { |
|
7739 |
} else { |
| 7740 |
_L___43: |
|
7740 |
_L___43: |
| 7741 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7741 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7742 |
if ((unsigned int )"--debug-dump=line" != (unsigned int )((void *)0)) { |
|
7742 |
if ((unsigned int )"--debug-dump=line" != (unsigned int )((void *)0)) { |
| 7743 |
tmp___314 = vgPlain_strcmp((Char const *)arg, |
|
7743 |
tmp___314 = vgPlain_strcmp((Char const *)arg, |
| 7744 |
(Char const *)"--debug-dump=line"); |
|
7744 |
(Char const *)"--debug-dump=line"); |
| 7745 |
if (tmp___314 == 0) { |
|
7745 |
if (tmp___314 == 0) { |
| 7746 |
tmp___313 = (int )((Bool )1); |
|
7746 |
tmp___313 = (int )((Bool )1); |
| 7747 |
} else { |
|
7747 |
} else { |
| 7748 |
tmp___313 = (int )((Bool )0); |
|
7748 |
tmp___313 = (int )((Bool )0); |
| 7749 |
} |
|
7749 |
} |
| 7750 |
} else { |
|
7750 |
} else { |
| 7751 |
tmp___313 = (int )((Bool )0); |
|
7751 |
tmp___313 = (int )((Bool )0); |
| 7752 |
} |
|
7752 |
} |
| 7753 |
} else { |
|
7753 |
} else { |
| 7754 |
tmp___313 = (int )((Bool )0); |
|
7754 |
tmp___313 = (int )((Bool )0); |
| 7755 |
} |
|
7755 |
} |
| 7756 |
if (tmp___313) { |
|
7756 |
if (tmp___313) { |
| 7757 |
vgPlain_clo_debug_dump_line = (Bool )1; |
|
7757 |
vgPlain_clo_debug_dump_line = (Bool )1; |
| 7758 |
} else { |
|
7758 |
} else { |
| 7759 |
_L___42: |
|
7759 |
_L___42: |
| 7760 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7760 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7761 |
if ((unsigned int )"--debug-dump=frames" != (unsigned int )((void *)0)) { |
|
7761 |
if ((unsigned int )"--debug-dump=frames" != (unsigned int )((void *)0)) { |
| 7762 |
tmp___311 = vgPlain_strcmp((Char const *)arg, |
|
7762 |
tmp___311 = vgPlain_strcmp((Char const *)arg, |
| 7763 |
(Char const *)"--debug-dump=frames"); |
|
7763 |
(Char const *)"--debug-dump=frames"); |
| 7764 |
if (tmp___311 == 0) { |
|
7764 |
if (tmp___311 == 0) { |
| 7765 |
tmp___310 = (int )((Bool )1); |
|
7765 |
tmp___310 = (int )((Bool )1); |
| 7766 |
} else { |
|
7766 |
} else { |
| 7767 |
tmp___310 = (int )((Bool )0); |
|
7767 |
tmp___310 = (int )((Bool )0); |
| 7768 |
} |
|
7768 |
} |
| 7769 |
} else { |
|
7769 |
} else { |
| 7770 |
tmp___310 = (int )((Bool )0); |
|
7770 |
tmp___310 = (int )((Bool )0); |
| 7771 |
} |
|
7771 |
} |
| 7772 |
} else { |
|
7772 |
} else { |
| 7773 |
tmp___310 = (int )((Bool )0); |
|
7773 |
tmp___310 = (int )((Bool )0); |
| 7774 |
} |
|
7774 |
} |
| 7775 |
if (tmp___310) { |
|
7775 |
if (tmp___310) { |
| 7776 |
vgPlain_clo_debug_dump_frames = (Bool )1; |
|
7776 |
vgPlain_clo_debug_dump_frames = (Bool )1; |
| 7777 |
} else { |
|
7777 |
} else { |
| 7778 |
_L___41: |
|
7778 |
_L___41: |
| 7779 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7779 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7780 |
if ((unsigned int )"--trace-redir=" != (unsigned int )((void *)0)) { |
|
7780 |
if ((unsigned int )"--trace-redir=" != (unsigned int )((void *)0)) { |
| 7781 |
tmp___300 = vgPlain_strlen((Char const *)"--trace-redir"); |
|
7781 |
tmp___300 = vgPlain_strlen((Char const *)"--trace-redir"); |
| 7782 |
tmp___301 = vgPlain_strncmp((Char const *)arg, |
|
7782 |
tmp___301 = vgPlain_strncmp((Char const *)arg, |
| 7783 |
(Char const *)"--trace-redir=", |
|
7783 |
(Char const *)"--trace-redir=", |
| 7784 |
tmp___300 + 1UL); |
|
7784 |
tmp___300 + 1UL); |
| 7785 |
if (tmp___301 == 0) { |
|
7785 |
if (tmp___301 == 0) { |
| 7786 |
tmp___299 = (int )((Bool )1); |
|
7786 |
tmp___299 = (int )((Bool )1); |
| 7787 |
} else { |
|
7787 |
} else { |
| 7788 |
tmp___299 = (int )((Bool )0); |
|
7788 |
tmp___299 = (int )((Bool )0); |
| 7789 |
} |
|
7789 |
} |
| 7790 |
} else { |
|
7790 |
} else { |
| 7791 |
tmp___299 = (int )((Bool )0); |
|
7791 |
tmp___299 = (int )((Bool )0); |
| 7792 |
} |
|
7792 |
} |
| 7793 |
} else { |
|
7793 |
} else { |
| 7794 |
tmp___299 = (int )((Bool )0); |
|
7794 |
tmp___299 = (int )((Bool )0); |
| 7795 |
} |
|
7795 |
} |
| 7796 |
if (tmp___299) { |
|
7796 |
if (tmp___299) { |
| 7797 |
tmp___302 = vgPlain_strlen((Char const *)"--trace-redir"); |
|
7797 |
tmp___302 = vgPlain_strlen((Char const *)"--trace-redir"); |
| 7798 |
val___33 = (Char *)(arg + (tmp___302 + 1UL)); |
|
7798 |
val___33 = (Char *)(arg + (tmp___302 + 1UL)); |
| 7799 |
if ((unsigned int )val___33 != (unsigned int )((void *)0)) { |
|
7799 |
if ((unsigned int )val___33 != (unsigned int )((void *)0)) { |
| 7800 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7800 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7801 |
tmp___308 = vgPlain_strcmp((Char const *)val___33, |
|
7801 |
tmp___308 = vgPlain_strcmp((Char const *)val___33, |
| 7802 |
(Char const *)"yes"); |
|
7802 |
(Char const *)"yes"); |
| 7803 |
if (tmp___308 == 0) { |
|
7803 |
if (tmp___308 == 0) { |
| 7804 |
tmp___307 = (int )((Bool )1); |
|
7804 |
tmp___307 = (int )((Bool )1); |
| 7805 |
} else { |
|
7805 |
} else { |
| 7806 |
tmp___307 = (int )((Bool )0); |
|
7806 |
tmp___307 = (int )((Bool )0); |
| 7807 |
} |
|
7807 |
} |
| 7808 |
} else { |
|
7808 |
} else { |
| 7809 |
tmp___307 = (int )((Bool )0); |
|
7809 |
tmp___307 = (int )((Bool )0); |
| 7810 |
} |
|
7810 |
} |
| 7811 |
} else { |
|
7811 |
} else { |
| 7812 |
tmp___307 = (int )((Bool )0); |
|
7812 |
tmp___307 = (int )((Bool )0); |
| 7813 |
} |
|
7813 |
} |
| 7814 |
if (tmp___307) { |
|
7814 |
if (tmp___307) { |
| 7815 |
vgPlain_clo_trace_redir = (Bool )1; |
|
7815 |
vgPlain_clo_trace_redir = (Bool )1; |
| 7816 |
} else { |
|
7816 |
} else { |
| 7817 |
if ((unsigned int )val___33 != (unsigned int )((void *)0)) { |
|
7817 |
if ((unsigned int )val___33 != (unsigned int )((void *)0)) { |
| 7818 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7818 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7819 |
tmp___305 = vgPlain_strcmp((Char const *)val___33, |
|
7819 |
tmp___305 = vgPlain_strcmp((Char const *)val___33, |
| 7820 |
(Char const *)"no"); |
|
7820 |
(Char const *)"no"); |
| 7821 |
if (tmp___305 == 0) { |
|
7821 |
if (tmp___305 == 0) { |
| 7822 |
tmp___304 = (int )((Bool )1); |
|
7822 |
tmp___304 = (int )((Bool )1); |
| 7823 |
} else { |
|
7823 |
} else { |
| 7824 |
tmp___304 = (int )((Bool )0); |
|
7824 |
tmp___304 = (int )((Bool )0); |
| 7825 |
} |
|
7825 |
} |
| 7826 |
} else { |
|
7826 |
} else { |
| 7827 |
tmp___304 = (int )((Bool )0); |
|
7827 |
tmp___304 = (int )((Bool )0); |
| 7828 |
} |
|
7828 |
} |
| 7829 |
} else { |
|
7829 |
} else { |
| 7830 |
tmp___304 = (int )((Bool )0); |
|
7830 |
tmp___304 = (int )((Bool )0); |
| 7831 |
} |
|
7831 |
} |
| 7832 |
if (tmp___304) { |
|
7832 |
if (tmp___304) { |
| 7833 |
vgPlain_clo_trace_redir = (Bool )0; |
|
7833 |
vgPlain_clo_trace_redir = (Bool )0; |
| 7834 |
} else { |
|
7834 |
} else { |
| 7835 |
vgPlain_fmsg_bad_option(arg, |
|
7835 |
vgPlain_fmsg_bad_option(arg, |
| 7836 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7836 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7837 |
val___33); |
|
7837 |
val___33); |
| 7838 |
} |
|
7838 |
} |
| 7839 |
} |
|
7839 |
} |
| 7840 |
} else { |
|
7840 |
} else { |
| 7841 |
_L___40: |
|
7841 |
_L___40: |
| 7842 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7842 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7843 |
if ((unsigned int )"--trace-syscalls=" != (unsigned int )((void *)0)) { |
|
7843 |
if ((unsigned int )"--trace-syscalls=" != (unsigned int )((void *)0)) { |
| 7844 |
tmp___288 = vgPlain_strlen((Char const *)"--trace-syscalls"); |
|
7844 |
tmp___288 = vgPlain_strlen((Char const *)"--trace-syscalls"); |
| 7845 |
tmp___289 = vgPlain_strncmp((Char const *)arg, |
|
7845 |
tmp___289 = vgPlain_strncmp((Char const *)arg, |
| 7846 |
(Char const *)"--trace-syscalls=", |
|
7846 |
(Char const *)"--trace-syscalls=", |
| 7847 |
tmp___288 + 1UL); |
|
7847 |
tmp___288 + 1UL); |
| 7848 |
if (tmp___289 == 0) { |
|
7848 |
if (tmp___289 == 0) { |
| 7849 |
tmp___287 = (int )((Bool )1); |
|
7849 |
tmp___287 = (int )((Bool )1); |
| 7850 |
} else { |
|
7850 |
} else { |
| 7851 |
tmp___287 = (int )((Bool )0); |
|
7851 |
tmp___287 = (int )((Bool )0); |
| 7852 |
} |
|
7852 |
} |
| 7853 |
} else { |
|
7853 |
} else { |
| 7854 |
tmp___287 = (int )((Bool )0); |
|
7854 |
tmp___287 = (int )((Bool )0); |
| 7855 |
} |
|
7855 |
} |
| 7856 |
} else { |
|
7856 |
} else { |
| 7857 |
tmp___287 = (int )((Bool )0); |
|
7857 |
tmp___287 = (int )((Bool )0); |
| 7858 |
} |
|
7858 |
} |
| 7859 |
if (tmp___287) { |
|
7859 |
if (tmp___287) { |
| 7860 |
tmp___290 = vgPlain_strlen((Char const *)"--trace-syscalls"); |
|
7860 |
tmp___290 = vgPlain_strlen((Char const *)"--trace-syscalls"); |
| 7861 |
val___32 = (Char *)(arg + (tmp___290 + 1UL)); |
|
7861 |
val___32 = (Char *)(arg + (tmp___290 + 1UL)); |
| 7862 |
if ((unsigned int )val___32 != (unsigned int )((void *)0)) { |
|
7862 |
if ((unsigned int )val___32 != (unsigned int )((void *)0)) { |
| 7863 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7863 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7864 |
tmp___296 = vgPlain_strcmp((Char const *)val___32, |
|
7864 |
tmp___296 = vgPlain_strcmp((Char const *)val___32, |
| 7865 |
(Char const *)"yes"); |
|
7865 |
(Char const *)"yes"); |
| 7866 |
if (tmp___296 == 0) { |
|
7866 |
if (tmp___296 == 0) { |
| 7867 |
tmp___295 = (int )((Bool )1); |
|
7867 |
tmp___295 = (int )((Bool )1); |
| 7868 |
} else { |
|
7868 |
} else { |
| 7869 |
tmp___295 = (int )((Bool )0); |
|
7869 |
tmp___295 = (int )((Bool )0); |
| 7870 |
} |
|
7870 |
} |
| 7871 |
} else { |
|
7871 |
} else { |
| 7872 |
tmp___295 = (int )((Bool )0); |
|
7872 |
tmp___295 = (int )((Bool )0); |
| 7873 |
} |
|
7873 |
} |
| 7874 |
} else { |
|
7874 |
} else { |
| 7875 |
tmp___295 = (int )((Bool )0); |
|
7875 |
tmp___295 = (int )((Bool )0); |
| 7876 |
} |
|
7876 |
} |
| 7877 |
if (tmp___295) { |
|
7877 |
if (tmp___295) { |
| 7878 |
vgPlain_clo_trace_syscalls = (Bool )1; |
|
7878 |
vgPlain_clo_trace_syscalls = (Bool )1; |
| 7879 |
} else { |
|
7879 |
} else { |
| 7880 |
if ((unsigned int )val___32 != (unsigned int )((void *)0)) { |
|
7880 |
if ((unsigned int )val___32 != (unsigned int )((void *)0)) { |
| 7881 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7881 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7882 |
tmp___293 = vgPlain_strcmp((Char const *)val___32, |
|
7882 |
tmp___293 = vgPlain_strcmp((Char const *)val___32, |
| 7883 |
(Char const *)"no"); |
|
7883 |
(Char const *)"no"); |
| 7884 |
if (tmp___293 == 0) { |
|
7884 |
if (tmp___293 == 0) { |
| 7885 |
tmp___292 = (int )((Bool )1); |
|
7885 |
tmp___292 = (int )((Bool )1); |
| 7886 |
} else { |
|
7886 |
} else { |
| 7887 |
tmp___292 = (int )((Bool )0); |
|
7887 |
tmp___292 = (int )((Bool )0); |
| 7888 |
} |
|
7888 |
} |
| 7889 |
} else { |
|
7889 |
} else { |
| 7890 |
tmp___292 = (int )((Bool )0); |
|
7890 |
tmp___292 = (int )((Bool )0); |
| 7891 |
} |
|
7891 |
} |
| 7892 |
} else { |
|
7892 |
} else { |
| 7893 |
tmp___292 = (int )((Bool )0); |
|
7893 |
tmp___292 = (int )((Bool )0); |
| 7894 |
} |
|
7894 |
} |
| 7895 |
if (tmp___292) { |
|
7895 |
if (tmp___292) { |
| 7896 |
vgPlain_clo_trace_syscalls = (Bool )0; |
|
7896 |
vgPlain_clo_trace_syscalls = (Bool )0; |
| 7897 |
} else { |
|
7897 |
} else { |
| 7898 |
vgPlain_fmsg_bad_option(arg, |
|
7898 |
vgPlain_fmsg_bad_option(arg, |
| 7899 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7899 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7900 |
val___32); |
|
7900 |
val___32); |
| 7901 |
} |
|
7901 |
} |
| 7902 |
} |
|
7902 |
} |
| 7903 |
} else { |
|
7903 |
} else { |
| 7904 |
_L___39: |
|
7904 |
_L___39: |
| 7905 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7905 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7906 |
if ((unsigned int )"--wait-for-gdb=" != (unsigned int )((void *)0)) { |
|
7906 |
if ((unsigned int )"--wait-for-gdb=" != (unsigned int )((void *)0)) { |
| 7907 |
tmp___276 = vgPlain_strlen((Char const *)"--wait-for-gdb"); |
|
7907 |
tmp___276 = vgPlain_strlen((Char const *)"--wait-for-gdb"); |
| 7908 |
tmp___277 = vgPlain_strncmp((Char const *)arg, |
|
7908 |
tmp___277 = vgPlain_strncmp((Char const *)arg, |
| 7909 |
(Char const *)"--wait-for-gdb=", |
|
7909 |
(Char const *)"--wait-for-gdb=", |
| 7910 |
tmp___276 + 1UL); |
|
7910 |
tmp___276 + 1UL); |
| 7911 |
if (tmp___277 == 0) { |
|
7911 |
if (tmp___277 == 0) { |
| 7912 |
tmp___275 = (int )((Bool )1); |
|
7912 |
tmp___275 = (int )((Bool )1); |
| 7913 |
} else { |
|
7913 |
} else { |
| 7914 |
tmp___275 = (int )((Bool )0); |
|
7914 |
tmp___275 = (int )((Bool )0); |
| 7915 |
} |
|
7915 |
} |
| 7916 |
} else { |
|
7916 |
} else { |
| 7917 |
tmp___275 = (int )((Bool )0); |
|
7917 |
tmp___275 = (int )((Bool )0); |
| 7918 |
} |
|
7918 |
} |
| 7919 |
} else { |
|
7919 |
} else { |
| 7920 |
tmp___275 = (int )((Bool )0); |
|
7920 |
tmp___275 = (int )((Bool )0); |
| 7921 |
} |
|
7921 |
} |
| 7922 |
if (tmp___275) { |
|
7922 |
if (tmp___275) { |
| 7923 |
tmp___278 = vgPlain_strlen((Char const *)"--wait-for-gdb"); |
|
7923 |
tmp___278 = vgPlain_strlen((Char const *)"--wait-for-gdb"); |
| 7924 |
val___31 = (Char *)(arg + (tmp___278 + 1UL)); |
|
7924 |
val___31 = (Char *)(arg + (tmp___278 + 1UL)); |
| 7925 |
if ((unsigned int )val___31 != (unsigned int )((void *)0)) { |
|
7925 |
if ((unsigned int )val___31 != (unsigned int )((void *)0)) { |
| 7926 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
7926 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 7927 |
tmp___284 = vgPlain_strcmp((Char const *)val___31, |
|
7927 |
tmp___284 = vgPlain_strcmp((Char const *)val___31, |
| 7928 |
(Char const *)"yes"); |
|
7928 |
(Char const *)"yes"); |
| 7929 |
if (tmp___284 == 0) { |
|
7929 |
if (tmp___284 == 0) { |
| 7930 |
tmp___283 = (int )((Bool )1); |
|
7930 |
tmp___283 = (int )((Bool )1); |
| 7931 |
} else { |
|
7931 |
} else { |
| 7932 |
tmp___283 = (int )((Bool )0); |
|
7932 |
tmp___283 = (int )((Bool )0); |
| 7933 |
} |
|
7933 |
} |
| 7934 |
} else { |
|
7934 |
} else { |
| 7935 |
tmp___283 = (int )((Bool )0); |
|
7935 |
tmp___283 = (int )((Bool )0); |
| 7936 |
} |
|
7936 |
} |
| 7937 |
} else { |
|
7937 |
} else { |
| 7938 |
tmp___283 = (int )((Bool )0); |
|
7938 |
tmp___283 = (int )((Bool )0); |
| 7939 |
} |
|
7939 |
} |
| 7940 |
if (tmp___283) { |
|
7940 |
if (tmp___283) { |
| 7941 |
vgPlain_clo_wait_for_gdb = (Bool )1; |
|
7941 |
vgPlain_clo_wait_for_gdb = (Bool )1; |
| 7942 |
} else { |
|
7942 |
} else { |
| 7943 |
if ((unsigned int )val___31 != (unsigned int )((void *)0)) { |
|
7943 |
if ((unsigned int )val___31 != (unsigned int )((void *)0)) { |
| 7944 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
7944 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 7945 |
tmp___281 = vgPlain_strcmp((Char const *)val___31, |
|
7945 |
tmp___281 = vgPlain_strcmp((Char const *)val___31, |
| 7946 |
(Char const *)"no"); |
|
7946 |
(Char const *)"no"); |
| 7947 |
if (tmp___281 == 0) { |
|
7947 |
if (tmp___281 == 0) { |
| 7948 |
tmp___280 = (int )((Bool )1); |
|
7948 |
tmp___280 = (int )((Bool )1); |
| 7949 |
} else { |
|
7949 |
} else { |
| 7950 |
tmp___280 = (int )((Bool )0); |
|
7950 |
tmp___280 = (int )((Bool )0); |
| 7951 |
} |
|
7951 |
} |
| 7952 |
} else { |
|
7952 |
} else { |
| 7953 |
tmp___280 = (int )((Bool )0); |
|
7953 |
tmp___280 = (int )((Bool )0); |
| 7954 |
} |
|
7954 |
} |
| 7955 |
} else { |
|
7955 |
} else { |
| 7956 |
tmp___280 = (int )((Bool )0); |
|
7956 |
tmp___280 = (int )((Bool )0); |
| 7957 |
} |
|
7957 |
} |
| 7958 |
if (tmp___280) { |
|
7958 |
if (tmp___280) { |
| 7959 |
vgPlain_clo_wait_for_gdb = (Bool )0; |
|
7959 |
vgPlain_clo_wait_for_gdb = (Bool )0; |
| 7960 |
} else { |
|
7960 |
} else { |
| 7961 |
vgPlain_fmsg_bad_option(arg, |
|
7961 |
vgPlain_fmsg_bad_option(arg, |
| 7962 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
7962 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 7963 |
val___31); |
|
7963 |
val___31); |
| 7964 |
} |
|
7964 |
} |
| 7965 |
} |
|
7965 |
} |
| 7966 |
} else { |
|
7966 |
} else { |
| 7967 |
_L___38: |
|
7967 |
_L___38: |
| 7968 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7968 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7969 |
if ((unsigned int )"--db-command=" != (unsigned int )((void *)0)) { |
|
7969 |
if ((unsigned int )"--db-command=" != (unsigned int )((void *)0)) { |
| 7970 |
tmp___270 = vgPlain_strlen((Char const *)"--db-command"); |
|
7970 |
tmp___270 = vgPlain_strlen((Char const *)"--db-command"); |
| 7971 |
tmp___271 = vgPlain_strncmp((Char const *)arg, |
|
7971 |
tmp___271 = vgPlain_strncmp((Char const *)arg, |
| 7972 |
(Char const *)"--db-command=", |
|
7972 |
(Char const *)"--db-command=", |
| 7973 |
tmp___270 + 1UL); |
|
7973 |
tmp___270 + 1UL); |
| 7974 |
if (tmp___271 == 0) { |
|
7974 |
if (tmp___271 == 0) { |
| 7975 |
tmp___269 = (int )((Bool )1); |
|
7975 |
tmp___269 = (int )((Bool )1); |
| 7976 |
} else { |
|
7976 |
} else { |
| 7977 |
tmp___269 = (int )((Bool )0); |
|
7977 |
tmp___269 = (int )((Bool )0); |
| 7978 |
} |
|
7978 |
} |
| 7979 |
} else { |
|
7979 |
} else { |
| 7980 |
tmp___269 = (int )((Bool )0); |
|
7980 |
tmp___269 = (int )((Bool )0); |
| 7981 |
} |
|
7981 |
} |
| 7982 |
} else { |
|
7982 |
} else { |
| 7983 |
tmp___269 = (int )((Bool )0); |
|
7983 |
tmp___269 = (int )((Bool )0); |
| 7984 |
} |
|
7984 |
} |
| 7985 |
if (tmp___269) { |
|
7985 |
if (tmp___269) { |
| 7986 |
tmp___272 = vgPlain_strlen((Char const *)"--db-command"); |
|
7986 |
tmp___272 = vgPlain_strlen((Char const *)"--db-command"); |
| 7987 |
val___30 = (Char *)(arg + (tmp___272 + 1UL)); |
|
7987 |
val___30 = (Char *)(arg + (tmp___272 + 1UL)); |
| 7988 |
vgPlain_clo_db_command = val___30; |
|
7988 |
vgPlain_clo_db_command = val___30; |
| 7989 |
} else { |
|
7989 |
} else { |
| 7990 |
_L___37: |
|
7990 |
_L___37: |
| 7991 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
7991 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 7992 |
if ((unsigned int )"--sim-hints=" != (unsigned int )((void *)0)) { |
|
7992 |
if ((unsigned int )"--sim-hints=" != (unsigned int )((void *)0)) { |
| 7993 |
tmp___264 = vgPlain_strlen((Char const *)"--sim-hints"); |
|
7993 |
tmp___264 = vgPlain_strlen((Char const *)"--sim-hints"); |
| 7994 |
tmp___265 = vgPlain_strncmp((Char const *)arg, |
|
7994 |
tmp___265 = vgPlain_strncmp((Char const *)arg, |
| 7995 |
(Char const *)"--sim-hints=", |
|
7995 |
(Char const *)"--sim-hints=", |
| 7996 |
tmp___264 + 1UL); |
|
7996 |
tmp___264 + 1UL); |
| 7997 |
if (tmp___265 == 0) { |
|
7997 |
if (tmp___265 == 0) { |
| 7998 |
tmp___263 = (int )((Bool )1); |
|
7998 |
tmp___263 = (int )((Bool )1); |
| 7999 |
} else { |
|
7999 |
} else { |
| 8000 |
tmp___263 = (int )((Bool )0); |
|
8000 |
tmp___263 = (int )((Bool )0); |
| 8001 |
} |
|
8001 |
} |
| 8002 |
} else { |
|
8002 |
} else { |
| 8003 |
tmp___263 = (int )((Bool )0); |
|
8003 |
tmp___263 = (int )((Bool )0); |
| 8004 |
} |
|
8004 |
} |
| 8005 |
} else { |
|
8005 |
} else { |
| 8006 |
tmp___263 = (int )((Bool )0); |
|
8006 |
tmp___263 = (int )((Bool )0); |
| 8007 |
} |
|
8007 |
} |
| 8008 |
if (tmp___263) { |
|
8008 |
if (tmp___263) { |
| 8009 |
tmp___266 = vgPlain_strlen((Char const *)"--sim-hints"); |
|
8009 |
tmp___266 = vgPlain_strlen((Char const *)"--sim-hints"); |
| 8010 |
val___29 = (Char *)(arg + (tmp___266 + 1UL)); |
|
8010 |
val___29 = (Char *)(arg + (tmp___266 + 1UL)); |
| 8011 |
vgPlain_clo_sim_hints = val___29; |
|
8011 |
vgPlain_clo_sim_hints = val___29; |
| 8012 |
} else { |
|
8012 |
} else { |
| 8013 |
_L___36: |
|
8013 |
_L___36: |
| 8014 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8014 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8015 |
if ((unsigned int )"--sym-offsets=" != (unsigned int )((void *)0)) { |
|
8015 |
if ((unsigned int )"--sym-offsets=" != (unsigned int )((void *)0)) { |
| 8016 |
tmp___252 = vgPlain_strlen((Char const *)"--sym-offsets"); |
|
8016 |
tmp___252 = vgPlain_strlen((Char const *)"--sym-offsets"); |
| 8017 |
tmp___253 = vgPlain_strncmp((Char const *)arg, |
|
8017 |
tmp___253 = vgPlain_strncmp((Char const *)arg, |
| 8018 |
(Char const *)"--sym-offsets=", |
|
8018 |
(Char const *)"--sym-offsets=", |
| 8019 |
tmp___252 + 1UL); |
|
8019 |
tmp___252 + 1UL); |
| 8020 |
if (tmp___253 == 0) { |
|
8020 |
if (tmp___253 == 0) { |
| 8021 |
tmp___251 = (int )((Bool )1); |
|
8021 |
tmp___251 = (int )((Bool )1); |
| 8022 |
} else { |
|
8022 |
} else { |
| 8023 |
tmp___251 = (int )((Bool )0); |
|
8023 |
tmp___251 = (int )((Bool )0); |
| 8024 |
} |
|
8024 |
} |
| 8025 |
} else { |
|
8025 |
} else { |
| 8026 |
tmp___251 = (int )((Bool )0); |
|
8026 |
tmp___251 = (int )((Bool )0); |
| 8027 |
} |
|
8027 |
} |
| 8028 |
} else { |
|
8028 |
} else { |
| 8029 |
tmp___251 = (int )((Bool )0); |
|
8029 |
tmp___251 = (int )((Bool )0); |
| 8030 |
} |
|
8030 |
} |
| 8031 |
if (tmp___251) { |
|
8031 |
if (tmp___251) { |
| 8032 |
tmp___254 = vgPlain_strlen((Char const *)"--sym-offsets"); |
|
8032 |
tmp___254 = vgPlain_strlen((Char const *)"--sym-offsets"); |
| 8033 |
val___28 = (Char *)(arg + (tmp___254 + 1UL)); |
|
8033 |
val___28 = (Char *)(arg + (tmp___254 + 1UL)); |
| 8034 |
if ((unsigned int )val___28 != (unsigned int )((void *)0)) { |
|
8034 |
if ((unsigned int )val___28 != (unsigned int )((void *)0)) { |
| 8035 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
8035 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 8036 |
tmp___260 = vgPlain_strcmp((Char const *)val___28, |
|
8036 |
tmp___260 = vgPlain_strcmp((Char const *)val___28, |
| 8037 |
(Char const *)"yes"); |
|
8037 |
(Char const *)"yes"); |
| 8038 |
if (tmp___260 == 0) { |
|
8038 |
if (tmp___260 == 0) { |
| 8039 |
tmp___259 = (int )((Bool )1); |
|
8039 |
tmp___259 = (int )((Bool )1); |
| 8040 |
} else { |
|
8040 |
} else { |
| 8041 |
tmp___259 = (int )((Bool )0); |
|
8041 |
tmp___259 = (int )((Bool )0); |
| 8042 |
} |
|
8042 |
} |
| 8043 |
} else { |
|
8043 |
} else { |
| 8044 |
tmp___259 = (int )((Bool )0); |
|
8044 |
tmp___259 = (int )((Bool )0); |
| 8045 |
} |
|
8045 |
} |
| 8046 |
} else { |
|
8046 |
} else { |
| 8047 |
tmp___259 = (int )((Bool )0); |
|
8047 |
tmp___259 = (int )((Bool )0); |
| 8048 |
} |
|
8048 |
} |
| 8049 |
if (tmp___259) { |
|
8049 |
if (tmp___259) { |
| 8050 |
vgPlain_clo_sym_offsets = (Bool )1; |
|
8050 |
vgPlain_clo_sym_offsets = (Bool )1; |
| 8051 |
} else { |
|
8051 |
} else { |
| 8052 |
if ((unsigned int )val___28 != (unsigned int )((void *)0)) { |
|
8052 |
if ((unsigned int )val___28 != (unsigned int )((void *)0)) { |
| 8053 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
8053 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 8054 |
tmp___257 = vgPlain_strcmp((Char const *)val___28, |
|
8054 |
tmp___257 = vgPlain_strcmp((Char const *)val___28, |
| 8055 |
(Char const *)"no"); |
|
8055 |
(Char const *)"no"); |
| 8056 |
if (tmp___257 == 0) { |
|
8056 |
if (tmp___257 == 0) { |
| 8057 |
tmp___256 = (int )((Bool )1); |
|
8057 |
tmp___256 = (int )((Bool )1); |
| 8058 |
} else { |
|
8058 |
} else { |
| 8059 |
tmp___256 = (int )((Bool )0); |
|
8059 |
tmp___256 = (int )((Bool )0); |
| 8060 |
} |
|
8060 |
} |
| 8061 |
} else { |
|
8061 |
} else { |
| 8062 |
tmp___256 = (int )((Bool )0); |
|
8062 |
tmp___256 = (int )((Bool )0); |
| 8063 |
} |
|
8063 |
} |
| 8064 |
} else { |
|
8064 |
} else { |
| 8065 |
tmp___256 = (int )((Bool )0); |
|
8065 |
tmp___256 = (int )((Bool )0); |
| 8066 |
} |
|
8066 |
} |
| 8067 |
if (tmp___256) { |
|
8067 |
if (tmp___256) { |
| 8068 |
vgPlain_clo_sym_offsets = (Bool )0; |
|
8068 |
vgPlain_clo_sym_offsets = (Bool )0; |
| 8069 |
} else { |
|
8069 |
} else { |
| 8070 |
vgPlain_fmsg_bad_option(arg, |
|
8070 |
vgPlain_fmsg_bad_option(arg, |
| 8071 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
8071 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 8072 |
val___28); |
|
8072 |
val___28); |
| 8073 |
} |
|
8073 |
} |
| 8074 |
} |
|
8074 |
} |
| 8075 |
} else { |
|
8075 |
} else { |
| 8076 |
_L___35: |
|
8076 |
_L___35: |
| 8077 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8077 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8078 |
if ((unsigned int )"--read-var-info=" != (unsigned int )((void *)0)) { |
|
8078 |
if ((unsigned int )"--read-var-info=" != (unsigned int )((void *)0)) { |
| 8079 |
tmp___240 = vgPlain_strlen((Char const *)"--read-var-info"); |
|
8079 |
tmp___240 = vgPlain_strlen((Char const *)"--read-var-info"); |
| 8080 |
tmp___241 = vgPlain_strncmp((Char const *)arg, |
|
8080 |
tmp___241 = vgPlain_strncmp((Char const *)arg, |
| 8081 |
(Char const *)"--read-var-info=", |
|
8081 |
(Char const *)"--read-var-info=", |
| 8082 |
tmp___240 + 1UL); |
|
8082 |
tmp___240 + 1UL); |
| 8083 |
if (tmp___241 == 0) { |
|
8083 |
if (tmp___241 == 0) { |
| 8084 |
tmp___239 = (int )((Bool )1); |
|
8084 |
tmp___239 = (int )((Bool )1); |
| 8085 |
} else { |
|
8085 |
} else { |
| 8086 |
tmp___239 = (int )((Bool )0); |
|
8086 |
tmp___239 = (int )((Bool )0); |
| 8087 |
} |
|
8087 |
} |
| 8088 |
} else { |
|
8088 |
} else { |
| 8089 |
tmp___239 = (int )((Bool )0); |
|
8089 |
tmp___239 = (int )((Bool )0); |
| 8090 |
} |
|
8090 |
} |
| 8091 |
} else { |
|
8091 |
} else { |
| 8092 |
tmp___239 = (int )((Bool )0); |
|
8092 |
tmp___239 = (int )((Bool )0); |
| 8093 |
} |
|
8093 |
} |
| 8094 |
if (tmp___239) { |
|
8094 |
if (tmp___239) { |
| 8095 |
tmp___242 = vgPlain_strlen((Char const *)"--read-var-info"); |
|
8095 |
tmp___242 = vgPlain_strlen((Char const *)"--read-var-info"); |
| 8096 |
val___27 = (Char *)(arg + (tmp___242 + 1UL)); |
|
8096 |
val___27 = (Char *)(arg + (tmp___242 + 1UL)); |
| 8097 |
if ((unsigned int )val___27 != (unsigned int )((void *)0)) { |
|
8097 |
if ((unsigned int )val___27 != (unsigned int )((void *)0)) { |
| 8098 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
8098 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 8099 |
tmp___248 = vgPlain_strcmp((Char const *)val___27, |
|
8099 |
tmp___248 = vgPlain_strcmp((Char const *)val___27, |
| 8100 |
(Char const *)"yes"); |
|
8100 |
(Char const *)"yes"); |
| 8101 |
if (tmp___248 == 0) { |
|
8101 |
if (tmp___248 == 0) { |
| 8102 |
tmp___247 = (int )((Bool )1); |
|
8102 |
tmp___247 = (int )((Bool )1); |
| 8103 |
} else { |
|
8103 |
} else { |
| 8104 |
tmp___247 = (int )((Bool )0); |
|
8104 |
tmp___247 = (int )((Bool )0); |
| 8105 |
} |
|
8105 |
} |
| 8106 |
} else { |
|
8106 |
} else { |
| 8107 |
tmp___247 = (int )((Bool )0); |
|
8107 |
tmp___247 = (int )((Bool )0); |
| 8108 |
} |
|
8108 |
} |
| 8109 |
} else { |
|
8109 |
} else { |
| 8110 |
tmp___247 = (int )((Bool )0); |
|
8110 |
tmp___247 = (int )((Bool )0); |
| 8111 |
} |
|
8111 |
} |
| 8112 |
if (tmp___247) { |
|
8112 |
if (tmp___247) { |
| 8113 |
vgPlain_clo_read_var_info = (Bool )1; |
|
8113 |
vgPlain_clo_read_var_info = (Bool )1; |
| 8114 |
} else { |
|
8114 |
} else { |
| 8115 |
if ((unsigned int )val___27 != (unsigned int )((void *)0)) { |
|
8115 |
if ((unsigned int )val___27 != (unsigned int )((void *)0)) { |
| 8116 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
8116 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 8117 |
tmp___245 = vgPlain_strcmp((Char const *)val___27, |
|
8117 |
tmp___245 = vgPlain_strcmp((Char const *)val___27, |
| 8118 |
(Char const *)"no"); |
|
8118 |
(Char const *)"no"); |
| 8119 |
if (tmp___245 == 0) { |
|
8119 |
if (tmp___245 == 0) { |
| 8120 |
tmp___244 = (int )((Bool )1); |
|
8120 |
tmp___244 = (int )((Bool )1); |
| 8121 |
} else { |
|
8121 |
} else { |
| 8122 |
tmp___244 = (int )((Bool )0); |
|
8122 |
tmp___244 = (int )((Bool )0); |
| 8123 |
} |
|
8123 |
} |
| 8124 |
} else { |
|
8124 |
} else { |
| 8125 |
tmp___244 = (int )((Bool )0); |
|
8125 |
tmp___244 = (int )((Bool )0); |
| 8126 |
} |
|
8126 |
} |
| 8127 |
} else { |
|
8127 |
} else { |
| 8128 |
tmp___244 = (int )((Bool )0); |
|
8128 |
tmp___244 = (int )((Bool )0); |
| 8129 |
} |
|
8129 |
} |
| 8130 |
if (tmp___244) { |
|
8130 |
if (tmp___244) { |
| 8131 |
vgPlain_clo_read_var_info = (Bool )0; |
|
8131 |
vgPlain_clo_read_var_info = (Bool )0; |
| 8132 |
} else { |
|
8132 |
} else { |
| 8133 |
vgPlain_fmsg_bad_option(arg, |
|
8133 |
vgPlain_fmsg_bad_option(arg, |
| 8134 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
8134 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 8135 |
val___27); |
|
8135 |
val___27); |
| 8136 |
} |
|
8136 |
} |
| 8137 |
} |
|
8137 |
} |
| 8138 |
} else { |
|
8138 |
} else { |
| 8139 |
_L___34: |
|
8139 |
_L___34: |
| 8140 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8140 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8141 |
if ((unsigned int )"--dump-error=" != (unsigned int )((void *)0)) { |
|
8141 |
if ((unsigned int )"--dump-error=" != (unsigned int )((void *)0)) { |
| 8142 |
tmp___233 = vgPlain_strlen((Char const *)"--dump-error"); |
|
8142 |
tmp___233 = vgPlain_strlen((Char const *)"--dump-error"); |
| 8143 |
tmp___234 = vgPlain_strncmp((Char const *)arg, |
|
8143 |
tmp___234 = vgPlain_strncmp((Char const *)arg, |
| 8144 |
(Char const *)"--dump-error=", |
|
8144 |
(Char const *)"--dump-error=", |
| 8145 |
tmp___233 + 1UL); |
|
8145 |
tmp___233 + 1UL); |
| 8146 |
if (tmp___234 == 0) { |
|
8146 |
if (tmp___234 == 0) { |
| 8147 |
tmp___232 = (int )((Bool )1); |
|
8147 |
tmp___232 = (int )((Bool )1); |
| 8148 |
} else { |
|
8148 |
} else { |
| 8149 |
tmp___232 = (int )((Bool )0); |
|
8149 |
tmp___232 = (int )((Bool )0); |
| 8150 |
} |
|
8150 |
} |
| 8151 |
} else { |
|
8151 |
} else { |
| 8152 |
tmp___232 = (int )((Bool )0); |
|
8152 |
tmp___232 = (int )((Bool )0); |
| 8153 |
} |
|
8153 |
} |
| 8154 |
} else { |
|
8154 |
} else { |
| 8155 |
tmp___232 = (int )((Bool )0); |
|
8155 |
tmp___232 = (int )((Bool )0); |
| 8156 |
} |
|
8156 |
} |
| 8157 |
if (tmp___232) { |
|
8157 |
if (tmp___232) { |
| 8158 |
tmp___235 = vgPlain_strlen((Char const *)"--dump-error"); |
|
8158 |
tmp___235 = vgPlain_strlen((Char const *)"--dump-error"); |
| 8159 |
val___26 = (Char *)(arg + (tmp___235 + 1UL)); |
|
8159 |
val___26 = (Char *)(arg + (tmp___235 + 1UL)); |
| 8160 |
tmp___236 = vgPlain_strtoll10(val___26, |
|
8160 |
tmp___236 = vgPlain_strtoll10(val___26, |
| 8161 |
& s___10); |
|
8161 |
& s___10); |
| 8162 |
n___10 = tmp___236; |
|
8162 |
n___10 = tmp___236; |
| 8163 |
vgPlain_clo_dump_error = (Int )n___10; |
|
8163 |
vgPlain_clo_dump_error = (Int )n___10; |
| 8164 |
if (0 != (int )*(s___10 + 0)) { |
|
8164 |
if (0 != (int )*(s___10 + 0)) { |
| 8165 |
vgPlain_fmsg_bad_option(arg, |
|
8165 |
vgPlain_fmsg_bad_option(arg, |
| 8166 |
""); |
|
8166 |
""); |
| 8167 |
} else |
|
8167 |
} else |
| 8168 |
if ((Long )vgPlain_clo_dump_error != n___10) { |
|
8168 |
if ((Long )vgPlain_clo_dump_error != n___10) { |
| 8169 |
vgPlain_fmsg_bad_option(arg, |
|
8169 |
vgPlain_fmsg_bad_option(arg, |
| 8170 |
""); |
|
8170 |
""); |
| 8171 |
} else { |
|
8171 |
} else { |
| 8172 |
|
|
8172 |
|
| 8173 |
} |
|
8173 |
} |
| 8174 |
} else { |
|
8174 |
} else { |
| 8175 |
_L___33: |
|
8175 |
_L___33: |
| 8176 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8176 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8177 |
if ((unsigned int )"--input-fd=" != (unsigned int )((void *)0)) { |
|
8177 |
if ((unsigned int )"--input-fd=" != (unsigned int )((void *)0)) { |
| 8178 |
tmp___226 = vgPlain_strlen((Char const *)"--input-fd"); |
|
8178 |
tmp___226 = vgPlain_strlen((Char const *)"--input-fd"); |
| 8179 |
tmp___227 = vgPlain_strncmp((Char const *)arg, |
|
8179 |
tmp___227 = vgPlain_strncmp((Char const *)arg, |
| 8180 |
(Char const *)"--input-fd=", |
|
8180 |
(Char const *)"--input-fd=", |
| 8181 |
tmp___226 + 1UL); |
|
8181 |
tmp___226 + 1UL); |
| 8182 |
if (tmp___227 == 0) { |
|
8182 |
if (tmp___227 == 0) { |
| 8183 |
tmp___225 = (int )((Bool )1); |
|
8183 |
tmp___225 = (int )((Bool )1); |
| 8184 |
} else { |
|
8184 |
} else { |
| 8185 |
tmp___225 = (int )((Bool )0); |
|
8185 |
tmp___225 = (int )((Bool )0); |
| 8186 |
} |
|
8186 |
} |
| 8187 |
} else { |
|
8187 |
} else { |
| 8188 |
tmp___225 = (int )((Bool )0); |
|
8188 |
tmp___225 = (int )((Bool )0); |
| 8189 |
} |
|
8189 |
} |
| 8190 |
} else { |
|
8190 |
} else { |
| 8191 |
tmp___225 = (int )((Bool )0); |
|
8191 |
tmp___225 = (int )((Bool )0); |
| 8192 |
} |
|
8192 |
} |
| 8193 |
if (tmp___225) { |
|
8193 |
if (tmp___225) { |
| 8194 |
tmp___228 = vgPlain_strlen((Char const *)"--input-fd"); |
|
8194 |
tmp___228 = vgPlain_strlen((Char const *)"--input-fd"); |
| 8195 |
val___25 = (Char *)(arg + (tmp___228 + 1UL)); |
|
8195 |
val___25 = (Char *)(arg + (tmp___228 + 1UL)); |
| 8196 |
tmp___229 = vgPlain_strtoll10(val___25, |
|
8196 |
tmp___229 = vgPlain_strtoll10(val___25, |
| 8197 |
& s___9); |
|
8197 |
& s___9); |
| 8198 |
n___9 = tmp___229; |
|
8198 |
n___9 = tmp___229; |
| 8199 |
vgPlain_clo_input_fd = (Int )n___9; |
|
8199 |
vgPlain_clo_input_fd = (Int )n___9; |
| 8200 |
if (0 != (int )*(s___9 + 0)) { |
|
8200 |
if (0 != (int )*(s___9 + 0)) { |
| 8201 |
vgPlain_fmsg_bad_option(arg, |
|
8201 |
vgPlain_fmsg_bad_option(arg, |
| 8202 |
""); |
|
8202 |
""); |
| 8203 |
} else |
|
8203 |
} else |
| 8204 |
if ((Long )vgPlain_clo_input_fd != n___9) { |
|
8204 |
if ((Long )vgPlain_clo_input_fd != n___9) { |
| 8205 |
vgPlain_fmsg_bad_option(arg, |
|
8205 |
vgPlain_fmsg_bad_option(arg, |
| 8206 |
""); |
|
8206 |
""); |
| 8207 |
} else { |
|
8207 |
} else { |
| 8208 |
|
|
8208 |
|
| 8209 |
} |
|
8209 |
} |
| 8210 |
} else { |
|
8210 |
} else { |
| 8211 |
_L___32: |
|
8211 |
_L___32: |
| 8212 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8212 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8213 |
if ((unsigned int )"--sanity-level=" != (unsigned int )((void *)0)) { |
|
8213 |
if ((unsigned int )"--sanity-level=" != (unsigned int )((void *)0)) { |
| 8214 |
tmp___219 = vgPlain_strlen((Char const *)"--sanity-level"); |
|
8214 |
tmp___219 = vgPlain_strlen((Char const *)"--sanity-level"); |
| 8215 |
tmp___220 = vgPlain_strncmp((Char const *)arg, |
|
8215 |
tmp___220 = vgPlain_strncmp((Char const *)arg, |
| 8216 |
(Char const *)"--sanity-level=", |
|
8216 |
(Char const *)"--sanity-level=", |
| 8217 |
tmp___219 + 1UL); |
|
8217 |
tmp___219 + 1UL); |
| 8218 |
if (tmp___220 == 0) { |
|
8218 |
if (tmp___220 == 0) { |
| 8219 |
tmp___218 = (int )((Bool )1); |
|
8219 |
tmp___218 = (int )((Bool )1); |
| 8220 |
} else { |
|
8220 |
} else { |
| 8221 |
tmp___218 = (int )((Bool )0); |
|
8221 |
tmp___218 = (int )((Bool )0); |
| 8222 |
} |
|
8222 |
} |
| 8223 |
} else { |
|
8223 |
} else { |
| 8224 |
tmp___218 = (int )((Bool )0); |
|
8224 |
tmp___218 = (int )((Bool )0); |
| 8225 |
} |
|
8225 |
} |
| 8226 |
} else { |
|
8226 |
} else { |
| 8227 |
tmp___218 = (int )((Bool )0); |
|
8227 |
tmp___218 = (int )((Bool )0); |
| 8228 |
} |
|
8228 |
} |
| 8229 |
if (tmp___218) { |
|
8229 |
if (tmp___218) { |
| 8230 |
tmp___221 = vgPlain_strlen((Char const *)"--sanity-level"); |
|
8230 |
tmp___221 = vgPlain_strlen((Char const *)"--sanity-level"); |
| 8231 |
val___24 = (Char *)(arg + (tmp___221 + 1UL)); |
|
8231 |
val___24 = (Char *)(arg + (tmp___221 + 1UL)); |
| 8232 |
tmp___222 = vgPlain_strtoll10(val___24, |
|
8232 |
tmp___222 = vgPlain_strtoll10(val___24, |
| 8233 |
& s___8); |
|
8233 |
& s___8); |
| 8234 |
n___8 = tmp___222; |
|
8234 |
n___8 = tmp___222; |
| 8235 |
vgPlain_clo_sanity_level = (Int )n___8; |
|
8235 |
vgPlain_clo_sanity_level = (Int )n___8; |
| 8236 |
if (0 != (int )*(s___8 + 0)) { |
|
8236 |
if (0 != (int )*(s___8 + 0)) { |
| 8237 |
vgPlain_fmsg_bad_option(arg, |
|
8237 |
vgPlain_fmsg_bad_option(arg, |
| 8238 |
""); |
|
8238 |
""); |
| 8239 |
} else |
|
8239 |
} else |
| 8240 |
if ((Long )vgPlain_clo_sanity_level != n___8) { |
|
8240 |
if ((Long )vgPlain_clo_sanity_level != n___8) { |
| 8241 |
vgPlain_fmsg_bad_option(arg, |
|
8241 |
vgPlain_fmsg_bad_option(arg, |
| 8242 |
""); |
|
8242 |
""); |
| 8243 |
} else { |
|
8243 |
} else { |
| 8244 |
|
|
8244 |
|
| 8245 |
} |
|
8245 |
} |
| 8246 |
} else { |
|
8246 |
} else { |
| 8247 |
_L___31: |
|
8247 |
_L___31: |
| 8248 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8248 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8249 |
if ((unsigned int )"--num-callers=" != (unsigned int )((void *)0)) { |
|
8249 |
if ((unsigned int )"--num-callers=" != (unsigned int )((void *)0)) { |
| 8250 |
tmp___212 = vgPlain_strlen((Char const *)"--num-callers"); |
|
8250 |
tmp___212 = vgPlain_strlen((Char const *)"--num-callers"); |
| 8251 |
tmp___213 = vgPlain_strncmp((Char const *)arg, |
|
8251 |
tmp___213 = vgPlain_strncmp((Char const *)arg, |
| 8252 |
(Char const *)"--num-callers=", |
|
8252 |
(Char const *)"--num-callers=", |
| 8253 |
tmp___212 + 1UL); |
|
8253 |
tmp___212 + 1UL); |
| 8254 |
if (tmp___213 == 0) { |
|
8254 |
if (tmp___213 == 0) { |
| 8255 |
tmp___211 = (int )((Bool )1); |
|
8255 |
tmp___211 = (int )((Bool )1); |
| 8256 |
} else { |
|
8256 |
} else { |
| 8257 |
tmp___211 = (int )((Bool )0); |
|
8257 |
tmp___211 = (int )((Bool )0); |
| 8258 |
} |
|
8258 |
} |
| 8259 |
} else { |
|
8259 |
} else { |
| 8260 |
tmp___211 = (int )((Bool )0); |
|
8260 |
tmp___211 = (int )((Bool )0); |
| 8261 |
} |
|
8261 |
} |
| 8262 |
} else { |
|
8262 |
} else { |
| 8263 |
tmp___211 = (int )((Bool )0); |
|
8263 |
tmp___211 = (int )((Bool )0); |
| 8264 |
} |
|
8264 |
} |
| 8265 |
if (tmp___211) { |
|
8265 |
if (tmp___211) { |
| 8266 |
tmp___214 = vgPlain_strlen((Char const *)"--num-callers"); |
|
8266 |
tmp___214 = vgPlain_strlen((Char const *)"--num-callers"); |
| 8267 |
val___23 = (Char *)(arg + (tmp___214 + 1UL)); |
|
8267 |
val___23 = (Char *)(arg + (tmp___214 + 1UL)); |
| 8268 |
tmp___215 = vgPlain_strtoll10(val___23, |
|
8268 |
tmp___215 = vgPlain_strtoll10(val___23, |
| 8269 |
& s___7); |
|
8269 |
& s___7); |
| 8270 |
n___7 = tmp___215; |
|
8270 |
n___7 = tmp___215; |
| 8271 |
vgPlain_clo_backtrace_size = (Int )n___7; |
|
8271 |
vgPlain_clo_backtrace_size = (Int )n___7; |
| 8272 |
if (0 != (int )*(s___7 + 0)) { |
|
8272 |
if (0 != (int )*(s___7 + 0)) { |
| 8273 |
vgPlain_fmsg_bad_option(arg, |
|
8273 |
vgPlain_fmsg_bad_option(arg, |
| 8274 |
""); |
|
8274 |
""); |
| 8275 |
} else |
|
8275 |
} else |
| 8276 |
if ((Long )vgPlain_clo_backtrace_size != n___7) { |
|
8276 |
if ((Long )vgPlain_clo_backtrace_size != n___7) { |
| 8277 |
vgPlain_fmsg_bad_option(arg, |
|
8277 |
vgPlain_fmsg_bad_option(arg, |
| 8278 |
""); |
|
8278 |
""); |
| 8279 |
} else { |
|
8279 |
} else { |
| 8280 |
|
|
8280 |
|
| 8281 |
} |
|
8281 |
} |
| 8282 |
if (vgPlain_clo_backtrace_size < 1) { |
|
8282 |
if (vgPlain_clo_backtrace_size < 1) { |
| 8283 |
vgPlain_fmsg_bad_option(arg, |
|
8283 |
vgPlain_fmsg_bad_option(arg, |
| 8284 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8284 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8285 |
"--num-callers", |
|
8285 |
"--num-callers", |
| 8286 |
(Long )1, |
|
8286 |
(Long )1, |
| 8287 |
(Long )50); |
|
8287 |
(Long )50); |
| 8288 |
} else |
|
8288 |
} else |
| 8289 |
if (vgPlain_clo_backtrace_size > 50) { |
|
8289 |
if (vgPlain_clo_backtrace_size > 50) { |
| 8290 |
vgPlain_fmsg_bad_option(arg, |
|
8290 |
vgPlain_fmsg_bad_option(arg, |
| 8291 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8291 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8292 |
"--num-callers", |
|
8292 |
"--num-callers", |
| 8293 |
(Long )1, |
|
8293 |
(Long )1, |
| 8294 |
(Long )50); |
|
8294 |
(Long )50); |
| 8295 |
} else { |
|
8295 |
} else { |
| 8296 |
|
|
8296 |
|
| 8297 |
} |
|
8297 |
} |
| 8298 |
} else { |
|
8298 |
} else { |
| 8299 |
_L___30: |
|
8299 |
_L___30: |
| 8300 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8300 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8301 |
if ((unsigned int )"--smc-check=none" != (unsigned int )((void *)0)) { |
|
8301 |
if ((unsigned int )"--smc-check=none" != (unsigned int )((void *)0)) { |
| 8302 |
tmp___208 = vgPlain_strcmp((Char const *)arg, |
|
8302 |
tmp___208 = vgPlain_strcmp((Char const *)arg, |
| 8303 |
(Char const *)"--smc-check=none"); |
|
8303 |
(Char const *)"--smc-check=none"); |
| 8304 |
if (tmp___208 == 0) { |
|
8304 |
if (tmp___208 == 0) { |
| 8305 |
tmp___207 = (int )((Bool )1); |
|
8305 |
tmp___207 = (int )((Bool )1); |
| 8306 |
} else { |
|
8306 |
} else { |
| 8307 |
tmp___207 = (int )((Bool )0); |
|
8307 |
tmp___207 = (int )((Bool )0); |
| 8308 |
} |
|
8308 |
} |
| 8309 |
} else { |
|
8309 |
} else { |
| 8310 |
tmp___207 = (int )((Bool )0); |
|
8310 |
tmp___207 = (int )((Bool )0); |
| 8311 |
} |
|
8311 |
} |
| 8312 |
} else { |
|
8312 |
} else { |
| 8313 |
tmp___207 = (int )((Bool )0); |
|
8313 |
tmp___207 = (int )((Bool )0); |
| 8314 |
} |
|
8314 |
} |
| 8315 |
if (tmp___207) { |
|
8315 |
if (tmp___207) { |
| 8316 |
vgPlain_clo_smc_check = (VgSmc )0; |
|
8316 |
vgPlain_clo_smc_check = (VgSmc )0; |
| 8317 |
} else { |
|
8317 |
} else { |
| 8318 |
_L___29: |
|
8318 |
_L___29: |
| 8319 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8319 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8320 |
if ((unsigned int )"--smc-check=stack" != (unsigned int )((void *)0)) { |
|
8320 |
if ((unsigned int )"--smc-check=stack" != (unsigned int )((void *)0)) { |
| 8321 |
tmp___205 = vgPlain_strcmp((Char const *)arg, |
|
8321 |
tmp___205 = vgPlain_strcmp((Char const *)arg, |
| 8322 |
(Char const *)"--smc-check=stack"); |
|
8322 |
(Char const *)"--smc-check=stack"); |
| 8323 |
if (tmp___205 == 0) { |
|
8323 |
if (tmp___205 == 0) { |
| 8324 |
tmp___204 = (int )((Bool )1); |
|
8324 |
tmp___204 = (int )((Bool )1); |
| 8325 |
} else { |
|
8325 |
} else { |
| 8326 |
tmp___204 = (int )((Bool )0); |
|
8326 |
tmp___204 = (int )((Bool )0); |
| 8327 |
} |
|
8327 |
} |
| 8328 |
} else { |
|
8328 |
} else { |
| 8329 |
tmp___204 = (int )((Bool )0); |
|
8329 |
tmp___204 = (int )((Bool )0); |
| 8330 |
} |
|
8330 |
} |
| 8331 |
} else { |
|
8331 |
} else { |
| 8332 |
tmp___204 = (int )((Bool )0); |
|
8332 |
tmp___204 = (int )((Bool )0); |
| 8333 |
} |
|
8333 |
} |
| 8334 |
if (tmp___204) { |
|
8334 |
if (tmp___204) { |
| 8335 |
vgPlain_clo_smc_check = (VgSmc )1; |
|
8335 |
vgPlain_clo_smc_check = (VgSmc )1; |
| 8336 |
} else { |
|
8336 |
} else { |
| 8337 |
_L___28: |
|
8337 |
_L___28: |
| 8338 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8338 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8339 |
if ((unsigned int )"--smc-check=all" != (unsigned int )((void *)0)) { |
|
8339 |
if ((unsigned int )"--smc-check=all" != (unsigned int )((void *)0)) { |
| 8340 |
tmp___202 = vgPlain_strcmp((Char const *)arg, |
|
8340 |
tmp___202 = vgPlain_strcmp((Char const *)arg, |
| 8341 |
(Char const *)"--smc-check=all"); |
|
8341 |
(Char const *)"--smc-check=all"); |
| 8342 |
if (tmp___202 == 0) { |
|
8342 |
if (tmp___202 == 0) { |
| 8343 |
tmp___201 = (int )((Bool )1); |
|
8343 |
tmp___201 = (int )((Bool )1); |
| 8344 |
} else { |
|
8344 |
} else { |
| 8345 |
tmp___201 = (int )((Bool )0); |
|
8345 |
tmp___201 = (int )((Bool )0); |
| 8346 |
} |
|
8346 |
} |
| 8347 |
} else { |
|
8347 |
} else { |
| 8348 |
tmp___201 = (int )((Bool )0); |
|
8348 |
tmp___201 = (int )((Bool )0); |
| 8349 |
} |
|
8349 |
} |
| 8350 |
} else { |
|
8350 |
} else { |
| 8351 |
tmp___201 = (int )((Bool )0); |
|
8351 |
tmp___201 = (int )((Bool )0); |
| 8352 |
} |
|
8352 |
} |
| 8353 |
if (tmp___201) { |
|
8353 |
if (tmp___201) { |
| 8354 |
vgPlain_clo_smc_check = (VgSmc )2; |
|
8354 |
vgPlain_clo_smc_check = (VgSmc )2; |
| 8355 |
} else { |
|
8355 |
} else { |
| 8356 |
_L___27: |
|
8356 |
_L___27: |
| 8357 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8357 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8358 |
if ((unsigned int )"--smc-check=all-non-file" != (unsigned int )((void *)0)) { |
|
8358 |
if ((unsigned int )"--smc-check=all-non-file" != (unsigned int )((void *)0)) { |
| 8359 |
tmp___199 = vgPlain_strcmp((Char const *)arg, |
|
8359 |
tmp___199 = vgPlain_strcmp((Char const *)arg, |
| 8360 |
(Char const *)"--smc-check=all-non-file"); |
|
8360 |
(Char const *)"--smc-check=all-non-file"); |
| 8361 |
if (tmp___199 == 0) { |
|
8361 |
if (tmp___199 == 0) { |
| 8362 |
tmp___198 = (int )((Bool )1); |
|
8362 |
tmp___198 = (int )((Bool )1); |
| 8363 |
} else { |
|
8363 |
} else { |
| 8364 |
tmp___198 = (int )((Bool )0); |
|
8364 |
tmp___198 = (int )((Bool )0); |
| 8365 |
} |
|
8365 |
} |
| 8366 |
} else { |
|
8366 |
} else { |
| 8367 |
tmp___198 = (int )((Bool )0); |
|
8367 |
tmp___198 = (int )((Bool )0); |
| 8368 |
} |
|
8368 |
} |
| 8369 |
} else { |
|
8369 |
} else { |
| 8370 |
tmp___198 = (int )((Bool )0); |
|
8370 |
tmp___198 = (int )((Bool )0); |
| 8371 |
} |
|
8371 |
} |
| 8372 |
if (tmp___198) { |
|
8372 |
if (tmp___198) { |
| 8373 |
vgPlain_clo_smc_check = (VgSmc )3; |
|
8373 |
vgPlain_clo_smc_check = (VgSmc )3; |
| 8374 |
} else { |
|
8374 |
} else { |
| 8375 |
_L___26: |
|
8375 |
_L___26: |
| 8376 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8376 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8377 |
if ((unsigned int )"--kernel-variant=" != (unsigned int )((void *)0)) { |
|
8377 |
if ((unsigned int )"--kernel-variant=" != (unsigned int )((void *)0)) { |
| 8378 |
tmp___194 = vgPlain_strlen((Char const *)"--kernel-variant"); |
|
8378 |
tmp___194 = vgPlain_strlen((Char const *)"--kernel-variant"); |
| 8379 |
tmp___195 = vgPlain_strncmp((Char const *)arg, |
|
8379 |
tmp___195 = vgPlain_strncmp((Char const *)arg, |
| 8380 |
(Char const *)"--kernel-variant=", |
|
8380 |
(Char const *)"--kernel-variant=", |
| 8381 |
tmp___194 + 1UL); |
|
8381 |
tmp___194 + 1UL); |
| 8382 |
if (tmp___195 == 0) { |
|
8382 |
if (tmp___195 == 0) { |
| 8383 |
tmp___193 = (int )((Bool )1); |
|
8383 |
tmp___193 = (int )((Bool )1); |
| 8384 |
} else { |
|
8384 |
} else { |
| 8385 |
tmp___193 = (int )((Bool )0); |
|
8385 |
tmp___193 = (int )((Bool )0); |
| 8386 |
} |
|
8386 |
} |
| 8387 |
} else { |
|
8387 |
} else { |
| 8388 |
tmp___193 = (int )((Bool )0); |
|
8388 |
tmp___193 = (int )((Bool )0); |
| 8389 |
} |
|
8389 |
} |
| 8390 |
} else { |
|
8390 |
} else { |
| 8391 |
tmp___193 = (int )((Bool )0); |
|
8391 |
tmp___193 = (int )((Bool )0); |
| 8392 |
} |
|
8392 |
} |
| 8393 |
if (tmp___193) { |
|
8393 |
if (tmp___193) { |
| 8394 |
tmp___196 = vgPlain_strlen((Char const *)"--kernel-variant"); |
|
8394 |
tmp___196 = vgPlain_strlen((Char const *)"--kernel-variant"); |
| 8395 |
val___22 = (Char *)(arg + (tmp___196 + 1UL)); |
|
8395 |
val___22 = (Char *)(arg + (tmp___196 + 1UL)); |
| 8396 |
vgPlain_clo_kernel_variant = (HChar *)val___22; |
|
8396 |
vgPlain_clo_kernel_variant = (HChar *)val___22; |
| 8397 |
} else { |
|
8397 |
} else { |
| 8398 |
_L___25: |
|
8398 |
_L___25: |
| 8399 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8399 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8400 |
if ((unsigned int )"--dsymutil=" != (unsigned int )((void *)0)) { |
|
8400 |
if ((unsigned int )"--dsymutil=" != (unsigned int )((void *)0)) { |
| 8401 |
tmp___182 = vgPlain_strlen((Char const *)"--dsymutil"); |
|
8401 |
tmp___182 = vgPlain_strlen((Char const *)"--dsymutil"); |
| 8402 |
tmp___183 = vgPlain_strncmp((Char const *)arg, |
|
8402 |
tmp___183 = vgPlain_strncmp((Char const *)arg, |
| 8403 |
(Char const *)"--dsymutil=", |
|
8403 |
(Char const *)"--dsymutil=", |
| 8404 |
tmp___182 + 1UL); |
|
8404 |
tmp___182 + 1UL); |
| 8405 |
if (tmp___183 == 0) { |
|
8405 |
if (tmp___183 == 0) { |
| 8406 |
tmp___181 = (int )((Bool )1); |
|
8406 |
tmp___181 = (int )((Bool )1); |
| 8407 |
} else { |
|
8407 |
} else { |
| 8408 |
tmp___181 = (int )((Bool )0); |
|
8408 |
tmp___181 = (int )((Bool )0); |
| 8409 |
} |
|
8409 |
} |
| 8410 |
} else { |
|
8410 |
} else { |
| 8411 |
tmp___181 = (int )((Bool )0); |
|
8411 |
tmp___181 = (int )((Bool )0); |
| 8412 |
} |
|
8412 |
} |
| 8413 |
} else { |
|
8413 |
} else { |
| 8414 |
tmp___181 = (int )((Bool )0); |
|
8414 |
tmp___181 = (int )((Bool )0); |
| 8415 |
} |
|
8415 |
} |
| 8416 |
if (tmp___181) { |
|
8416 |
if (tmp___181) { |
| 8417 |
tmp___184 = vgPlain_strlen((Char const *)"--dsymutil"); |
|
8417 |
tmp___184 = vgPlain_strlen((Char const *)"--dsymutil"); |
| 8418 |
val___21 = (Char *)(arg + (tmp___184 + 1UL)); |
|
8418 |
val___21 = (Char *)(arg + (tmp___184 + 1UL)); |
| 8419 |
if ((unsigned int )val___21 != (unsigned int )((void *)0)) { |
|
8419 |
if ((unsigned int )val___21 != (unsigned int )((void *)0)) { |
| 8420 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
8420 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 8421 |
tmp___190 = vgPlain_strcmp((Char const *)val___21, |
|
8421 |
tmp___190 = vgPlain_strcmp((Char const *)val___21, |
| 8422 |
(Char const *)"yes"); |
|
8422 |
(Char const *)"yes"); |
| 8423 |
if (tmp___190 == 0) { |
|
8423 |
if (tmp___190 == 0) { |
| 8424 |
tmp___189 = (int )((Bool )1); |
|
8424 |
tmp___189 = (int )((Bool )1); |
| 8425 |
} else { |
|
8425 |
} else { |
| 8426 |
tmp___189 = (int )((Bool )0); |
|
8426 |
tmp___189 = (int )((Bool )0); |
| 8427 |
} |
|
8427 |
} |
| 8428 |
} else { |
|
8428 |
} else { |
| 8429 |
tmp___189 = (int )((Bool )0); |
|
8429 |
tmp___189 = (int )((Bool )0); |
| 8430 |
} |
|
8430 |
} |
| 8431 |
} else { |
|
8431 |
} else { |
| 8432 |
tmp___189 = (int )((Bool )0); |
|
8432 |
tmp___189 = (int )((Bool )0); |
| 8433 |
} |
|
8433 |
} |
| 8434 |
if (tmp___189) { |
|
8434 |
if (tmp___189) { |
| 8435 |
vgPlain_clo_dsymutil = (Bool )1; |
|
8435 |
vgPlain_clo_dsymutil = (Bool )1; |
| 8436 |
} else { |
|
8436 |
} else { |
| 8437 |
if ((unsigned int )val___21 != (unsigned int )((void *)0)) { |
|
8437 |
if ((unsigned int )val___21 != (unsigned int )((void *)0)) { |
| 8438 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
8438 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 8439 |
tmp___187 = vgPlain_strcmp((Char const *)val___21, |
|
8439 |
tmp___187 = vgPlain_strcmp((Char const *)val___21, |
| 8440 |
(Char const *)"no"); |
|
8440 |
(Char const *)"no"); |
| 8441 |
if (tmp___187 == 0) { |
|
8441 |
if (tmp___187 == 0) { |
| 8442 |
tmp___186 = (int )((Bool )1); |
|
8442 |
tmp___186 = (int )((Bool )1); |
| 8443 |
} else { |
|
8443 |
} else { |
| 8444 |
tmp___186 = (int )((Bool )0); |
|
8444 |
tmp___186 = (int )((Bool )0); |
| 8445 |
} |
|
8445 |
} |
| 8446 |
} else { |
|
8446 |
} else { |
| 8447 |
tmp___186 = (int )((Bool )0); |
|
8447 |
tmp___186 = (int )((Bool )0); |
| 8448 |
} |
|
8448 |
} |
| 8449 |
} else { |
|
8449 |
} else { |
| 8450 |
tmp___186 = (int )((Bool )0); |
|
8450 |
tmp___186 = (int )((Bool )0); |
| 8451 |
} |
|
8451 |
} |
| 8452 |
if (tmp___186) { |
|
8452 |
if (tmp___186) { |
| 8453 |
vgPlain_clo_dsymutil = (Bool )0; |
|
8453 |
vgPlain_clo_dsymutil = (Bool )0; |
| 8454 |
} else { |
|
8454 |
} else { |
| 8455 |
vgPlain_fmsg_bad_option(arg, |
|
8455 |
vgPlain_fmsg_bad_option(arg, |
| 8456 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
8456 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 8457 |
val___21); |
|
8457 |
val___21); |
| 8458 |
} |
|
8458 |
} |
| 8459 |
} |
|
8459 |
} |
| 8460 |
} else { |
|
8460 |
} else { |
| 8461 |
_L___24: |
|
8461 |
_L___24: |
| 8462 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8462 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8463 |
if ((unsigned int )"--trace-children-skip=" != (unsigned int )((void *)0)) { |
|
8463 |
if ((unsigned int )"--trace-children-skip=" != (unsigned int )((void *)0)) { |
| 8464 |
tmp___176 = vgPlain_strlen((Char const *)"--trace-children-skip"); |
|
8464 |
tmp___176 = vgPlain_strlen((Char const *)"--trace-children-skip"); |
| 8465 |
tmp___177 = vgPlain_strncmp((Char const *)arg, |
|
8465 |
tmp___177 = vgPlain_strncmp((Char const *)arg, |
| 8466 |
(Char const *)"--trace-children-skip=", |
|
8466 |
(Char const *)"--trace-children-skip=", |
| 8467 |
tmp___176 + 1UL); |
|
8467 |
tmp___176 + 1UL); |
| 8468 |
if (tmp___177 == 0) { |
|
8468 |
if (tmp___177 == 0) { |
| 8469 |
tmp___175 = (int )((Bool )1); |
|
8469 |
tmp___175 = (int )((Bool )1); |
| 8470 |
} else { |
|
8470 |
} else { |
| 8471 |
tmp___175 = (int )((Bool )0); |
|
8471 |
tmp___175 = (int )((Bool )0); |
| 8472 |
} |
|
8472 |
} |
| 8473 |
} else { |
|
8473 |
} else { |
| 8474 |
tmp___175 = (int )((Bool )0); |
|
8474 |
tmp___175 = (int )((Bool )0); |
| 8475 |
} |
|
8475 |
} |
| 8476 |
} else { |
|
8476 |
} else { |
| 8477 |
tmp___175 = (int )((Bool )0); |
|
8477 |
tmp___175 = (int )((Bool )0); |
| 8478 |
} |
|
8478 |
} |
| 8479 |
if (tmp___175) { |
|
8479 |
if (tmp___175) { |
| 8480 |
tmp___178 = vgPlain_strlen((Char const *)"--trace-children-skip"); |
|
8480 |
tmp___178 = vgPlain_strlen((Char const *)"--trace-children-skip"); |
| 8481 |
val___20 = (Char *)(arg + (tmp___178 + 1UL)); |
|
8481 |
val___20 = (Char *)(arg + (tmp___178 + 1UL)); |
| 8482 |
vgPlain_clo_trace_children_skip = (HChar *)val___20; |
|
8482 |
vgPlain_clo_trace_children_skip = (HChar *)val___20; |
| 8483 |
} else { |
|
8483 |
} else { |
| 8484 |
_L___23: |
|
8484 |
_L___23: |
| 8485 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8485 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8486 |
if ((unsigned int )"--trace-children-skip-by-arg=" != (unsigned int )((void *)0)) { |
|
8486 |
if ((unsigned int )"--trace-children-skip-by-arg=" != (unsigned int )((void *)0)) { |
| 8487 |
tmp___170 = vgPlain_strlen((Char const *)"--trace-children-skip-by-arg"); |
|
8487 |
tmp___170 = vgPlain_strlen((Char const *)"--trace-children-skip-by-arg"); |
| 8488 |
tmp___171 = vgPlain_strncmp((Char const *)arg, |
|
8488 |
tmp___171 = vgPlain_strncmp((Char const *)arg, |
| 8489 |
(Char const *)"--trace-children-skip-by-arg=", |
|
8489 |
(Char const *)"--trace-children-skip-by-arg=", |
| 8490 |
tmp___170 + 1UL); |
|
8490 |
tmp___170 + 1UL); |
| 8491 |
if (tmp___171 == 0) { |
|
8491 |
if (tmp___171 == 0) { |
| 8492 |
tmp___169 = (int )((Bool )1); |
|
8492 |
tmp___169 = (int )((Bool )1); |
| 8493 |
} else { |
|
8493 |
} else { |
| 8494 |
tmp___169 = (int )((Bool )0); |
|
8494 |
tmp___169 = (int )((Bool )0); |
| 8495 |
} |
|
8495 |
} |
| 8496 |
} else { |
|
8496 |
} else { |
| 8497 |
tmp___169 = (int )((Bool )0); |
|
8497 |
tmp___169 = (int )((Bool )0); |
| 8498 |
} |
|
8498 |
} |
| 8499 |
} else { |
|
8499 |
} else { |
| 8500 |
tmp___169 = (int )((Bool )0); |
|
8500 |
tmp___169 = (int )((Bool )0); |
| 8501 |
} |
|
8501 |
} |
| 8502 |
if (tmp___169) { |
|
8502 |
if (tmp___169) { |
| 8503 |
tmp___172 = vgPlain_strlen((Char const *)"--trace-children-skip-by-arg"); |
|
8503 |
tmp___172 = vgPlain_strlen((Char const *)"--trace-children-skip-by-arg"); |
| 8504 |
val___19 = (Char *)(arg + (tmp___172 + 1UL)); |
|
8504 |
val___19 = (Char *)(arg + (tmp___172 + 1UL)); |
| 8505 |
vgPlain_clo_trace_children_skip_by_arg = (HChar *)val___19; |
|
8505 |
vgPlain_clo_trace_children_skip_by_arg = (HChar *)val___19; |
| 8506 |
} else { |
|
8506 |
} else { |
| 8507 |
_L___22: |
|
8507 |
_L___22: |
| 8508 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8508 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8509 |
if ((unsigned int )"--vex-iropt-verbosity=" != (unsigned int )((void *)0)) { |
|
8509 |
if ((unsigned int )"--vex-iropt-verbosity=" != (unsigned int )((void *)0)) { |
| 8510 |
tmp___163 = vgPlain_strlen((Char const *)"--vex-iropt-verbosity"); |
|
8510 |
tmp___163 = vgPlain_strlen((Char const *)"--vex-iropt-verbosity"); |
| 8511 |
tmp___164 = vgPlain_strncmp((Char const *)arg, |
|
8511 |
tmp___164 = vgPlain_strncmp((Char const *)arg, |
| 8512 |
(Char const *)"--vex-iropt-verbosity=", |
|
8512 |
(Char const *)"--vex-iropt-verbosity=", |
| 8513 |
tmp___163 + 1UL); |
|
8513 |
tmp___163 + 1UL); |
| 8514 |
if (tmp___164 == 0) { |
|
8514 |
if (tmp___164 == 0) { |
| 8515 |
tmp___162 = (int )((Bool )1); |
|
8515 |
tmp___162 = (int )((Bool )1); |
| 8516 |
} else { |
|
8516 |
} else { |
| 8517 |
tmp___162 = (int )((Bool )0); |
|
8517 |
tmp___162 = (int )((Bool )0); |
| 8518 |
} |
|
8518 |
} |
| 8519 |
} else { |
|
8519 |
} else { |
| 8520 |
tmp___162 = (int )((Bool )0); |
|
8520 |
tmp___162 = (int )((Bool )0); |
| 8521 |
} |
|
8521 |
} |
| 8522 |
} else { |
|
8522 |
} else { |
| 8523 |
tmp___162 = (int )((Bool )0); |
|
8523 |
tmp___162 = (int )((Bool )0); |
| 8524 |
} |
|
8524 |
} |
| 8525 |
if (tmp___162) { |
|
8525 |
if (tmp___162) { |
| 8526 |
tmp___165 = vgPlain_strlen((Char const *)"--vex-iropt-verbosity"); |
|
8526 |
tmp___165 = vgPlain_strlen((Char const *)"--vex-iropt-verbosity"); |
| 8527 |
val___18 = (Char *)(arg + (tmp___165 + 1UL)); |
|
8527 |
val___18 = (Char *)(arg + (tmp___165 + 1UL)); |
| 8528 |
tmp___166 = vgPlain_strtoll10(val___18, |
|
8528 |
tmp___166 = vgPlain_strtoll10(val___18, |
| 8529 |
& s___6); |
|
8529 |
& s___6); |
| 8530 |
n___6 = tmp___166; |
|
8530 |
n___6 = tmp___166; |
| 8531 |
vgPlain_clo_vex_control.iropt_verbosity = (Int )n___6; |
|
8531 |
vgPlain_clo_vex_control.iropt_verbosity = (Int )n___6; |
| 8532 |
if (0 != (int )*(s___6 + 0)) { |
|
8532 |
if (0 != (int )*(s___6 + 0)) { |
| 8533 |
vgPlain_fmsg_bad_option(arg, |
|
8533 |
vgPlain_fmsg_bad_option(arg, |
| 8534 |
""); |
|
8534 |
""); |
| 8535 |
} else |
|
8535 |
} else |
| 8536 |
if ((Long )vgPlain_clo_vex_control.iropt_verbosity != n___6) { |
|
8536 |
if ((Long )vgPlain_clo_vex_control.iropt_verbosity != n___6) { |
| 8537 |
vgPlain_fmsg_bad_option(arg, |
|
8537 |
vgPlain_fmsg_bad_option(arg, |
| 8538 |
""); |
|
8538 |
""); |
| 8539 |
} else { |
|
8539 |
} else { |
| 8540 |
|
|
8540 |
|
| 8541 |
} |
|
8541 |
} |
| 8542 |
if (vgPlain_clo_vex_control.iropt_verbosity < 0) { |
|
8542 |
if (vgPlain_clo_vex_control.iropt_verbosity < 0) { |
| 8543 |
vgPlain_fmsg_bad_option(arg, |
|
8543 |
vgPlain_fmsg_bad_option(arg, |
| 8544 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8544 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8545 |
"--vex-iropt-verbosity", |
|
8545 |
"--vex-iropt-verbosity", |
| 8546 |
(Long )0, |
|
8546 |
(Long )0, |
| 8547 |
(Long )10); |
|
8547 |
(Long )10); |
| 8548 |
} else |
|
8548 |
} else |
| 8549 |
if (vgPlain_clo_vex_control.iropt_verbosity > 10) { |
|
8549 |
if (vgPlain_clo_vex_control.iropt_verbosity > 10) { |
| 8550 |
vgPlain_fmsg_bad_option(arg, |
|
8550 |
vgPlain_fmsg_bad_option(arg, |
| 8551 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8551 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8552 |
"--vex-iropt-verbosity", |
|
8552 |
"--vex-iropt-verbosity", |
| 8553 |
(Long )0, |
|
8553 |
(Long )0, |
| 8554 |
(Long )10); |
|
8554 |
(Long )10); |
| 8555 |
} else { |
|
8555 |
} else { |
| 8556 |
|
|
8556 |
|
| 8557 |
} |
|
8557 |
} |
| 8558 |
} else { |
|
8558 |
} else { |
| 8559 |
_L___21: |
|
8559 |
_L___21: |
| 8560 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8560 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8561 |
if ((unsigned int )"--vex-iropt-level=" != (unsigned int )((void *)0)) { |
|
8561 |
if ((unsigned int )"--vex-iropt-level=" != (unsigned int )((void *)0)) { |
| 8562 |
tmp___156 = vgPlain_strlen((Char const *)"--vex-iropt-level"); |
|
8562 |
tmp___156 = vgPlain_strlen((Char const *)"--vex-iropt-level"); |
| 8563 |
tmp___157 = vgPlain_strncmp((Char const *)arg, |
|
8563 |
tmp___157 = vgPlain_strncmp((Char const *)arg, |
| 8564 |
(Char const *)"--vex-iropt-level=", |
|
8564 |
(Char const *)"--vex-iropt-level=", |
| 8565 |
tmp___156 + 1UL); |
|
8565 |
tmp___156 + 1UL); |
| 8566 |
if (tmp___157 == 0) { |
|
8566 |
if (tmp___157 == 0) { |
| 8567 |
tmp___155 = (int )((Bool )1); |
|
8567 |
tmp___155 = (int )((Bool )1); |
| 8568 |
} else { |
|
8568 |
} else { |
| 8569 |
tmp___155 = (int )((Bool )0); |
|
8569 |
tmp___155 = (int )((Bool )0); |
| 8570 |
} |
|
8570 |
} |
| 8571 |
} else { |
|
8571 |
} else { |
| 8572 |
tmp___155 = (int )((Bool )0); |
|
8572 |
tmp___155 = (int )((Bool )0); |
| 8573 |
} |
|
8573 |
} |
| 8574 |
} else { |
|
8574 |
} else { |
| 8575 |
tmp___155 = (int )((Bool )0); |
|
8575 |
tmp___155 = (int )((Bool )0); |
| 8576 |
} |
|
8576 |
} |
| 8577 |
if (tmp___155) { |
|
8577 |
if (tmp___155) { |
| 8578 |
tmp___158 = vgPlain_strlen((Char const *)"--vex-iropt-level"); |
|
8578 |
tmp___158 = vgPlain_strlen((Char const *)"--vex-iropt-level"); |
| 8579 |
val___17 = (Char *)(arg + (tmp___158 + 1UL)); |
|
8579 |
val___17 = (Char *)(arg + (tmp___158 + 1UL)); |
| 8580 |
tmp___159 = vgPlain_strtoll10(val___17, |
|
8580 |
tmp___159 = vgPlain_strtoll10(val___17, |
| 8581 |
& s___5); |
|
8581 |
& s___5); |
| 8582 |
n___5 = tmp___159; |
|
8582 |
n___5 = tmp___159; |
| 8583 |
vgPlain_clo_vex_control.iropt_level = (Int )n___5; |
|
8583 |
vgPlain_clo_vex_control.iropt_level = (Int )n___5; |
| 8584 |
if (0 != (int )*(s___5 + 0)) { |
|
8584 |
if (0 != (int )*(s___5 + 0)) { |
| 8585 |
vgPlain_fmsg_bad_option(arg, |
|
8585 |
vgPlain_fmsg_bad_option(arg, |
| 8586 |
""); |
|
8586 |
""); |
| 8587 |
} else |
|
8587 |
} else |
| 8588 |
if ((Long )vgPlain_clo_vex_control.iropt_level != n___5) { |
|
8588 |
if ((Long )vgPlain_clo_vex_control.iropt_level != n___5) { |
| 8589 |
vgPlain_fmsg_bad_option(arg, |
|
8589 |
vgPlain_fmsg_bad_option(arg, |
| 8590 |
""); |
|
8590 |
""); |
| 8591 |
} else { |
|
8591 |
} else { |
| 8592 |
|
|
8592 |
|
| 8593 |
} |
|
8593 |
} |
| 8594 |
if (vgPlain_clo_vex_control.iropt_level < 0) { |
|
8594 |
if (vgPlain_clo_vex_control.iropt_level < 0) { |
| 8595 |
vgPlain_fmsg_bad_option(arg, |
|
8595 |
vgPlain_fmsg_bad_option(arg, |
| 8596 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8596 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8597 |
"--vex-iropt-level", |
|
8597 |
"--vex-iropt-level", |
| 8598 |
(Long )0, |
|
8598 |
(Long )0, |
| 8599 |
(Long )2); |
|
8599 |
(Long )2); |
| 8600 |
} else |
|
8600 |
} else |
| 8601 |
if (vgPlain_clo_vex_control.iropt_level > 2) { |
|
8601 |
if (vgPlain_clo_vex_control.iropt_level > 2) { |
| 8602 |
vgPlain_fmsg_bad_option(arg, |
|
8602 |
vgPlain_fmsg_bad_option(arg, |
| 8603 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8603 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8604 |
"--vex-iropt-level", |
|
8604 |
"--vex-iropt-level", |
| 8605 |
(Long )0, |
|
8605 |
(Long )0, |
| 8606 |
(Long )2); |
|
8606 |
(Long )2); |
| 8607 |
} else { |
|
8607 |
} else { |
| 8608 |
|
|
8608 |
|
| 8609 |
} |
|
8609 |
} |
| 8610 |
} else { |
|
8610 |
} else { |
| 8611 |
_L___20: |
|
8611 |
_L___20: |
| 8612 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8612 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8613 |
if ((unsigned int )"--vex-iropt-precise-memory-exns=" != (unsigned int )((void *)0)) { |
|
8613 |
if ((unsigned int )"--vex-iropt-precise-memory-exns=" != (unsigned int )((void *)0)) { |
| 8614 |
tmp___144 = vgPlain_strlen((Char const *)"--vex-iropt-precise-memory-exns"); |
|
8614 |
tmp___144 = vgPlain_strlen((Char const *)"--vex-iropt-precise-memory-exns"); |
| 8615 |
tmp___145 = vgPlain_strncmp((Char const *)arg, |
|
8615 |
tmp___145 = vgPlain_strncmp((Char const *)arg, |
| 8616 |
(Char const *)"--vex-iropt-precise-memory-exns=", |
|
8616 |
(Char const *)"--vex-iropt-precise-memory-exns=", |
| 8617 |
tmp___144 + 1UL); |
|
8617 |
tmp___144 + 1UL); |
| 8618 |
if (tmp___145 == 0) { |
|
8618 |
if (tmp___145 == 0) { |
| 8619 |
tmp___143 = (int )((Bool )1); |
|
8619 |
tmp___143 = (int )((Bool )1); |
| 8620 |
} else { |
|
8620 |
} else { |
| 8621 |
tmp___143 = (int )((Bool )0); |
|
8621 |
tmp___143 = (int )((Bool )0); |
| 8622 |
} |
|
8622 |
} |
| 8623 |
} else { |
|
8623 |
} else { |
| 8624 |
tmp___143 = (int )((Bool )0); |
|
8624 |
tmp___143 = (int )((Bool )0); |
| 8625 |
} |
|
8625 |
} |
| 8626 |
} else { |
|
8626 |
} else { |
| 8627 |
tmp___143 = (int )((Bool )0); |
|
8627 |
tmp___143 = (int )((Bool )0); |
| 8628 |
} |
|
8628 |
} |
| 8629 |
if (tmp___143) { |
|
8629 |
if (tmp___143) { |
| 8630 |
tmp___146 = vgPlain_strlen((Char const *)"--vex-iropt-precise-memory-exns"); |
|
8630 |
tmp___146 = vgPlain_strlen((Char const *)"--vex-iropt-precise-memory-exns"); |
| 8631 |
val___16 = (Char *)(arg + (tmp___146 + 1UL)); |
|
8631 |
val___16 = (Char *)(arg + (tmp___146 + 1UL)); |
| 8632 |
if ((unsigned int )val___16 != (unsigned int )((void *)0)) { |
|
8632 |
if ((unsigned int )val___16 != (unsigned int )((void *)0)) { |
| 8633 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
8633 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 8634 |
tmp___152 = vgPlain_strcmp((Char const *)val___16, |
|
8634 |
tmp___152 = vgPlain_strcmp((Char const *)val___16, |
| 8635 |
(Char const *)"yes"); |
|
8635 |
(Char const *)"yes"); |
| 8636 |
if (tmp___152 == 0) { |
|
8636 |
if (tmp___152 == 0) { |
| 8637 |
tmp___151 = (int )((Bool )1); |
|
8637 |
tmp___151 = (int )((Bool )1); |
| 8638 |
} else { |
|
8638 |
} else { |
| 8639 |
tmp___151 = (int )((Bool )0); |
|
8639 |
tmp___151 = (int )((Bool )0); |
| 8640 |
} |
|
8640 |
} |
| 8641 |
} else { |
|
8641 |
} else { |
| 8642 |
tmp___151 = (int )((Bool )0); |
|
8642 |
tmp___151 = (int )((Bool )0); |
| 8643 |
} |
|
8643 |
} |
| 8644 |
} else { |
|
8644 |
} else { |
| 8645 |
tmp___151 = (int )((Bool )0); |
|
8645 |
tmp___151 = (int )((Bool )0); |
| 8646 |
} |
|
8646 |
} |
| 8647 |
if (tmp___151) { |
|
8647 |
if (tmp___151) { |
| 8648 |
vgPlain_clo_vex_control.iropt_precise_memory_exns = (Bool )1; |
|
8648 |
vgPlain_clo_vex_control.iropt_precise_memory_exns = (Bool )1; |
| 8649 |
} else { |
|
8649 |
} else { |
| 8650 |
if ((unsigned int )val___16 != (unsigned int )((void *)0)) { |
|
8650 |
if ((unsigned int )val___16 != (unsigned int )((void *)0)) { |
| 8651 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
8651 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 8652 |
tmp___149 = vgPlain_strcmp((Char const *)val___16, |
|
8652 |
tmp___149 = vgPlain_strcmp((Char const *)val___16, |
| 8653 |
(Char const *)"no"); |
|
8653 |
(Char const *)"no"); |
| 8654 |
if (tmp___149 == 0) { |
|
8654 |
if (tmp___149 == 0) { |
| 8655 |
tmp___148 = (int )((Bool )1); |
|
8655 |
tmp___148 = (int )((Bool )1); |
| 8656 |
} else { |
|
8656 |
} else { |
| 8657 |
tmp___148 = (int )((Bool )0); |
|
8657 |
tmp___148 = (int )((Bool )0); |
| 8658 |
} |
|
8658 |
} |
| 8659 |
} else { |
|
8659 |
} else { |
| 8660 |
tmp___148 = (int )((Bool )0); |
|
8660 |
tmp___148 = (int )((Bool )0); |
| 8661 |
} |
|
8661 |
} |
| 8662 |
} else { |
|
8662 |
} else { |
| 8663 |
tmp___148 = (int )((Bool )0); |
|
8663 |
tmp___148 = (int )((Bool )0); |
| 8664 |
} |
|
8664 |
} |
| 8665 |
if (tmp___148) { |
|
8665 |
if (tmp___148) { |
| 8666 |
vgPlain_clo_vex_control.iropt_precise_memory_exns = (Bool )0; |
|
8666 |
vgPlain_clo_vex_control.iropt_precise_memory_exns = (Bool )0; |
| 8667 |
} else { |
|
8667 |
} else { |
| 8668 |
vgPlain_fmsg_bad_option(arg, |
|
8668 |
vgPlain_fmsg_bad_option(arg, |
| 8669 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
8669 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 8670 |
val___16); |
|
8670 |
val___16); |
| 8671 |
} |
|
8671 |
} |
| 8672 |
} |
|
8672 |
} |
| 8673 |
} else { |
|
8673 |
} else { |
| 8674 |
_L___19: |
|
8674 |
_L___19: |
| 8675 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8675 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8676 |
if ((unsigned int )"--vex-iropt-unroll-thresh=" != (unsigned int )((void *)0)) { |
|
8676 |
if ((unsigned int )"--vex-iropt-unroll-thresh=" != (unsigned int )((void *)0)) { |
| 8677 |
tmp___137 = vgPlain_strlen((Char const *)"--vex-iropt-unroll-thresh"); |
|
8677 |
tmp___137 = vgPlain_strlen((Char const *)"--vex-iropt-unroll-thresh"); |
| 8678 |
tmp___138 = vgPlain_strncmp((Char const *)arg, |
|
8678 |
tmp___138 = vgPlain_strncmp((Char const *)arg, |
| 8679 |
(Char const *)"--vex-iropt-unroll-thresh=", |
|
8679 |
(Char const *)"--vex-iropt-unroll-thresh=", |
| 8680 |
tmp___137 + 1UL); |
|
8680 |
tmp___137 + 1UL); |
| 8681 |
if (tmp___138 == 0) { |
|
8681 |
if (tmp___138 == 0) { |
| 8682 |
tmp___136 = (int )((Bool )1); |
|
8682 |
tmp___136 = (int )((Bool )1); |
| 8683 |
} else { |
|
8683 |
} else { |
| 8684 |
tmp___136 = (int )((Bool )0); |
|
8684 |
tmp___136 = (int )((Bool )0); |
| 8685 |
} |
|
8685 |
} |
| 8686 |
} else { |
|
8686 |
} else { |
| 8687 |
tmp___136 = (int )((Bool )0); |
|
8687 |
tmp___136 = (int )((Bool )0); |
| 8688 |
} |
|
8688 |
} |
| 8689 |
} else { |
|
8689 |
} else { |
| 8690 |
tmp___136 = (int )((Bool )0); |
|
8690 |
tmp___136 = (int )((Bool )0); |
| 8691 |
} |
|
8691 |
} |
| 8692 |
if (tmp___136) { |
|
8692 |
if (tmp___136) { |
| 8693 |
tmp___139 = vgPlain_strlen((Char const *)"--vex-iropt-unroll-thresh"); |
|
8693 |
tmp___139 = vgPlain_strlen((Char const *)"--vex-iropt-unroll-thresh"); |
| 8694 |
val___15 = (Char *)(arg + (tmp___139 + 1UL)); |
|
8694 |
val___15 = (Char *)(arg + (tmp___139 + 1UL)); |
| 8695 |
tmp___140 = vgPlain_strtoll10(val___15, |
|
8695 |
tmp___140 = vgPlain_strtoll10(val___15, |
| 8696 |
& s___4); |
|
8696 |
& s___4); |
| 8697 |
n___4 = tmp___140; |
|
8697 |
n___4 = tmp___140; |
| 8698 |
vgPlain_clo_vex_control.iropt_unroll_thresh = (Int )n___4; |
|
8698 |
vgPlain_clo_vex_control.iropt_unroll_thresh = (Int )n___4; |
| 8699 |
if (0 != (int )*(s___4 + 0)) { |
|
8699 |
if (0 != (int )*(s___4 + 0)) { |
| 8700 |
vgPlain_fmsg_bad_option(arg, |
|
8700 |
vgPlain_fmsg_bad_option(arg, |
| 8701 |
""); |
|
8701 |
""); |
| 8702 |
} else |
|
8702 |
} else |
| 8703 |
if ((Long )vgPlain_clo_vex_control.iropt_unroll_thresh != n___4) { |
|
8703 |
if ((Long )vgPlain_clo_vex_control.iropt_unroll_thresh != n___4) { |
| 8704 |
vgPlain_fmsg_bad_option(arg, |
|
8704 |
vgPlain_fmsg_bad_option(arg, |
| 8705 |
""); |
|
8705 |
""); |
| 8706 |
} else { |
|
8706 |
} else { |
| 8707 |
|
|
8707 |
|
| 8708 |
} |
|
8708 |
} |
| 8709 |
if (vgPlain_clo_vex_control.iropt_unroll_thresh < 0) { |
|
8709 |
if (vgPlain_clo_vex_control.iropt_unroll_thresh < 0) { |
| 8710 |
vgPlain_fmsg_bad_option(arg, |
|
8710 |
vgPlain_fmsg_bad_option(arg, |
| 8711 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8711 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8712 |
"--vex-iropt-unroll-thresh", |
|
8712 |
"--vex-iropt-unroll-thresh", |
| 8713 |
(Long )0, |
|
8713 |
(Long )0, |
| 8714 |
(Long )400); |
|
8714 |
(Long )400); |
| 8715 |
} else |
|
8715 |
} else |
| 8716 |
if (vgPlain_clo_vex_control.iropt_unroll_thresh > 400) { |
|
8716 |
if (vgPlain_clo_vex_control.iropt_unroll_thresh > 400) { |
| 8717 |
vgPlain_fmsg_bad_option(arg, |
|
8717 |
vgPlain_fmsg_bad_option(arg, |
| 8718 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8718 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8719 |
"--vex-iropt-unroll-thresh", |
|
8719 |
"--vex-iropt-unroll-thresh", |
| 8720 |
(Long )0, |
|
8720 |
(Long )0, |
| 8721 |
(Long )400); |
|
8721 |
(Long )400); |
| 8722 |
} else { |
|
8722 |
} else { |
| 8723 |
|
|
8723 |
|
| 8724 |
} |
|
8724 |
} |
| 8725 |
} else { |
|
8725 |
} else { |
| 8726 |
_L___18: |
|
8726 |
_L___18: |
| 8727 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8727 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8728 |
if ((unsigned int )"--vex-guest-max-insns=" != (unsigned int )((void *)0)) { |
|
8728 |
if ((unsigned int )"--vex-guest-max-insns=" != (unsigned int )((void *)0)) { |
| 8729 |
tmp___130 = vgPlain_strlen((Char const *)"--vex-guest-max-insns"); |
|
8729 |
tmp___130 = vgPlain_strlen((Char const *)"--vex-guest-max-insns"); |
| 8730 |
tmp___131 = vgPlain_strncmp((Char const *)arg, |
|
8730 |
tmp___131 = vgPlain_strncmp((Char const *)arg, |
| 8731 |
(Char const *)"--vex-guest-max-insns=", |
|
8731 |
(Char const *)"--vex-guest-max-insns=", |
| 8732 |
tmp___130 + 1UL); |
|
8732 |
tmp___130 + 1UL); |
| 8733 |
if (tmp___131 == 0) { |
|
8733 |
if (tmp___131 == 0) { |
| 8734 |
tmp___129 = (int )((Bool )1); |
|
8734 |
tmp___129 = (int )((Bool )1); |
| 8735 |
} else { |
|
8735 |
} else { |
| 8736 |
tmp___129 = (int )((Bool )0); |
|
8736 |
tmp___129 = (int )((Bool )0); |
| 8737 |
} |
|
8737 |
} |
| 8738 |
} else { |
|
8738 |
} else { |
| 8739 |
tmp___129 = (int )((Bool )0); |
|
8739 |
tmp___129 = (int )((Bool )0); |
| 8740 |
} |
|
8740 |
} |
| 8741 |
} else { |
|
8741 |
} else { |
| 8742 |
tmp___129 = (int )((Bool )0); |
|
8742 |
tmp___129 = (int )((Bool )0); |
| 8743 |
} |
|
8743 |
} |
| 8744 |
if (tmp___129) { |
|
8744 |
if (tmp___129) { |
| 8745 |
tmp___132 = vgPlain_strlen((Char const *)"--vex-guest-max-insns"); |
|
8745 |
tmp___132 = vgPlain_strlen((Char const *)"--vex-guest-max-insns"); |
| 8746 |
val___14 = (Char *)(arg + (tmp___132 + 1UL)); |
|
8746 |
val___14 = (Char *)(arg + (tmp___132 + 1UL)); |
| 8747 |
tmp___133 = vgPlain_strtoll10(val___14, |
|
8747 |
tmp___133 = vgPlain_strtoll10(val___14, |
| 8748 |
& s___3); |
|
8748 |
& s___3); |
| 8749 |
n___3 = tmp___133; |
|
8749 |
n___3 = tmp___133; |
| 8750 |
vgPlain_clo_vex_control.guest_max_insns = (Int )n___3; |
|
8750 |
vgPlain_clo_vex_control.guest_max_insns = (Int )n___3; |
| 8751 |
if (0 != (int )*(s___3 + 0)) { |
|
8751 |
if (0 != (int )*(s___3 + 0)) { |
| 8752 |
vgPlain_fmsg_bad_option(arg, |
|
8752 |
vgPlain_fmsg_bad_option(arg, |
| 8753 |
""); |
|
8753 |
""); |
| 8754 |
} else |
|
8754 |
} else |
| 8755 |
if ((Long )vgPlain_clo_vex_control.guest_max_insns != n___3) { |
|
8755 |
if ((Long )vgPlain_clo_vex_control.guest_max_insns != n___3) { |
| 8756 |
vgPlain_fmsg_bad_option(arg, |
|
8756 |
vgPlain_fmsg_bad_option(arg, |
| 8757 |
""); |
|
8757 |
""); |
| 8758 |
} else { |
|
8758 |
} else { |
| 8759 |
|
|
8759 |
|
| 8760 |
} |
|
8760 |
} |
| 8761 |
if (vgPlain_clo_vex_control.guest_max_insns < 1) { |
|
8761 |
if (vgPlain_clo_vex_control.guest_max_insns < 1) { |
| 8762 |
vgPlain_fmsg_bad_option(arg, |
|
8762 |
vgPlain_fmsg_bad_option(arg, |
| 8763 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8763 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8764 |
"--vex-guest-max-insns", |
|
8764 |
"--vex-guest-max-insns", |
| 8765 |
(Long )1, |
|
8765 |
(Long )1, |
| 8766 |
(Long )100); |
|
8766 |
(Long )100); |
| 8767 |
} else |
|
8767 |
} else |
| 8768 |
if (vgPlain_clo_vex_control.guest_max_insns > 100) { |
|
8768 |
if (vgPlain_clo_vex_control.guest_max_insns > 100) { |
| 8769 |
vgPlain_fmsg_bad_option(arg, |
|
8769 |
vgPlain_fmsg_bad_option(arg, |
| 8770 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8770 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8771 |
"--vex-guest-max-insns", |
|
8771 |
"--vex-guest-max-insns", |
| 8772 |
(Long )1, |
|
8772 |
(Long )1, |
| 8773 |
(Long )100); |
|
8773 |
(Long )100); |
| 8774 |
} else { |
|
8774 |
} else { |
| 8775 |
|
|
8775 |
|
| 8776 |
} |
|
8776 |
} |
| 8777 |
} else { |
|
8777 |
} else { |
| 8778 |
_L___17: |
|
8778 |
_L___17: |
| 8779 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8779 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8780 |
if ((unsigned int )"--vex-guest-chase-thresh=" != (unsigned int )((void *)0)) { |
|
8780 |
if ((unsigned int )"--vex-guest-chase-thresh=" != (unsigned int )((void *)0)) { |
| 8781 |
tmp___123 = vgPlain_strlen((Char const *)"--vex-guest-chase-thresh"); |
|
8781 |
tmp___123 = vgPlain_strlen((Char const *)"--vex-guest-chase-thresh"); |
| 8782 |
tmp___124 = vgPlain_strncmp((Char const *)arg, |
|
8782 |
tmp___124 = vgPlain_strncmp((Char const *)arg, |
| 8783 |
(Char const *)"--vex-guest-chase-thresh=", |
|
8783 |
(Char const *)"--vex-guest-chase-thresh=", |
| 8784 |
tmp___123 + 1UL); |
|
8784 |
tmp___123 + 1UL); |
| 8785 |
if (tmp___124 == 0) { |
|
8785 |
if (tmp___124 == 0) { |
| 8786 |
tmp___122 = (int )((Bool )1); |
|
8786 |
tmp___122 = (int )((Bool )1); |
| 8787 |
} else { |
|
8787 |
} else { |
| 8788 |
tmp___122 = (int )((Bool )0); |
|
8788 |
tmp___122 = (int )((Bool )0); |
| 8789 |
} |
|
8789 |
} |
| 8790 |
} else { |
|
8790 |
} else { |
| 8791 |
tmp___122 = (int )((Bool )0); |
|
8791 |
tmp___122 = (int )((Bool )0); |
| 8792 |
} |
|
8792 |
} |
| 8793 |
} else { |
|
8793 |
} else { |
| 8794 |
tmp___122 = (int )((Bool )0); |
|
8794 |
tmp___122 = (int )((Bool )0); |
| 8795 |
} |
|
8795 |
} |
| 8796 |
if (tmp___122) { |
|
8796 |
if (tmp___122) { |
| 8797 |
tmp___125 = vgPlain_strlen((Char const *)"--vex-guest-chase-thresh"); |
|
8797 |
tmp___125 = vgPlain_strlen((Char const *)"--vex-guest-chase-thresh"); |
| 8798 |
val___13 = (Char *)(arg + (tmp___125 + 1UL)); |
|
8798 |
val___13 = (Char *)(arg + (tmp___125 + 1UL)); |
| 8799 |
tmp___126 = vgPlain_strtoll10(val___13, |
|
8799 |
tmp___126 = vgPlain_strtoll10(val___13, |
| 8800 |
& s___2); |
|
8800 |
& s___2); |
| 8801 |
n___2 = tmp___126; |
|
8801 |
n___2 = tmp___126; |
| 8802 |
vgPlain_clo_vex_control.guest_chase_thresh = (Int )n___2; |
|
8802 |
vgPlain_clo_vex_control.guest_chase_thresh = (Int )n___2; |
| 8803 |
if (0 != (int )*(s___2 + 0)) { |
|
8803 |
if (0 != (int )*(s___2 + 0)) { |
| 8804 |
vgPlain_fmsg_bad_option(arg, |
|
8804 |
vgPlain_fmsg_bad_option(arg, |
| 8805 |
""); |
|
8805 |
""); |
| 8806 |
} else |
|
8806 |
} else |
| 8807 |
if ((Long )vgPlain_clo_vex_control.guest_chase_thresh != n___2) { |
|
8807 |
if ((Long )vgPlain_clo_vex_control.guest_chase_thresh != n___2) { |
| 8808 |
vgPlain_fmsg_bad_option(arg, |
|
8808 |
vgPlain_fmsg_bad_option(arg, |
| 8809 |
""); |
|
8809 |
""); |
| 8810 |
} else { |
|
8810 |
} else { |
| 8811 |
|
|
8811 |
|
| 8812 |
} |
|
8812 |
} |
| 8813 |
if (vgPlain_clo_vex_control.guest_chase_thresh < 0) { |
|
8813 |
if (vgPlain_clo_vex_control.guest_chase_thresh < 0) { |
| 8814 |
vgPlain_fmsg_bad_option(arg, |
|
8814 |
vgPlain_fmsg_bad_option(arg, |
| 8815 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8815 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8816 |
"--vex-guest-chase-thresh", |
|
8816 |
"--vex-guest-chase-thresh", |
| 8817 |
(Long )0, |
|
8817 |
(Long )0, |
| 8818 |
(Long )99); |
|
8818 |
(Long )99); |
| 8819 |
} else |
|
8819 |
} else |
| 8820 |
if (vgPlain_clo_vex_control.guest_chase_thresh > 99) { |
|
8820 |
if (vgPlain_clo_vex_control.guest_chase_thresh > 99) { |
| 8821 |
vgPlain_fmsg_bad_option(arg, |
|
8821 |
vgPlain_fmsg_bad_option(arg, |
| 8822 |
"\'%s\' argument must be between %lld and %lld\n", |
|
8822 |
"\'%s\' argument must be between %lld and %lld\n", |
| 8823 |
"--vex-guest-chase-thresh", |
|
8823 |
"--vex-guest-chase-thresh", |
| 8824 |
(Long )0, |
|
8824 |
(Long )0, |
| 8825 |
(Long )99); |
|
8825 |
(Long )99); |
| 8826 |
} else { |
|
8826 |
} else { |
| 8827 |
|
|
8827 |
|
| 8828 |
} |
|
8828 |
} |
| 8829 |
} else { |
|
8829 |
} else { |
| 8830 |
_L___16: |
|
8830 |
_L___16: |
| 8831 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8831 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8832 |
if ((unsigned int )"--vex-guest-chase-cond=" != (unsigned int )((void *)0)) { |
|
8832 |
if ((unsigned int )"--vex-guest-chase-cond=" != (unsigned int )((void *)0)) { |
| 8833 |
tmp___111 = vgPlain_strlen((Char const *)"--vex-guest-chase-cond"); |
|
8833 |
tmp___111 = vgPlain_strlen((Char const *)"--vex-guest-chase-cond"); |
| 8834 |
tmp___112 = vgPlain_strncmp((Char const *)arg, |
|
8834 |
tmp___112 = vgPlain_strncmp((Char const *)arg, |
| 8835 |
(Char const *)"--vex-guest-chase-cond=", |
|
8835 |
(Char const *)"--vex-guest-chase-cond=", |
| 8836 |
tmp___111 + 1UL); |
|
8836 |
tmp___111 + 1UL); |
| 8837 |
if (tmp___112 == 0) { |
|
8837 |
if (tmp___112 == 0) { |
| 8838 |
tmp___110 = (int )((Bool )1); |
|
8838 |
tmp___110 = (int )((Bool )1); |
| 8839 |
} else { |
|
8839 |
} else { |
| 8840 |
tmp___110 = (int )((Bool )0); |
|
8840 |
tmp___110 = (int )((Bool )0); |
| 8841 |
} |
|
8841 |
} |
| 8842 |
} else { |
|
8842 |
} else { |
| 8843 |
tmp___110 = (int )((Bool )0); |
|
8843 |
tmp___110 = (int )((Bool )0); |
| 8844 |
} |
|
8844 |
} |
| 8845 |
} else { |
|
8845 |
} else { |
| 8846 |
tmp___110 = (int )((Bool )0); |
|
8846 |
tmp___110 = (int )((Bool )0); |
| 8847 |
} |
|
8847 |
} |
| 8848 |
if (tmp___110) { |
|
8848 |
if (tmp___110) { |
| 8849 |
tmp___113 = vgPlain_strlen((Char const *)"--vex-guest-chase-cond"); |
|
8849 |
tmp___113 = vgPlain_strlen((Char const *)"--vex-guest-chase-cond"); |
| 8850 |
val___12 = (Char *)(arg + (tmp___113 + 1UL)); |
|
8850 |
val___12 = (Char *)(arg + (tmp___113 + 1UL)); |
| 8851 |
if ((unsigned int )val___12 != (unsigned int )((void *)0)) { |
|
8851 |
if ((unsigned int )val___12 != (unsigned int )((void *)0)) { |
| 8852 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
8852 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 8853 |
tmp___119 = vgPlain_strcmp((Char const *)val___12, |
|
8853 |
tmp___119 = vgPlain_strcmp((Char const *)val___12, |
| 8854 |
(Char const *)"yes"); |
|
8854 |
(Char const *)"yes"); |
| 8855 |
if (tmp___119 == 0) { |
|
8855 |
if (tmp___119 == 0) { |
| 8856 |
tmp___118 = (int )((Bool )1); |
|
8856 |
tmp___118 = (int )((Bool )1); |
| 8857 |
} else { |
|
8857 |
} else { |
| 8858 |
tmp___118 = (int )((Bool )0); |
|
8858 |
tmp___118 = (int )((Bool )0); |
| 8859 |
} |
|
8859 |
} |
| 8860 |
} else { |
|
8860 |
} else { |
| 8861 |
tmp___118 = (int )((Bool )0); |
|
8861 |
tmp___118 = (int )((Bool )0); |
| 8862 |
} |
|
8862 |
} |
| 8863 |
} else { |
|
8863 |
} else { |
| 8864 |
tmp___118 = (int )((Bool )0); |
|
8864 |
tmp___118 = (int )((Bool )0); |
| 8865 |
} |
|
8865 |
} |
| 8866 |
if (tmp___118) { |
|
8866 |
if (tmp___118) { |
| 8867 |
vgPlain_clo_vex_control.guest_chase_cond = (Bool )1; |
|
8867 |
vgPlain_clo_vex_control.guest_chase_cond = (Bool )1; |
| 8868 |
} else { |
|
8868 |
} else { |
| 8869 |
if ((unsigned int )val___12 != (unsigned int )((void *)0)) { |
|
8869 |
if ((unsigned int )val___12 != (unsigned int )((void *)0)) { |
| 8870 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
8870 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 8871 |
tmp___116 = vgPlain_strcmp((Char const *)val___12, |
|
8871 |
tmp___116 = vgPlain_strcmp((Char const *)val___12, |
| 8872 |
(Char const *)"no"); |
|
8872 |
(Char const *)"no"); |
| 8873 |
if (tmp___116 == 0) { |
|
8873 |
if (tmp___116 == 0) { |
| 8874 |
tmp___115 = (int )((Bool )1); |
|
8874 |
tmp___115 = (int )((Bool )1); |
| 8875 |
} else { |
|
8875 |
} else { |
| 8876 |
tmp___115 = (int )((Bool )0); |
|
8876 |
tmp___115 = (int )((Bool )0); |
| 8877 |
} |
|
8877 |
} |
| 8878 |
} else { |
|
8878 |
} else { |
| 8879 |
tmp___115 = (int )((Bool )0); |
|
8879 |
tmp___115 = (int )((Bool )0); |
| 8880 |
} |
|
8880 |
} |
| 8881 |
} else { |
|
8881 |
} else { |
| 8882 |
tmp___115 = (int )((Bool )0); |
|
8882 |
tmp___115 = (int )((Bool )0); |
| 8883 |
} |
|
8883 |
} |
| 8884 |
if (tmp___115) { |
|
8884 |
if (tmp___115) { |
| 8885 |
vgPlain_clo_vex_control.guest_chase_cond = (Bool )0; |
|
8885 |
vgPlain_clo_vex_control.guest_chase_cond = (Bool )0; |
| 8886 |
} else { |
|
8886 |
} else { |
| 8887 |
vgPlain_fmsg_bad_option(arg, |
|
8887 |
vgPlain_fmsg_bad_option(arg, |
| 8888 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
8888 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 8889 |
val___12); |
|
8889 |
val___12); |
| 8890 |
} |
|
8890 |
} |
| 8891 |
} |
|
8891 |
} |
| 8892 |
} else { |
|
8892 |
} else { |
| 8893 |
_L___15: |
|
8893 |
_L___15: |
| 8894 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8894 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8895 |
if ((unsigned int )"--log-fd=" != (unsigned int )((void *)0)) { |
|
8895 |
if ((unsigned int )"--log-fd=" != (unsigned int )((void *)0)) { |
| 8896 |
tmp___104 = vgPlain_strlen((Char const *)"--log-fd"); |
|
8896 |
tmp___104 = vgPlain_strlen((Char const *)"--log-fd"); |
| 8897 |
tmp___105 = vgPlain_strncmp((Char const *)arg, |
|
8897 |
tmp___105 = vgPlain_strncmp((Char const *)arg, |
| 8898 |
(Char const *)"--log-fd=", |
|
8898 |
(Char const *)"--log-fd=", |
| 8899 |
tmp___104 + 1UL); |
|
8899 |
tmp___104 + 1UL); |
| 8900 |
if (tmp___105 == 0) { |
|
8900 |
if (tmp___105 == 0) { |
| 8901 |
tmp___103 = (int )((Bool )1); |
|
8901 |
tmp___103 = (int )((Bool )1); |
| 8902 |
} else { |
|
8902 |
} else { |
| 8903 |
tmp___103 = (int )((Bool )0); |
|
8903 |
tmp___103 = (int )((Bool )0); |
| 8904 |
} |
|
8904 |
} |
| 8905 |
} else { |
|
8905 |
} else { |
| 8906 |
tmp___103 = (int )((Bool )0); |
|
8906 |
tmp___103 = (int )((Bool )0); |
| 8907 |
} |
|
8907 |
} |
| 8908 |
} else { |
|
8908 |
} else { |
| 8909 |
tmp___103 = (int )((Bool )0); |
|
8909 |
tmp___103 = (int )((Bool )0); |
| 8910 |
} |
|
8910 |
} |
| 8911 |
if (tmp___103) { |
|
8911 |
if (tmp___103) { |
| 8912 |
tmp___106 = vgPlain_strlen((Char const *)"--log-fd"); |
|
8912 |
tmp___106 = vgPlain_strlen((Char const *)"--log-fd"); |
| 8913 |
val___11 = (Char *)(arg + (tmp___106 + 1UL)); |
|
8913 |
val___11 = (Char *)(arg + (tmp___106 + 1UL)); |
| 8914 |
tmp___107 = vgPlain_strtoll10(val___11, |
|
8914 |
tmp___107 = vgPlain_strtoll10(val___11, |
| 8915 |
& s___1); |
|
8915 |
& s___1); |
| 8916 |
n___1 = tmp___107; |
|
8916 |
n___1 = tmp___107; |
| 8917 |
tmp_log_fd = (Int )n___1; |
|
8917 |
tmp_log_fd = (Int )n___1; |
| 8918 |
if (0 != (int )*(s___1 + 0)) { |
|
8918 |
if (0 != (int )*(s___1 + 0)) { |
| 8919 |
vgPlain_fmsg_bad_option(arg, |
|
8919 |
vgPlain_fmsg_bad_option(arg, |
| 8920 |
""); |
|
8920 |
""); |
| 8921 |
} else |
|
8921 |
} else |
| 8922 |
if ((Long )tmp_log_fd != n___1) { |
|
8922 |
if ((Long )tmp_log_fd != n___1) { |
| 8923 |
vgPlain_fmsg_bad_option(arg, |
|
8923 |
vgPlain_fmsg_bad_option(arg, |
| 8924 |
""); |
|
8924 |
""); |
| 8925 |
} else { |
|
8925 |
} else { |
| 8926 |
|
|
8926 |
|
| 8927 |
} |
|
8927 |
} |
| 8928 |
log_to = (enum __anonenum_log_to_135 )0; |
|
8928 |
log_to = (enum __anonenum_log_to_135 )0; |
| 8929 |
log_fsname_unexpanded = (Char *)((void *)0); |
|
8929 |
log_fsname_unexpanded = (Char *)((void *)0); |
| 8930 |
} else { |
|
8930 |
} else { |
| 8931 |
_L___14: |
|
8931 |
_L___14: |
| 8932 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8932 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8933 |
if ((unsigned int )"--xml-fd=" != (unsigned int )((void *)0)) { |
|
8933 |
if ((unsigned int )"--xml-fd=" != (unsigned int )((void *)0)) { |
| 8934 |
tmp___97 = vgPlain_strlen((Char const *)"--xml-fd"); |
|
8934 |
tmp___97 = vgPlain_strlen((Char const *)"--xml-fd"); |
| 8935 |
tmp___98 = vgPlain_strncmp((Char const *)arg, |
|
8935 |
tmp___98 = vgPlain_strncmp((Char const *)arg, |
| 8936 |
(Char const *)"--xml-fd=", |
|
8936 |
(Char const *)"--xml-fd=", |
| 8937 |
tmp___97 + 1UL); |
|
8937 |
tmp___97 + 1UL); |
| 8938 |
if (tmp___98 == 0) { |
|
8938 |
if (tmp___98 == 0) { |
| 8939 |
tmp___96 = (int )((Bool )1); |
|
8939 |
tmp___96 = (int )((Bool )1); |
| 8940 |
} else { |
|
8940 |
} else { |
| 8941 |
tmp___96 = (int )((Bool )0); |
|
8941 |
tmp___96 = (int )((Bool )0); |
| 8942 |
} |
|
8942 |
} |
| 8943 |
} else { |
|
8943 |
} else { |
| 8944 |
tmp___96 = (int )((Bool )0); |
|
8944 |
tmp___96 = (int )((Bool )0); |
| 8945 |
} |
|
8945 |
} |
| 8946 |
} else { |
|
8946 |
} else { |
| 8947 |
tmp___96 = (int )((Bool )0); |
|
8947 |
tmp___96 = (int )((Bool )0); |
| 8948 |
} |
|
8948 |
} |
| 8949 |
if (tmp___96) { |
|
8949 |
if (tmp___96) { |
| 8950 |
tmp___99 = vgPlain_strlen((Char const *)"--xml-fd"); |
|
8950 |
tmp___99 = vgPlain_strlen((Char const *)"--xml-fd"); |
| 8951 |
val___10 = (Char *)(arg + (tmp___99 + 1UL)); |
|
8951 |
val___10 = (Char *)(arg + (tmp___99 + 1UL)); |
| 8952 |
tmp___100 = vgPlain_strtoll10(val___10, |
|
8952 |
tmp___100 = vgPlain_strtoll10(val___10, |
| 8953 |
& s___0); |
|
8953 |
& s___0); |
| 8954 |
n___0 = tmp___100; |
|
8954 |
n___0 = tmp___100; |
| 8955 |
tmp_xml_fd = (Int )n___0; |
|
8955 |
tmp_xml_fd = (Int )n___0; |
| 8956 |
if (0 != (int )*(s___0 + 0)) { |
|
8956 |
if (0 != (int )*(s___0 + 0)) { |
| 8957 |
vgPlain_fmsg_bad_option(arg, |
|
8957 |
vgPlain_fmsg_bad_option(arg, |
| 8958 |
""); |
|
8958 |
""); |
| 8959 |
} else |
|
8959 |
} else |
| 8960 |
if ((Long )tmp_xml_fd != n___0) { |
|
8960 |
if ((Long )tmp_xml_fd != n___0) { |
| 8961 |
vgPlain_fmsg_bad_option(arg, |
|
8961 |
vgPlain_fmsg_bad_option(arg, |
| 8962 |
""); |
|
8962 |
""); |
| 8963 |
} else { |
|
8963 |
} else { |
| 8964 |
|
|
8964 |
|
| 8965 |
} |
|
8965 |
} |
| 8966 |
xml_to = (enum __anonenum_log_to_135 )0; |
|
8966 |
xml_to = (enum __anonenum_log_to_135 )0; |
| 8967 |
xml_fsname_unexpanded = (Char *)((void *)0); |
|
8967 |
xml_fsname_unexpanded = (Char *)((void *)0); |
| 8968 |
} else { |
|
8968 |
} else { |
| 8969 |
_L___13: |
|
8969 |
_L___13: |
| 8970 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8970 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8971 |
if ((unsigned int )"--log-file=" != (unsigned int )((void *)0)) { |
|
8971 |
if ((unsigned int )"--log-file=" != (unsigned int )((void *)0)) { |
| 8972 |
tmp___91 = vgPlain_strlen((Char const *)"--log-file"); |
|
8972 |
tmp___91 = vgPlain_strlen((Char const *)"--log-file"); |
| 8973 |
tmp___92 = vgPlain_strncmp((Char const *)arg, |
|
8973 |
tmp___92 = vgPlain_strncmp((Char const *)arg, |
| 8974 |
(Char const *)"--log-file=", |
|
8974 |
(Char const *)"--log-file=", |
| 8975 |
tmp___91 + 1UL); |
|
8975 |
tmp___91 + 1UL); |
| 8976 |
if (tmp___92 == 0) { |
|
8976 |
if (tmp___92 == 0) { |
| 8977 |
tmp___90 = (int )((Bool )1); |
|
8977 |
tmp___90 = (int )((Bool )1); |
| 8978 |
} else { |
|
8978 |
} else { |
| 8979 |
tmp___90 = (int )((Bool )0); |
|
8979 |
tmp___90 = (int )((Bool )0); |
| 8980 |
} |
|
8980 |
} |
| 8981 |
} else { |
|
8981 |
} else { |
| 8982 |
tmp___90 = (int )((Bool )0); |
|
8982 |
tmp___90 = (int )((Bool )0); |
| 8983 |
} |
|
8983 |
} |
| 8984 |
} else { |
|
8984 |
} else { |
| 8985 |
tmp___90 = (int )((Bool )0); |
|
8985 |
tmp___90 = (int )((Bool )0); |
| 8986 |
} |
|
8986 |
} |
| 8987 |
if (tmp___90) { |
|
8987 |
if (tmp___90) { |
| 8988 |
tmp___93 = vgPlain_strlen((Char const *)"--log-file"); |
|
8988 |
tmp___93 = vgPlain_strlen((Char const *)"--log-file"); |
| 8989 |
val___9 = (Char *)(arg + (tmp___93 + 1UL)); |
|
8989 |
val___9 = (Char *)(arg + (tmp___93 + 1UL)); |
| 8990 |
log_fsname_unexpanded = val___9; |
|
8990 |
log_fsname_unexpanded = val___9; |
| 8991 |
log_to = (enum __anonenum_log_to_135 )1; |
|
8991 |
log_to = (enum __anonenum_log_to_135 )1; |
| 8992 |
} else { |
|
8992 |
} else { |
| 8993 |
_L___12: |
|
8993 |
_L___12: |
| 8994 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
8994 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 8995 |
if ((unsigned int )"--xml-file=" != (unsigned int )((void *)0)) { |
|
8995 |
if ((unsigned int )"--xml-file=" != (unsigned int )((void *)0)) { |
| 8996 |
tmp___85 = vgPlain_strlen((Char const *)"--xml-file"); |
|
8996 |
tmp___85 = vgPlain_strlen((Char const *)"--xml-file"); |
| 8997 |
tmp___86 = vgPlain_strncmp((Char const *)arg, |
|
8997 |
tmp___86 = vgPlain_strncmp((Char const *)arg, |
| 8998 |
(Char const *)"--xml-file=", |
|
8998 |
(Char const *)"--xml-file=", |
| 8999 |
tmp___85 + 1UL); |
|
8999 |
tmp___85 + 1UL); |
| 9000 |
if (tmp___86 == 0) { |
|
9000 |
if (tmp___86 == 0) { |
| 9001 |
tmp___84 = (int )((Bool )1); |
|
9001 |
tmp___84 = (int )((Bool )1); |
| 9002 |
} else { |
|
9002 |
} else { |
| 9003 |
tmp___84 = (int )((Bool )0); |
|
9003 |
tmp___84 = (int )((Bool )0); |
| 9004 |
} |
|
9004 |
} |
| 9005 |
} else { |
|
9005 |
} else { |
| 9006 |
tmp___84 = (int )((Bool )0); |
|
9006 |
tmp___84 = (int )((Bool )0); |
| 9007 |
} |
|
9007 |
} |
| 9008 |
} else { |
|
9008 |
} else { |
| 9009 |
tmp___84 = (int )((Bool )0); |
|
9009 |
tmp___84 = (int )((Bool )0); |
| 9010 |
} |
|
9010 |
} |
| 9011 |
if (tmp___84) { |
|
9011 |
if (tmp___84) { |
| 9012 |
tmp___87 = vgPlain_strlen((Char const *)"--xml-file"); |
|
9012 |
tmp___87 = vgPlain_strlen((Char const *)"--xml-file"); |
| 9013 |
val___8 = (Char *)(arg + (tmp___87 + 1UL)); |
|
9013 |
val___8 = (Char *)(arg + (tmp___87 + 1UL)); |
| 9014 |
xml_fsname_unexpanded = val___8; |
|
9014 |
xml_fsname_unexpanded = val___8; |
| 9015 |
xml_to = (enum __anonenum_log_to_135 )1; |
|
9015 |
xml_to = (enum __anonenum_log_to_135 )1; |
| 9016 |
} else { |
|
9016 |
} else { |
| 9017 |
_L___11: |
|
9017 |
_L___11: |
| 9018 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9018 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9019 |
if ((unsigned int )"--log-socket=" != (unsigned int )((void *)0)) { |
|
9019 |
if ((unsigned int )"--log-socket=" != (unsigned int )((void *)0)) { |
| 9020 |
tmp___79 = vgPlain_strlen((Char const *)"--log-socket"); |
|
9020 |
tmp___79 = vgPlain_strlen((Char const *)"--log-socket"); |
| 9021 |
tmp___80 = vgPlain_strncmp((Char const *)arg, |
|
9021 |
tmp___80 = vgPlain_strncmp((Char const *)arg, |
| 9022 |
(Char const *)"--log-socket=", |
|
9022 |
(Char const *)"--log-socket=", |
| 9023 |
tmp___79 + 1UL); |
|
9023 |
tmp___79 + 1UL); |
| 9024 |
if (tmp___80 == 0) { |
|
9024 |
if (tmp___80 == 0) { |
| 9025 |
tmp___78 = (int )((Bool )1); |
|
9025 |
tmp___78 = (int )((Bool )1); |
| 9026 |
} else { |
|
9026 |
} else { |
| 9027 |
tmp___78 = (int )((Bool )0); |
|
9027 |
tmp___78 = (int )((Bool )0); |
| 9028 |
} |
|
9028 |
} |
| 9029 |
} else { |
|
9029 |
} else { |
| 9030 |
tmp___78 = (int )((Bool )0); |
|
9030 |
tmp___78 = (int )((Bool )0); |
| 9031 |
} |
|
9031 |
} |
| 9032 |
} else { |
|
9032 |
} else { |
| 9033 |
tmp___78 = (int )((Bool )0); |
|
9033 |
tmp___78 = (int )((Bool )0); |
| 9034 |
} |
|
9034 |
} |
| 9035 |
if (tmp___78) { |
|
9035 |
if (tmp___78) { |
| 9036 |
tmp___81 = vgPlain_strlen((Char const *)"--log-socket"); |
|
9036 |
tmp___81 = vgPlain_strlen((Char const *)"--log-socket"); |
| 9037 |
val___7 = (Char *)(arg + (tmp___81 + 1UL)); |
|
9037 |
val___7 = (Char *)(arg + (tmp___81 + 1UL)); |
| 9038 |
log_fsname_unexpanded = val___7; |
|
9038 |
log_fsname_unexpanded = val___7; |
| 9039 |
log_to = (enum __anonenum_log_to_135 )2; |
|
9039 |
log_to = (enum __anonenum_log_to_135 )2; |
| 9040 |
} else { |
|
9040 |
} else { |
| 9041 |
_L___10: |
|
9041 |
_L___10: |
| 9042 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9042 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9043 |
if ((unsigned int )"--xml-socket=" != (unsigned int )((void *)0)) { |
|
9043 |
if ((unsigned int )"--xml-socket=" != (unsigned int )((void *)0)) { |
| 9044 |
tmp___73 = vgPlain_strlen((Char const *)"--xml-socket"); |
|
9044 |
tmp___73 = vgPlain_strlen((Char const *)"--xml-socket"); |
| 9045 |
tmp___74 = vgPlain_strncmp((Char const *)arg, |
|
9045 |
tmp___74 = vgPlain_strncmp((Char const *)arg, |
| 9046 |
(Char const *)"--xml-socket=", |
|
9046 |
(Char const *)"--xml-socket=", |
| 9047 |
tmp___73 + 1UL); |
|
9047 |
tmp___73 + 1UL); |
| 9048 |
if (tmp___74 == 0) { |
|
9048 |
if (tmp___74 == 0) { |
| 9049 |
tmp___72 = (int )((Bool )1); |
|
9049 |
tmp___72 = (int )((Bool )1); |
| 9050 |
} else { |
|
9050 |
} else { |
| 9051 |
tmp___72 = (int )((Bool )0); |
|
9051 |
tmp___72 = (int )((Bool )0); |
| 9052 |
} |
|
9052 |
} |
| 9053 |
} else { |
|
9053 |
} else { |
| 9054 |
tmp___72 = (int )((Bool )0); |
|
9054 |
tmp___72 = (int )((Bool )0); |
| 9055 |
} |
|
9055 |
} |
| 9056 |
} else { |
|
9056 |
} else { |
| 9057 |
tmp___72 = (int )((Bool )0); |
|
9057 |
tmp___72 = (int )((Bool )0); |
| 9058 |
} |
|
9058 |
} |
| 9059 |
if (tmp___72) { |
|
9059 |
if (tmp___72) { |
| 9060 |
tmp___75 = vgPlain_strlen((Char const *)"--xml-socket"); |
|
9060 |
tmp___75 = vgPlain_strlen((Char const *)"--xml-socket"); |
| 9061 |
val___6 = (Char *)(arg + (tmp___75 + 1UL)); |
|
9061 |
val___6 = (Char *)(arg + (tmp___75 + 1UL)); |
| 9062 |
xml_fsname_unexpanded = val___6; |
|
9062 |
xml_fsname_unexpanded = val___6; |
| 9063 |
xml_to = (enum __anonenum_log_to_135 )2; |
|
9063 |
xml_to = (enum __anonenum_log_to_135 )2; |
| 9064 |
} else { |
|
9064 |
} else { |
| 9065 |
_L___9: |
|
9065 |
_L___9: |
| 9066 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9066 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9067 |
if ((unsigned int )"--xml-user-comment=" != (unsigned int )((void *)0)) { |
|
9067 |
if ((unsigned int )"--xml-user-comment=" != (unsigned int )((void *)0)) { |
| 9068 |
tmp___67 = vgPlain_strlen((Char const *)"--xml-user-comment"); |
|
9068 |
tmp___67 = vgPlain_strlen((Char const *)"--xml-user-comment"); |
| 9069 |
tmp___68 = vgPlain_strncmp((Char const *)arg, |
|
9069 |
tmp___68 = vgPlain_strncmp((Char const *)arg, |
| 9070 |
(Char const *)"--xml-user-comment=", |
|
9070 |
(Char const *)"--xml-user-comment=", |
| 9071 |
tmp___67 + 1UL); |
|
9071 |
tmp___67 + 1UL); |
| 9072 |
if (tmp___68 == 0) { |
|
9072 |
if (tmp___68 == 0) { |
| 9073 |
tmp___66 = (int )((Bool )1); |
|
9073 |
tmp___66 = (int )((Bool )1); |
| 9074 |
} else { |
|
9074 |
} else { |
| 9075 |
tmp___66 = (int )((Bool )0); |
|
9075 |
tmp___66 = (int )((Bool )0); |
| 9076 |
} |
|
9076 |
} |
| 9077 |
} else { |
|
9077 |
} else { |
| 9078 |
tmp___66 = (int )((Bool )0); |
|
9078 |
tmp___66 = (int )((Bool )0); |
| 9079 |
} |
|
9079 |
} |
| 9080 |
} else { |
|
9080 |
} else { |
| 9081 |
tmp___66 = (int )((Bool )0); |
|
9081 |
tmp___66 = (int )((Bool )0); |
| 9082 |
} |
|
9082 |
} |
| 9083 |
if (tmp___66) { |
|
9083 |
if (tmp___66) { |
| 9084 |
tmp___69 = vgPlain_strlen((Char const *)"--xml-user-comment"); |
|
9084 |
tmp___69 = vgPlain_strlen((Char const *)"--xml-user-comment"); |
| 9085 |
val___5 = (Char *)(arg + (tmp___69 + 1UL)); |
|
9085 |
val___5 = (Char *)(arg + (tmp___69 + 1UL)); |
| 9086 |
vgPlain_clo_xml_user_comment = (HChar *)val___5; |
|
9086 |
vgPlain_clo_xml_user_comment = (HChar *)val___5; |
| 9087 |
} else { |
|
9087 |
} else { |
| 9088 |
_L___8: |
|
9088 |
_L___8: |
| 9089 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9089 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9090 |
if ((unsigned int )"--suppressions=" != (unsigned int )((void *)0)) { |
|
9090 |
if ((unsigned int )"--suppressions=" != (unsigned int )((void *)0)) { |
| 9091 |
tmp___61 = vgPlain_strlen((Char const *)"--suppressions"); |
|
9091 |
tmp___61 = vgPlain_strlen((Char const *)"--suppressions"); |
| 9092 |
tmp___62 = vgPlain_strncmp((Char const *)arg, |
|
9092 |
tmp___62 = vgPlain_strncmp((Char const *)arg, |
| 9093 |
(Char const *)"--suppressions=", |
|
9093 |
(Char const *)"--suppressions=", |
| 9094 |
tmp___61 + 1UL); |
|
9094 |
tmp___61 + 1UL); |
| 9095 |
if (tmp___62 == 0) { |
|
9095 |
if (tmp___62 == 0) { |
| 9096 |
tmp___60 = (int )((Bool )1); |
|
9096 |
tmp___60 = (int )((Bool )1); |
| 9097 |
} else { |
|
9097 |
} else { |
| 9098 |
tmp___60 = (int )((Bool )0); |
|
9098 |
tmp___60 = (int )((Bool )0); |
| 9099 |
} |
|
9099 |
} |
| 9100 |
} else { |
|
9100 |
} else { |
| 9101 |
tmp___60 = (int )((Bool )0); |
|
9101 |
tmp___60 = (int )((Bool )0); |
| 9102 |
} |
|
9102 |
} |
| 9103 |
} else { |
|
9103 |
} else { |
| 9104 |
tmp___60 = (int )((Bool )0); |
|
9104 |
tmp___60 = (int )((Bool )0); |
| 9105 |
} |
|
9105 |
} |
| 9106 |
if (tmp___60) { |
|
9106 |
if (tmp___60) { |
| 9107 |
tmp___63 = vgPlain_strlen((Char const *)"--suppressions"); |
|
9107 |
tmp___63 = vgPlain_strlen((Char const *)"--suppressions"); |
| 9108 |
val___4 = (Char *)(arg + (tmp___63 + 1UL)); |
|
9108 |
val___4 = (Char *)(arg + (tmp___63 + 1UL)); |
| 9109 |
tmp_str = val___4; |
|
9109 |
tmp_str = val___4; |
| 9110 |
if (vgPlain_clo_n_suppressions >= 100) { |
|
9110 |
if (vgPlain_clo_n_suppressions >= 100) { |
| 9111 |
vgPlain_fmsg_bad_option(arg, |
|
9111 |
vgPlain_fmsg_bad_option(arg, |
| 9112 |
"Too many suppression files specified.\nIncrease VG_CLO_MAX_SFILES and recompile.\n"); |
|
9112 |
"Too many suppression files specified.\nIncrease VG_CLO_MAX_SFILES and recompile.\n"); |
| 9113 |
} else { |
|
9113 |
} else { |
| 9114 |
|
|
9114 |
|
| 9115 |
} |
|
9115 |
} |
| 9116 |
vgPlain_clo_suppressions[vgPlain_clo_n_suppressions] = tmp_str; |
|
9116 |
vgPlain_clo_suppressions[vgPlain_clo_n_suppressions] = tmp_str; |
| 9117 |
vgPlain_clo_n_suppressions ++; |
|
9117 |
vgPlain_clo_n_suppressions ++; |
| 9118 |
} else { |
|
9118 |
} else { |
| 9119 |
_L___7: |
|
9119 |
_L___7: |
| 9120 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9120 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9121 |
if ((unsigned int )"--fullpath-after=" != (unsigned int )((void *)0)) { |
|
9121 |
if ((unsigned int )"--fullpath-after=" != (unsigned int )((void *)0)) { |
| 9122 |
tmp___55 = vgPlain_strlen((Char const *)"--fullpath-after"); |
|
9122 |
tmp___55 = vgPlain_strlen((Char const *)"--fullpath-after"); |
| 9123 |
tmp___56 = vgPlain_strncmp((Char const *)arg, |
|
9123 |
tmp___56 = vgPlain_strncmp((Char const *)arg, |
| 9124 |
(Char const *)"--fullpath-after=", |
|
9124 |
(Char const *)"--fullpath-after=", |
| 9125 |
tmp___55 + 1UL); |
|
9125 |
tmp___55 + 1UL); |
| 9126 |
if (tmp___56 == 0) { |
|
9126 |
if (tmp___56 == 0) { |
| 9127 |
tmp___54 = (int )((Bool )1); |
|
9127 |
tmp___54 = (int )((Bool )1); |
| 9128 |
} else { |
|
9128 |
} else { |
| 9129 |
tmp___54 = (int )((Bool )0); |
|
9129 |
tmp___54 = (int )((Bool )0); |
| 9130 |
} |
|
9130 |
} |
| 9131 |
} else { |
|
9131 |
} else { |
| 9132 |
tmp___54 = (int )((Bool )0); |
|
9132 |
tmp___54 = (int )((Bool )0); |
| 9133 |
} |
|
9133 |
} |
| 9134 |
} else { |
|
9134 |
} else { |
| 9135 |
tmp___54 = (int )((Bool )0); |
|
9135 |
tmp___54 = (int )((Bool )0); |
| 9136 |
} |
|
9136 |
} |
| 9137 |
if (tmp___54) { |
|
9137 |
if (tmp___54) { |
| 9138 |
tmp___57 = vgPlain_strlen((Char const *)"--fullpath-after"); |
|
9138 |
tmp___57 = vgPlain_strlen((Char const *)"--fullpath-after"); |
| 9139 |
val___3 = (Char *)(arg + (tmp___57 + 1UL)); |
|
9139 |
val___3 = (Char *)(arg + (tmp___57 + 1UL)); |
| 9140 |
tmp_str = val___3; |
|
9140 |
tmp_str = val___3; |
| 9141 |
if (vgPlain_clo_n_fullpath_after >= 100) { |
|
9141 |
if (vgPlain_clo_n_fullpath_after >= 100) { |
| 9142 |
vgPlain_fmsg_bad_option(arg, |
|
9142 |
vgPlain_fmsg_bad_option(arg, |
| 9143 |
"Too many --fullpath-after= specifications.\nIncrease VG_CLO_MAX_FULLPATH_AFTER and recompile.\n"); |
|
9143 |
"Too many --fullpath-after= specifications.\nIncrease VG_CLO_MAX_FULLPATH_AFTER and recompile.\n"); |
| 9144 |
} else { |
|
9144 |
} else { |
| 9145 |
|
|
9145 |
|
| 9146 |
} |
|
9146 |
} |
| 9147 |
vgPlain_clo_fullpath_after[vgPlain_clo_n_fullpath_after] = tmp_str; |
|
9147 |
vgPlain_clo_fullpath_after[vgPlain_clo_n_fullpath_after] = tmp_str; |
| 9148 |
vgPlain_clo_n_fullpath_after ++; |
|
9148 |
vgPlain_clo_n_fullpath_after ++; |
| 9149 |
} else { |
|
9149 |
} else { |
| 9150 |
_L___6: |
|
9150 |
_L___6: |
| 9151 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9151 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9152 |
if ((unsigned int )"--require-text-symbol=" != (unsigned int )((void *)0)) { |
|
9152 |
if ((unsigned int )"--require-text-symbol=" != (unsigned int )((void *)0)) { |
| 9153 |
tmp___49 = vgPlain_strlen((Char const *)"--require-text-symbol"); |
|
9153 |
tmp___49 = vgPlain_strlen((Char const *)"--require-text-symbol"); |
| 9154 |
tmp___50 = vgPlain_strncmp((Char const *)arg, |
|
9154 |
tmp___50 = vgPlain_strncmp((Char const *)arg, |
| 9155 |
(Char const *)"--require-text-symbol=", |
|
9155 |
(Char const *)"--require-text-symbol=", |
| 9156 |
tmp___49 + 1UL); |
|
9156 |
tmp___49 + 1UL); |
| 9157 |
if (tmp___50 == 0) { |
|
9157 |
if (tmp___50 == 0) { |
| 9158 |
tmp___48 = (int )((Bool )1); |
|
9158 |
tmp___48 = (int )((Bool )1); |
| 9159 |
} else { |
|
9159 |
} else { |
| 9160 |
tmp___48 = (int )((Bool )0); |
|
9160 |
tmp___48 = (int )((Bool )0); |
| 9161 |
} |
|
9161 |
} |
| 9162 |
} else { |
|
9162 |
} else { |
| 9163 |
tmp___48 = (int )((Bool )0); |
|
9163 |
tmp___48 = (int )((Bool )0); |
| 9164 |
} |
|
9164 |
} |
| 9165 |
} else { |
|
9165 |
} else { |
| 9166 |
tmp___48 = (int )((Bool )0); |
|
9166 |
tmp___48 = (int )((Bool )0); |
| 9167 |
} |
|
9167 |
} |
| 9168 |
if (tmp___48) { |
|
9168 |
if (tmp___48) { |
| 9169 |
tmp___51 = vgPlain_strlen((Char const *)"--require-text-symbol"); |
|
9169 |
tmp___51 = vgPlain_strlen((Char const *)"--require-text-symbol"); |
| 9170 |
val___2 = (Char *)(arg + (tmp___51 + 1UL)); |
|
9170 |
val___2 = (Char *)(arg + (tmp___51 + 1UL)); |
| 9171 |
tmp_str = val___2; |
|
9171 |
tmp_str = val___2; |
| 9172 |
if (vgPlain_clo_n_req_tsyms >= 100) { |
|
9172 |
if (vgPlain_clo_n_req_tsyms >= 100) { |
| 9173 |
vgPlain_fmsg_bad_option(arg, |
|
9173 |
vgPlain_fmsg_bad_option(arg, |
| 9174 |
"Too many --require-text-symbol= specifications.\nIncrease VG_CLO_MAX_REQ_TSYMS and recompile.\n"); |
|
9174 |
"Too many --require-text-symbol= specifications.\nIncrease VG_CLO_MAX_REQ_TSYMS and recompile.\n"); |
| 9175 |
} else { |
|
9175 |
} else { |
| 9176 |
|
|
9176 |
|
| 9177 |
} |
|
9177 |
} |
| 9178 |
ok = (Bool )1; |
|
9178 |
ok = (Bool )1; |
| 9179 |
if (tmp_str) { |
|
9179 |
if (tmp_str) { |
| 9180 |
tmp___12 = vgPlain_strlen((Char const *)tmp_str); |
|
9180 |
tmp___12 = vgPlain_strlen((Char const *)tmp_str); |
| 9181 |
if (tmp___12 > 0UL) { |
|
9181 |
if (tmp___12 > 0UL) { |
| 9182 |
tmp___13 = 1; |
|
9182 |
tmp___13 = 1; |
| 9183 |
} else { |
|
9183 |
} else { |
| 9184 |
tmp___13 = 0; |
|
9184 |
tmp___13 = 0; |
| 9185 |
} |
|
9185 |
} |
| 9186 |
} else { |
|
9186 |
} else { |
| 9187 |
tmp___13 = 0; |
|
9187 |
tmp___13 = 0; |
| 9188 |
} |
|
9188 |
} |
| 9189 |
ok = (Bool )tmp___13; |
|
9189 |
ok = (Bool )tmp___13; |
| 9190 |
if (ok) { |
|
9190 |
if (ok) { |
| 9191 |
patt[3] = *(tmp_str + 0); |
|
9191 |
patt[3] = *(tmp_str + 0); |
| 9192 |
patt[0] = patt[3]; |
|
9192 |
patt[0] = patt[3]; |
| 9193 |
patt[4] = (Char )'?'; |
|
9193 |
patt[4] = (Char )'?'; |
| 9194 |
patt[1] = patt[4]; |
|
9194 |
patt[1] = patt[4]; |
| 9195 |
patt[5] = (Char )'*'; |
|
9195 |
patt[5] = (Char )'*'; |
| 9196 |
patt[2] = patt[5]; |
|
9196 |
patt[2] = patt[5]; |
| 9197 |
patt[6] = (Char )0; |
|
9197 |
patt[6] = (Char )0; |
| 9198 |
ok = vgPlain_string_match((Char const *)(patt), |
|
9198 |
ok = vgPlain_string_match((Char const *)(patt), |
| 9199 |
(Char const *)tmp_str); |
|
9199 |
(Char const *)tmp_str); |
| 9200 |
} else { |
|
9200 |
} else { |
| 9201 |
|
|
9201 |
|
| 9202 |
} |
|
9202 |
} |
| 9203 |
if (! ok) { |
|
9203 |
if (! ok) { |
| 9204 |
vgPlain_fmsg_bad_option(arg, |
|
9204 |
vgPlain_fmsg_bad_option(arg, |
| 9205 |
"Invalid --require-text-symbol= specification.\n"); |
|
9205 |
"Invalid --require-text-symbol= specification.\n"); |
| 9206 |
} else { |
|
9206 |
} else { |
| 9207 |
|
|
9207 |
|
| 9208 |
} |
|
9208 |
} |
| 9209 |
vgPlain_clo_req_tsyms[vgPlain_clo_n_req_tsyms] = (HChar *)tmp_str; |
|
9209 |
vgPlain_clo_req_tsyms[vgPlain_clo_n_req_tsyms] = (HChar *)tmp_str; |
| 9210 |
vgPlain_clo_n_req_tsyms ++; |
|
9210 |
vgPlain_clo_n_req_tsyms ++; |
| 9211 |
} else { |
|
9211 |
} else { |
| 9212 |
_L___5: |
|
9212 |
_L___5: |
| 9213 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9213 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9214 |
if ((unsigned int )"--trace-flags=" != (unsigned int )((void *)0)) { |
|
9214 |
if ((unsigned int )"--trace-flags=" != (unsigned int )((void *)0)) { |
| 9215 |
tmp___43 = vgPlain_strlen((Char const *)"--trace-flags"); |
|
9215 |
tmp___43 = vgPlain_strlen((Char const *)"--trace-flags"); |
| 9216 |
tmp___44 = vgPlain_strncmp((Char const *)arg, |
|
9216 |
tmp___44 = vgPlain_strncmp((Char const *)arg, |
| 9217 |
(Char const *)"--trace-flags=", |
|
9217 |
(Char const *)"--trace-flags=", |
| 9218 |
tmp___43 + 1UL); |
|
9218 |
tmp___43 + 1UL); |
| 9219 |
if (tmp___44 == 0) { |
|
9219 |
if (tmp___44 == 0) { |
| 9220 |
tmp___42 = (int )((Bool )1); |
|
9220 |
tmp___42 = (int )((Bool )1); |
| 9221 |
} else { |
|
9221 |
} else { |
| 9222 |
tmp___42 = (int )((Bool )0); |
|
9222 |
tmp___42 = (int )((Bool )0); |
| 9223 |
} |
|
9223 |
} |
| 9224 |
} else { |
|
9224 |
} else { |
| 9225 |
tmp___42 = (int )((Bool )0); |
|
9225 |
tmp___42 = (int )((Bool )0); |
| 9226 |
} |
|
9226 |
} |
| 9227 |
} else { |
|
9227 |
} else { |
| 9228 |
tmp___42 = (int )((Bool )0); |
|
9228 |
tmp___42 = (int )((Bool )0); |
| 9229 |
} |
|
9229 |
} |
| 9230 |
if (tmp___42) { |
|
9230 |
if (tmp___42) { |
| 9231 |
tmp___45 = vgPlain_strlen((Char const *)"--trace-flags"); |
|
9231 |
tmp___45 = vgPlain_strlen((Char const *)"--trace-flags"); |
| 9232 |
val___1 = (Char *)(arg + (tmp___45 + 1UL)); |
|
9232 |
val___1 = (Char *)(arg + (tmp___45 + 1UL)); |
| 9233 |
tmp_str = val___1; |
|
9233 |
tmp_str = val___1; |
| 9234 |
tmp___14 = vgPlain_strlen((Char const *)tmp_str); |
|
9234 |
tmp___14 = vgPlain_strlen((Char const *)tmp_str); |
| 9235 |
if (8UL != tmp___14) { |
|
9235 |
if (8UL != tmp___14) { |
| 9236 |
vgPlain_fmsg_bad_option(arg, |
|
9236 |
vgPlain_fmsg_bad_option(arg, |
| 9237 |
"--trace-flags argument must have 8 digits\n"); |
|
9237 |
"--trace-flags argument must have 8 digits\n"); |
| 9238 |
} else { |
|
9238 |
} else { |
| 9239 |
|
|
9239 |
|
| 9240 |
} |
|
9240 |
} |
| 9241 |
j = 0; |
|
9241 |
j = 0; |
| 9242 |
while (j < 8) { |
|
9242 |
while (j < 8) { |
| 9243 |
if (48 == (int )*(tmp_str + j)) { |
|
9243 |
if (48 == (int )*(tmp_str + j)) { |
| 9244 |
|
|
9244 |
|
| 9245 |
} else |
|
9245 |
} else |
| 9246 |
if (49 == (int )*(tmp_str + j)) { |
|
9246 |
if (49 == (int )*(tmp_str + j)) { |
| 9247 |
vgPlain_clo_trace_flags = (UChar )((int )vgPlain_clo_trace_flags | (1 << (7 - j))); |
|
9247 |
vgPlain_clo_trace_flags = (UChar )((int )vgPlain_clo_trace_flags | (1 << (7 - j))); |
| 9248 |
} else { |
|
9248 |
} else { |
| 9249 |
vgPlain_fmsg_bad_option(arg, |
|
9249 |
vgPlain_fmsg_bad_option(arg, |
| 9250 |
"--trace-flags argument can only contain 0s and 1s\n"); |
|
9250 |
"--trace-flags argument can only contain 0s and 1s\n"); |
| 9251 |
} |
|
9251 |
} |
| 9252 |
j ++; |
|
9252 |
j ++; |
| 9253 |
} |
|
9253 |
} |
| 9254 |
} else { |
|
9254 |
} else { |
| 9255 |
_L___4: |
|
9255 |
_L___4: |
| 9256 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9256 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9257 |
if ((unsigned int )"--profile-flags=" != (unsigned int )((void *)0)) { |
|
9257 |
if ((unsigned int )"--profile-flags=" != (unsigned int )((void *)0)) { |
| 9258 |
tmp___37 = vgPlain_strlen((Char const *)"--profile-flags"); |
|
9258 |
tmp___37 = vgPlain_strlen((Char const *)"--profile-flags"); |
| 9259 |
tmp___38 = vgPlain_strncmp((Char const *)arg, |
|
9259 |
tmp___38 = vgPlain_strncmp((Char const *)arg, |
| 9260 |
(Char const *)"--profile-flags=", |
|
9260 |
(Char const *)"--profile-flags=", |
| 9261 |
tmp___37 + 1UL); |
|
9261 |
tmp___37 + 1UL); |
| 9262 |
if (tmp___38 == 0) { |
|
9262 |
if (tmp___38 == 0) { |
| 9263 |
tmp___36 = (int )((Bool )1); |
|
9263 |
tmp___36 = (int )((Bool )1); |
| 9264 |
} else { |
|
9264 |
} else { |
| 9265 |
tmp___36 = (int )((Bool )0); |
|
9265 |
tmp___36 = (int )((Bool )0); |
| 9266 |
} |
|
9266 |
} |
| 9267 |
} else { |
|
9267 |
} else { |
| 9268 |
tmp___36 = (int )((Bool )0); |
|
9268 |
tmp___36 = (int )((Bool )0); |
| 9269 |
} |
|
9269 |
} |
| 9270 |
} else { |
|
9270 |
} else { |
| 9271 |
tmp___36 = (int )((Bool )0); |
|
9271 |
tmp___36 = (int )((Bool )0); |
| 9272 |
} |
|
9272 |
} |
| 9273 |
if (tmp___36) { |
|
9273 |
if (tmp___36) { |
| 9274 |
tmp___39 = vgPlain_strlen((Char const *)"--profile-flags"); |
|
9274 |
tmp___39 = vgPlain_strlen((Char const *)"--profile-flags"); |
| 9275 |
val___0 = (Char *)(arg + (tmp___39 + 1UL)); |
|
9275 |
val___0 = (Char *)(arg + (tmp___39 + 1UL)); |
| 9276 |
tmp_str = val___0; |
|
9276 |
tmp_str = val___0; |
| 9277 |
tmp___15 = vgPlain_strlen((Char const *)tmp_str); |
|
9277 |
tmp___15 = vgPlain_strlen((Char const *)tmp_str); |
| 9278 |
if (8UL != tmp___15) { |
|
9278 |
if (8UL != tmp___15) { |
| 9279 |
vgPlain_fmsg_bad_option(arg, |
|
9279 |
vgPlain_fmsg_bad_option(arg, |
| 9280 |
"--profile-flags argument must have 8 digits\n"); |
|
9280 |
"--profile-flags argument must have 8 digits\n"); |
| 9281 |
} else { |
|
9281 |
} else { |
| 9282 |
|
|
9282 |
|
| 9283 |
} |
|
9283 |
} |
| 9284 |
j___0 = 0; |
|
9284 |
j___0 = 0; |
| 9285 |
while (j___0 < 8) { |
|
9285 |
while (j___0 < 8) { |
| 9286 |
if (48 == (int )*(tmp_str + j___0)) { |
|
9286 |
if (48 == (int )*(tmp_str + j___0)) { |
| 9287 |
|
|
9287 |
|
| 9288 |
} else |
|
9288 |
} else |
| 9289 |
if (49 == (int )*(tmp_str + j___0)) { |
|
9289 |
if (49 == (int )*(tmp_str + j___0)) { |
| 9290 |
vgPlain_clo_profile_flags = (UChar )((int )vgPlain_clo_profile_flags | (1 << (7 - j___0))); |
|
9290 |
vgPlain_clo_profile_flags = (UChar )((int )vgPlain_clo_profile_flags | (1 << (7 - j___0))); |
| 9291 |
} else { |
|
9291 |
} else { |
| 9292 |
vgPlain_fmsg_bad_option(arg, |
|
9292 |
vgPlain_fmsg_bad_option(arg, |
| 9293 |
"--profile-flags argument can only contain 0s and 1s\n"); |
|
9293 |
"--profile-flags argument can only contain 0s and 1s\n"); |
| 9294 |
} |
|
9294 |
} |
| 9295 |
j___0 ++; |
|
9295 |
j___0 ++; |
| 9296 |
} |
|
9296 |
} |
| 9297 |
} else { |
|
9297 |
} else { |
| 9298 |
_L___3: |
|
9298 |
_L___3: |
| 9299 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9299 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9300 |
if ((unsigned int )"--trace-notbelow=" != (unsigned int )((void *)0)) { |
|
9300 |
if ((unsigned int )"--trace-notbelow=" != (unsigned int )((void *)0)) { |
| 9301 |
tmp___30 = vgPlain_strlen((Char const *)"--trace-notbelow"); |
|
9301 |
tmp___30 = vgPlain_strlen((Char const *)"--trace-notbelow"); |
| 9302 |
tmp___31 = vgPlain_strncmp((Char const *)arg, |
|
9302 |
tmp___31 = vgPlain_strncmp((Char const *)arg, |
| 9303 |
(Char const *)"--trace-notbelow=", |
|
9303 |
(Char const *)"--trace-notbelow=", |
| 9304 |
tmp___30 + 1UL); |
|
9304 |
tmp___30 + 1UL); |
| 9305 |
if (tmp___31 == 0) { |
|
9305 |
if (tmp___31 == 0) { |
| 9306 |
tmp___29 = (int )((Bool )1); |
|
9306 |
tmp___29 = (int )((Bool )1); |
| 9307 |
} else { |
|
9307 |
} else { |
| 9308 |
tmp___29 = (int )((Bool )0); |
|
9308 |
tmp___29 = (int )((Bool )0); |
| 9309 |
} |
|
9309 |
} |
| 9310 |
} else { |
|
9310 |
} else { |
| 9311 |
tmp___29 = (int )((Bool )0); |
|
9311 |
tmp___29 = (int )((Bool )0); |
| 9312 |
} |
|
9312 |
} |
| 9313 |
} else { |
|
9313 |
} else { |
| 9314 |
tmp___29 = (int )((Bool )0); |
|
9314 |
tmp___29 = (int )((Bool )0); |
| 9315 |
} |
|
9315 |
} |
| 9316 |
if (tmp___29) { |
|
9316 |
if (tmp___29) { |
| 9317 |
tmp___32 = vgPlain_strlen((Char const *)"--trace-notbelow"); |
|
9317 |
tmp___32 = vgPlain_strlen((Char const *)"--trace-notbelow"); |
| 9318 |
val = (Char *)(arg + (tmp___32 + 1UL)); |
|
9318 |
val = (Char *)(arg + (tmp___32 + 1UL)); |
| 9319 |
tmp___33 = vgPlain_strtoll10(val, |
|
9319 |
tmp___33 = vgPlain_strtoll10(val, |
| 9320 |
& s); |
|
9320 |
& s); |
| 9321 |
n = tmp___33; |
|
9321 |
n = tmp___33; |
| 9322 |
vgPlain_clo_trace_notbelow = (Int )n; |
|
9322 |
vgPlain_clo_trace_notbelow = (Int )n; |
| 9323 |
if (0 != (int )*(s + 0)) { |
|
9323 |
if (0 != (int )*(s + 0)) { |
| 9324 |
vgPlain_fmsg_bad_option(arg, |
|
9324 |
vgPlain_fmsg_bad_option(arg, |
| 9325 |
""); |
|
9325 |
""); |
| 9326 |
} else |
|
9326 |
} else |
| 9327 |
if ((Long )vgPlain_clo_trace_notbelow != n) { |
|
9327 |
if ((Long )vgPlain_clo_trace_notbelow != n) { |
| 9328 |
vgPlain_fmsg_bad_option(arg, |
|
9328 |
vgPlain_fmsg_bad_option(arg, |
| 9329 |
""); |
|
9329 |
""); |
| 9330 |
} else { |
|
9330 |
} else { |
| 9331 |
|
|
9331 |
|
| 9332 |
} |
|
9332 |
} |
| 9333 |
} else { |
|
9333 |
} else { |
| 9334 |
_L___2: |
|
9334 |
_L___2: |
| 9335 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9335 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9336 |
if ((unsigned int )"--gen-suppressions=no" != (unsigned int )((void *)0)) { |
|
9336 |
if ((unsigned int )"--gen-suppressions=no" != (unsigned int )((void *)0)) { |
| 9337 |
tmp___26 = vgPlain_strcmp((Char const *)arg, |
|
9337 |
tmp___26 = vgPlain_strcmp((Char const *)arg, |
| 9338 |
(Char const *)"--gen-suppressions=no"); |
|
9338 |
(Char const *)"--gen-suppressions=no"); |
| 9339 |
if (tmp___26 == 0) { |
|
9339 |
if (tmp___26 == 0) { |
| 9340 |
tmp___25 = (int )((Bool )1); |
|
9340 |
tmp___25 = (int )((Bool )1); |
| 9341 |
} else { |
|
9341 |
} else { |
| 9342 |
tmp___25 = (int )((Bool )0); |
|
9342 |
tmp___25 = (int )((Bool )0); |
| 9343 |
} |
|
9343 |
} |
| 9344 |
} else { |
|
9344 |
} else { |
| 9345 |
tmp___25 = (int )((Bool )0); |
|
9345 |
tmp___25 = (int )((Bool )0); |
| 9346 |
} |
|
9346 |
} |
| 9347 |
} else { |
|
9347 |
} else { |
| 9348 |
tmp___25 = (int )((Bool )0); |
|
9348 |
tmp___25 = (int )((Bool )0); |
| 9349 |
} |
|
9349 |
} |
| 9350 |
if (tmp___25) { |
|
9350 |
if (tmp___25) { |
| 9351 |
vgPlain_clo_gen_suppressions = 0; |
|
9351 |
vgPlain_clo_gen_suppressions = 0; |
| 9352 |
} else { |
|
9352 |
} else { |
| 9353 |
_L___1: |
|
9353 |
_L___1: |
| 9354 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9354 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9355 |
if ((unsigned int )"--gen-suppressions=yes" != (unsigned int )((void *)0)) { |
|
9355 |
if ((unsigned int )"--gen-suppressions=yes" != (unsigned int )((void *)0)) { |
| 9356 |
tmp___23 = vgPlain_strcmp((Char const *)arg, |
|
9356 |
tmp___23 = vgPlain_strcmp((Char const *)arg, |
| 9357 |
(Char const *)"--gen-suppressions=yes"); |
|
9357 |
(Char const *)"--gen-suppressions=yes"); |
| 9358 |
if (tmp___23 == 0) { |
|
9358 |
if (tmp___23 == 0) { |
| 9359 |
tmp___22 = (int )((Bool )1); |
|
9359 |
tmp___22 = (int )((Bool )1); |
| 9360 |
} else { |
|
9360 |
} else { |
| 9361 |
tmp___22 = (int )((Bool )0); |
|
9361 |
tmp___22 = (int )((Bool )0); |
| 9362 |
} |
|
9362 |
} |
| 9363 |
} else { |
|
9363 |
} else { |
| 9364 |
tmp___22 = (int )((Bool )0); |
|
9364 |
tmp___22 = (int )((Bool )0); |
| 9365 |
} |
|
9365 |
} |
| 9366 |
} else { |
|
9366 |
} else { |
| 9367 |
tmp___22 = (int )((Bool )0); |
|
9367 |
tmp___22 = (int )((Bool )0); |
| 9368 |
} |
|
9368 |
} |
| 9369 |
if (tmp___22) { |
|
9369 |
if (tmp___22) { |
| 9370 |
vgPlain_clo_gen_suppressions = 1; |
|
9370 |
vgPlain_clo_gen_suppressions = 1; |
| 9371 |
} else { |
|
9371 |
} else { |
| 9372 |
_L___0: |
|
9372 |
_L___0: |
| 9373 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
|
9373 |
if ((unsigned int )arg != (unsigned int )((void *)0)) { |
| 9374 |
if ((unsigned int )"--gen-suppressions=all" != (unsigned int )((void *)0)) { |
|
9374 |
if ((unsigned int )"--gen-suppressions=all" != (unsigned int )((void *)0)) { |
| 9375 |
tmp___20 = vgPlain_strcmp((Char const *)arg, |
|
9375 |
tmp___20 = vgPlain_strcmp((Char const *)arg, |
| 9376 |
(Char const *)"--gen-suppressions=all"); |
|
9376 |
(Char const *)"--gen-suppressions=all"); |
| 9377 |
if (tmp___20 == 0) { |
|
9377 |
if (tmp___20 == 0) { |
| 9378 |
tmp___19 = (int )((Bool )1); |
|
9378 |
tmp___19 = (int )((Bool )1); |
| 9379 |
} else { |
|
9379 |
} else { |
| 9380 |
tmp___19 = (int )((Bool )0); |
|
9380 |
tmp___19 = (int )((Bool )0); |
| 9381 |
} |
|
9381 |
} |
| 9382 |
} else { |
|
9382 |
} else { |
| 9383 |
tmp___19 = (int )((Bool )0); |
|
9383 |
tmp___19 = (int )((Bool )0); |
| 9384 |
} |
|
9384 |
} |
| 9385 |
} else { |
|
9385 |
} else { |
| 9386 |
tmp___19 = (int )((Bool )0); |
|
9386 |
tmp___19 = (int )((Bool )0); |
| 9387 |
} |
|
9387 |
} |
| 9388 |
if (tmp___19) { |
|
9388 |
if (tmp___19) { |
| 9389 |
vgPlain_clo_gen_suppressions = 2; |
|
9389 |
vgPlain_clo_gen_suppressions = 2; |
| 9390 |
} else |
|
9390 |
} else |
| 9391 |
_L: |
|
9391 |
_L: |
| 9392 |
if (! vgPlain_needs.command_line_options) { |
|
9392 |
if (! vgPlain_needs.command_line_options) { |
| 9393 |
vgPlain_fmsg_bad_option(arg, |
|
9393 |
vgPlain_fmsg_bad_option(arg, |
| 9394 |
""); |
|
9394 |
""); |
| 9395 |
} else { |
|
9395 |
} else { |
| 9396 |
tmp___16 = __builtin_expect((long )(! (! vgPlain_tdict.tool_process_cmd_line_option)), |
|
9396 |
tmp___16 = __builtin_expect((long )(! (! vgPlain_tdict.tool_process_cmd_line_option)), |
| 9397 |
1L); |
|
9397 |
1L); |
| 9398 |
if (tmp___16) { |
|
9398 |
if (tmp___16) { |
| 9399 |
|
|
9399 |
|
| 9400 |
} else { |
|
9400 |
} else { |
| 9401 |
vgPlain_assert_fail((Bool )0, |
|
9401 |
vgPlain_assert_fail((Bool )0, |
| 9402 |
(Char const *)"VG_(tdict).tool_process_cmd_line_option", |
|
9402 |
(Char const *)"VG_(tdict).tool_process_cmd_line_option", |
| 9403 |
(Char const *)"m_main.c", |
|
9403 |
(Char const *)"m_main.c", |
| 9404 |
674, |
|
9404 |
674, |
| 9405 |
(Char const *)"main_process_cmd_line_options", |
|
9405 |
(Char const *)"main_process_cmd_line_options", |
| 9406 |
"you forgot to set VgToolInterface function \'tool_process_cmd_line_option\'"); |
|
9406 |
"you forgot to set VgToolInterface function \'tool_process_cmd_line_option\'"); |
| 9407 |
} |
|
9407 |
} |
| 9408 |
tmp___17 = (*(vgPlain_tdict.tool_process_cmd_line_option))((Char *)arg); |
|
9408 |
tmp___17 = (*(vgPlain_tdict.tool_process_cmd_line_option))((Char *)arg); |
| 9409 |
if (tmp___17) { |
|
9409 |
if (tmp___17) { |
| 9410 |
|
|
9410 |
|
| 9411 |
} else { |
|
9411 |
} else { |
| 9412 |
vgPlain_fmsg_bad_option(arg, |
|
9412 |
vgPlain_fmsg_bad_option(arg, |
| 9413 |
""); |
|
9413 |
""); |
| 9414 |
} |
|
9414 |
} |
| 9415 |
} |
|
9415 |
} |
| 9416 |
} |
|
9416 |
} |
| 9417 |
} |
|
9417 |
} |
| 9418 |
} |
|
9418 |
} |
| 9419 |
} |
|
9419 |
} |
| 9420 |
} |
|
9420 |
} |
| 9421 |
} |
|
9421 |
} |
| 9422 |
} |
|
9422 |
} |
| 9423 |
} |
|
9423 |
} |
| 9424 |
} |
|
9424 |
} |
| 9425 |
} |
|
9425 |
} |
| 9426 |
} |
|
9426 |
} |
| 9427 |
} |
|
9427 |
} |
| 9428 |
} |
|
9428 |
} |
| 9429 |
} |
|
9429 |
} |
| 9430 |
} |
|
9430 |
} |
| 9431 |
} |
|
9431 |
} |
| 9432 |
} |
|
9432 |
} |
| 9433 |
} |
|
9433 |
} |
| 9434 |
} |
|
9434 |
} |
| 9435 |
} |
|
9435 |
} |
| 9436 |
} |
|
9436 |
} |
| 9437 |
} |
|
9437 |
} |
| 9438 |
} |
|
9438 |
} |
| 9439 |
} |
|
9439 |
} |
| 9440 |
} |
|
9440 |
} |
| 9441 |
} |
|
9441 |
} |
| 9442 |
} |
|
9442 |
} |
| 9443 |
} |
|
9443 |
} |
| 9444 |
} |
|
9444 |
} |
| 9445 |
} |
|
9445 |
} |
| 9446 |
} |
|
9446 |
} |
| 9447 |
} |
|
9447 |
} |
| 9448 |
} |
|
9448 |
} |
| 9449 |
} |
|
9449 |
} |
| 9450 |
} |
|
9450 |
} |
| 9451 |
} |
|
9451 |
} |
| 9452 |
} |
|
9452 |
} |
| 9453 |
} |
|
9453 |
} |
| 9454 |
} |
|
9454 |
} |
| 9455 |
} |
|
9455 |
} |
| 9456 |
} |
|
9456 |
} |
| 9457 |
} |
|
9457 |
} |
| 9458 |
} |
|
9458 |
} |
| 9459 |
} |
|
9459 |
} |
| 9460 |
} |
|
9460 |
} |
| 9461 |
} |
|
9461 |
} |
| 9462 |
} |
|
9462 |
} |
| 9463 |
} |
|
9463 |
} |
| 9464 |
} |
|
9464 |
} |
| 9465 |
} |
|
9465 |
} |
| 9466 |
} |
|
9466 |
} |
| 9467 |
} |
|
9467 |
} |
| 9468 |
} |
|
9468 |
} |
| 9469 |
} |
|
9469 |
} |
| 9470 |
} |
|
9470 |
} |
| 9471 |
} |
|
9471 |
} |
| 9472 |
} |
|
9472 |
} |
| 9473 |
} |
|
9473 |
} |
| 9474 |
} |
|
9474 |
} |
| 9475 |
} |
|
9475 |
} |
| 9476 |
} |
|
9476 |
} |
| 9477 |
} |
|
9477 |
} |
| 9478 |
} |
|
9478 |
} |
| 9479 |
} |
|
9479 |
} |
| 9480 |
} |
|
9480 |
} |
| 9481 |
} |
|
9481 |
} |
| 9482 |
} |
|
9482 |
} |
| 9483 |
} |
|
9483 |
} |
| 9484 |
} |
|
9484 |
} |
| 9485 |
} |
|
9485 |
} |
| 9486 |
} |
|
9486 |
} |
| 9487 |
} |
|
9487 |
} |
| 9488 |
} |
|
9488 |
} |
| 9489 |
} |
|
9489 |
} |
| 9490 |
} |
|
9490 |
} |
| 9491 |
} |
|
9491 |
} |
| 9492 |
} |
|
9492 |
} |
| 9493 |
} |
|
9493 |
} |
| 9494 |
} |
|
9494 |
} |
| 9495 |
} |
|
9495 |
} |
| 9496 |
__Cont: |
|
9496 |
__Cont: |
| 9497 |
i ++; |
|
9497 |
i ++; |
| 9498 |
} |
|
9498 |
} |
| 9499 |
if (vgPlain_clo_vex_control.guest_chase_thresh >= vgPlain_clo_vex_control.guest_max_insns) { |
|
9499 |
if (vgPlain_clo_vex_control.guest_chase_thresh >= vgPlain_clo_vex_control.guest_max_insns) { |
| 9500 |
vgPlain_clo_vex_control.guest_chase_thresh = vgPlain_clo_vex_control.guest_max_insns - 1; |
|
9500 |
vgPlain_clo_vex_control.guest_chase_thresh = vgPlain_clo_vex_control.guest_max_insns - 1; |
| 9501 |
} else { |
|
9501 |
} else { |
| 9502 |
|
|
9502 |
|
| 9503 |
} |
|
9503 |
} |
| 9504 |
if (vgPlain_clo_vex_control.guest_chase_thresh < 0) { |
|
9504 |
if (vgPlain_clo_vex_control.guest_chase_thresh < 0) { |
| 9505 |
vgPlain_clo_vex_control.guest_chase_thresh = 0; |
|
9505 |
vgPlain_clo_vex_control.guest_chase_thresh = 0; |
| 9506 |
} else { |
|
9506 |
} else { |
| 9507 |
|
|
9507 |
|
| 9508 |
} |
|
9508 |
} |
| 9509 |
if (vgPlain_clo_verbosity < 0) { |
|
9509 |
if (vgPlain_clo_verbosity < 0) { |
| 9510 |
vgPlain_clo_verbosity = 0; |
|
9510 |
vgPlain_clo_verbosity = 0; |
| 9511 |
} else { |
|
9511 |
} else { |
| 9512 |
|
|
9512 |
|
| 9513 |
} |
|
9513 |
} |
| 9514 |
vgPlain_dyn_vgdb_error = vgPlain_clo_vgdb_error; |
|
9514 |
vgPlain_dyn_vgdb_error = vgPlain_clo_vgdb_error; |
| 9515 |
if (vgPlain_clo_gen_suppressions > 0) { |
|
9515 |
if (vgPlain_clo_gen_suppressions > 0) { |
| 9516 |
if (! vgPlain_needs.core_errors) { |
|
9516 |
if (! vgPlain_needs.core_errors) { |
| 9517 |
if (! vgPlain_needs.tool_errors) { |
|
9517 |
if (! vgPlain_needs.tool_errors) { |
| 9518 |
vgPlain_fmsg_bad_option((HChar *)"--gen-suppressions=yes", |
|
9518 |
vgPlain_fmsg_bad_option((HChar *)"--gen-suppressions=yes", |
| 9519 |
"Can\'t use --gen-suppressions= with %s\nbecause it doesn\'t generate errors.\n", |
|
9519 |
"Can\'t use --gen-suppressions= with %s\nbecause it doesn\'t generate errors.\n", |
| 9520 |
vgPlain_details.name); |
|
9520 |
vgPlain_details.name); |
| 9521 |
} else { |
|
9521 |
} else { |
| 9522 |
|
|
9522 |
|
| 9523 |
} |
|
9523 |
} |
| 9524 |
} else { |
|
9524 |
} else { |
| 9525 |
|
|
9525 |
|
| 9526 |
} |
|
9526 |
} |
| 9527 |
} else { |
|
9527 |
} else { |
| 9528 |
|
|
9528 |
|
| 9529 |
} |
|
9529 |
} |
| 9530 |
if (vgPlain_clo_xml) { |
|
9530 |
if (vgPlain_clo_xml) { |
| 9531 |
if (! vgPlain_needs.xml_output) { |
|
9531 |
if (! vgPlain_needs.xml_output) { |
| 9532 |
vgPlain_clo_xml = (Bool )0; |
|
9532 |
vgPlain_clo_xml = (Bool )0; |
| 9533 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes", |
|
9533 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes", |
| 9534 |
"%s does not support XML output.\n", |
|
9534 |
"%s does not support XML output.\n", |
| 9535 |
vgPlain_details.name); |
|
9535 |
vgPlain_details.name); |
| 9536 |
} else { |
|
9536 |
} else { |
| 9537 |
|
|
9537 |
|
| 9538 |
} |
|
9538 |
} |
| 9539 |
} else { |
|
9539 |
} else { |
| 9540 |
|
|
9540 |
|
| 9541 |
} |
|
9541 |
} |
| 9542 |
tmp___598 = __builtin_expect((long )(! (! (vgPlain_clo_gen_suppressions >= 0))), |
|
9542 |
tmp___598 = __builtin_expect((long )(! (! (vgPlain_clo_gen_suppressions >= 0))), |
| 9543 |
1L); |
|
9543 |
1L); |
| 9544 |
if (tmp___598) { |
|
9544 |
if (tmp___598) { |
| 9545 |
|
|
9545 |
|
| 9546 |
} else { |
|
9546 |
} else { |
| 9547 |
vgPlain_assert_fail((Bool )1, |
|
9547 |
vgPlain_assert_fail((Bool )1, |
| 9548 |
(Char const *)"VG_(clo_gen_suppressions) >= 0", |
|
9548 |
(Char const *)"VG_(clo_gen_suppressions) >= 0", |
| 9549 |
(Char const *)"m_main.c", 714, |
|
9549 |
(Char const *)"m_main.c", 714, |
| 9550 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9550 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9551 |
} |
|
9551 |
} |
| 9552 |
tmp___599 = __builtin_expect((long )(! (! (vgPlain_clo_gen_suppressions <= 2))), |
|
9552 |
tmp___599 = __builtin_expect((long )(! (! (vgPlain_clo_gen_suppressions <= 2))), |
| 9553 |
1L); |
|
9553 |
1L); |
| 9554 |
if (tmp___599) { |
|
9554 |
if (tmp___599) { |
| 9555 |
|
|
9555 |
|
| 9556 |
} else { |
|
9556 |
} else { |
| 9557 |
vgPlain_assert_fail((Bool )1, |
|
9557 |
vgPlain_assert_fail((Bool )1, |
| 9558 |
(Char const *)"VG_(clo_gen_suppressions) <= 2", |
|
9558 |
(Char const *)"VG_(clo_gen_suppressions) <= 2", |
| 9559 |
(Char const *)"m_main.c", 715, |
|
9559 |
(Char const *)"m_main.c", 715, |
| 9560 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9560 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9561 |
} |
|
9561 |
} |
| 9562 |
if (vgPlain_clo_xml) { |
|
9562 |
if (vgPlain_clo_xml) { |
| 9563 |
if (vgPlain_clo_gen_suppressions == 1) { |
|
9563 |
if (vgPlain_clo_gen_suppressions == 1) { |
| 9564 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --gen-suppressions=yes", |
|
9564 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --gen-suppressions=yes", |
| 9565 |
"When --xml=yes is specified, --gen-suppressions=no\nor --gen-suppressions=all is allowed, but not --gen-suppressions=yes.\n"); |
|
9565 |
"When --xml=yes is specified, --gen-suppressions=no\nor --gen-suppressions=all is allowed, but not --gen-suppressions=yes.\n"); |
| 9566 |
} else { |
|
9566 |
} else { |
| 9567 |
|
|
9567 |
|
| 9568 |
} |
|
9568 |
} |
| 9569 |
if (vgPlain_clo_db_attach) { |
|
9569 |
if (vgPlain_clo_db_attach) { |
| 9570 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --db-attach=yes", |
|
9570 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --db-attach=yes", |
| 9571 |
"--db-attach=yes is not allowed with --xml=yes\nbecause it would require user input.\n"); |
|
9571 |
"--db-attach=yes is not allowed with --xml=yes\nbecause it would require user input.\n"); |
| 9572 |
} else { |
|
9572 |
} else { |
| 9573 |
|
|
9573 |
|
| 9574 |
} |
|
9574 |
} |
| 9575 |
if (vgPlain_clo_dump_error > 0) { |
|
9575 |
if (vgPlain_clo_dump_error > 0) { |
| 9576 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --dump-error", |
|
9576 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes together with --dump-error", |
| 9577 |
""); |
|
9577 |
""); |
| 9578 |
} else { |
|
9578 |
} else { |
| 9579 |
|
|
9579 |
|
| 9580 |
} |
|
9580 |
} |
| 9581 |
vgPlain_clo_error_limit = (Bool )0; |
|
9581 |
vgPlain_clo_error_limit = (Bool )0; |
| 9582 |
} else { |
|
9582 |
} else { |
| 9583 |
|
|
9583 |
|
| 9584 |
} |
|
9584 |
} |
| 9585 |
tmp___600 = __builtin_expect((long )(! (! (vgPlain_log_output_sink.fd == 2))), |
|
9585 |
tmp___600 = __builtin_expect((long )(! (! (vgPlain_log_output_sink.fd == 2))), |
| 9586 |
1L); |
|
9586 |
1L); |
| 9587 |
if (tmp___600) { |
|
9587 |
if (tmp___600) { |
| 9588 |
|
|
9588 |
|
| 9589 |
} else { |
|
9589 |
} else { |
| 9590 |
vgPlain_assert_fail((Bool )1, |
|
9590 |
vgPlain_assert_fail((Bool )1, |
| 9591 |
(Char const *)"VG_(log_output_sink).fd == 2", |
|
9591 |
(Char const *)"VG_(log_output_sink).fd == 2", |
| 9592 |
(Char const *)"m_main.c", 777, |
|
9592 |
(Char const *)"m_main.c", 777, |
| 9593 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9593 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9594 |
} |
|
9594 |
} |
| 9595 |
tmp___601 = __builtin_expect((long )(! (! ((int )vgPlain_log_output_sink.is_socket == 0))), |
|
9595 |
tmp___601 = __builtin_expect((long )(! (! ((int )vgPlain_log_output_sink.is_socket == 0))), |
| 9596 |
1L); |
|
9596 |
1L); |
| 9597 |
if (tmp___601) { |
|
9597 |
if (tmp___601) { |
| 9598 |
|
|
9598 |
|
| 9599 |
} else { |
|
9599 |
} else { |
| 9600 |
vgPlain_assert_fail((Bool )1, |
|
9600 |
vgPlain_assert_fail((Bool )1, |
| 9601 |
(Char const *)"VG_(log_output_sink).is_socket == False", |
|
9601 |
(Char const *)"VG_(log_output_sink).is_socket == False", |
| 9602 |
(Char const *)"m_main.c", 778, |
|
9602 |
(Char const *)"m_main.c", 778, |
| 9603 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9603 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9604 |
} |
|
9604 |
} |
| 9605 |
tmp___602 = __builtin_expect((long )(! (! ((unsigned int )vgPlain_clo_log_fname_expanded == (unsigned int )((void *)0)))), |
|
9605 |
tmp___602 = __builtin_expect((long )(! (! ((unsigned int )vgPlain_clo_log_fname_expanded == (unsigned int )((void *)0)))), |
| 9606 |
1L); |
|
9606 |
1L); |
| 9607 |
if (tmp___602) { |
|
9607 |
if (tmp___602) { |
| 9608 |
|
|
9608 |
|
| 9609 |
} else { |
|
9609 |
} else { |
| 9610 |
vgPlain_assert_fail((Bool )1, |
|
9610 |
vgPlain_assert_fail((Bool )1, |
| 9611 |
(Char const *)"VG_(clo_log_fname_expanded) == NULL", |
|
9611 |
(Char const *)"VG_(clo_log_fname_expanded) == NULL", |
| 9612 |
(Char const *)"m_main.c", 779, |
|
9612 |
(Char const *)"m_main.c", 779, |
| 9613 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9613 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9614 |
} |
|
9614 |
} |
| 9615 |
tmp___603 = __builtin_expect((long )(! (! (vgPlain_xml_output_sink.fd == -1))), |
|
9615 |
tmp___603 = __builtin_expect((long )(! (! (vgPlain_xml_output_sink.fd == -1))), |
| 9616 |
1L); |
|
9616 |
1L); |
| 9617 |
if (tmp___603) { |
|
9617 |
if (tmp___603) { |
| 9618 |
|
|
9618 |
|
| 9619 |
} else { |
|
9619 |
} else { |
| 9620 |
vgPlain_assert_fail((Bool )1, |
|
9620 |
vgPlain_assert_fail((Bool )1, |
| 9621 |
(Char const *)"VG_(xml_output_sink).fd == -1", |
|
9621 |
(Char const *)"VG_(xml_output_sink).fd == -1", |
| 9622 |
(Char const *)"m_main.c", 781, |
|
9622 |
(Char const *)"m_main.c", 781, |
| 9623 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9623 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9624 |
} |
|
9624 |
} |
| 9625 |
tmp___604 = __builtin_expect((long )(! (! ((int )vgPlain_xml_output_sink.is_socket == 0))), |
|
9625 |
tmp___604 = __builtin_expect((long )(! (! ((int )vgPlain_xml_output_sink.is_socket == 0))), |
| 9626 |
1L); |
|
9626 |
1L); |
| 9627 |
if (tmp___604) { |
|
9627 |
if (tmp___604) { |
| 9628 |
|
|
9628 |
|
| 9629 |
} else { |
|
9629 |
} else { |
| 9630 |
vgPlain_assert_fail((Bool )1, |
|
9630 |
vgPlain_assert_fail((Bool )1, |
| 9631 |
(Char const *)"VG_(xml_output_sink).is_socket == False", |
|
9631 |
(Char const *)"VG_(xml_output_sink).is_socket == False", |
| 9632 |
(Char const *)"m_main.c", 782, |
|
9632 |
(Char const *)"m_main.c", 782, |
| 9633 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9633 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9634 |
} |
|
9634 |
} |
| 9635 |
tmp___605 = __builtin_expect((long )(! (! ((unsigned int )vgPlain_clo_xml_fname_expanded == (unsigned int )((void *)0)))), |
|
9635 |
tmp___605 = __builtin_expect((long )(! (! ((unsigned int )vgPlain_clo_xml_fname_expanded == (unsigned int )((void *)0)))), |
| 9636 |
1L); |
|
9636 |
1L); |
| 9637 |
if (tmp___605) { |
|
9637 |
if (tmp___605) { |
| 9638 |
|
|
9638 |
|
| 9639 |
} else { |
|
9639 |
} else { |
| 9640 |
vgPlain_assert_fail((Bool )1, |
|
9640 |
vgPlain_assert_fail((Bool )1, |
| 9641 |
(Char const *)"VG_(clo_xml_fname_expanded) == NULL", |
|
9641 |
(Char const *)"VG_(clo_xml_fname_expanded) == NULL", |
| 9642 |
(Char const *)"m_main.c", 783, |
|
9642 |
(Char const *)"m_main.c", 783, |
| 9643 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9643 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9644 |
} |
|
9644 |
} |
| 9645 |
switch ((unsigned int )log_to) { |
|
9645 |
switch ((unsigned int )log_to) { |
| 9646 |
case 0U: |
|
9646 |
case 0U: |
| 9647 |
tmp___606 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded == (unsigned int )((void *)0)))), |
|
9647 |
tmp___606 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded == (unsigned int )((void *)0)))), |
| 9648 |
1L); |
|
9648 |
1L); |
| 9649 |
if (tmp___606) { |
|
9649 |
if (tmp___606) { |
| 9650 |
|
|
9650 |
|
| 9651 |
} else { |
|
9651 |
} else { |
| 9652 |
vgPlain_assert_fail((Bool )1, |
|
9652 |
vgPlain_assert_fail((Bool )1, |
| 9653 |
(Char const *)"log_fsname_unexpanded == NULL", |
|
9653 |
(Char const *)"log_fsname_unexpanded == NULL", |
| 9654 |
(Char const *)"m_main.c", 790, |
|
9654 |
(Char const *)"m_main.c", 790, |
| 9655 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9655 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9656 |
} |
|
9656 |
} |
| 9657 |
break; |
|
9657 |
break; |
| 9658 |
case 1U: |
|
9658 |
case 1U: |
| 9659 |
tmp___607 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded != (unsigned int )((void *)0)))), |
|
9659 |
tmp___607 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded != (unsigned int )((void *)0)))), |
| 9660 |
1L); |
|
9660 |
1L); |
| 9661 |
if (tmp___607) { |
|
9661 |
if (tmp___607) { |
| 9662 |
|
|
9662 |
|
| 9663 |
} else { |
|
9663 |
} else { |
| 9664 |
vgPlain_assert_fail((Bool )1, |
|
9664 |
vgPlain_assert_fail((Bool )1, |
| 9665 |
(Char const *)"log_fsname_unexpanded != NULL", |
|
9665 |
(Char const *)"log_fsname_unexpanded != NULL", |
| 9666 |
(Char const *)"m_main.c", 796, |
|
9666 |
(Char const *)"m_main.c", 796, |
| 9667 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9667 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9668 |
} |
|
9668 |
} |
| 9669 |
tmp___608 = vgPlain_strlen((Char const *)log_fsname_unexpanded); |
|
9669 |
tmp___608 = vgPlain_strlen((Char const *)log_fsname_unexpanded); |
| 9670 |
if (tmp___608 <= 900UL) { |
|
9670 |
if (tmp___608 <= 900UL) { |
| 9671 |
tmp___609 = 1; |
|
9671 |
tmp___609 = 1; |
| 9672 |
} else { |
|
9672 |
} else { |
| 9673 |
tmp___609 = 0; |
|
9673 |
tmp___609 = 0; |
| 9674 |
} |
|
9674 |
} |
| 9675 |
tmp___610 = __builtin_expect((long )tmp___609, 1L); |
|
9675 |
tmp___610 = __builtin_expect((long )tmp___609, 1L); |
| 9676 |
if (tmp___610) { |
|
9676 |
if (tmp___610) { |
| 9677 |
|
|
9677 |
|
| 9678 |
} else { |
|
9678 |
} else { |
| 9679 |
vgPlain_assert_fail((Bool )1, |
|
9679 |
vgPlain_assert_fail((Bool )1, |
| 9680 |
(Char const *)"VG_(strlen)(log_fsname_unexpanded) <= 900", |
|
9680 |
(Char const *)"VG_(strlen)(log_fsname_unexpanded) <= 900", |
| 9681 |
(Char const *)"m_main.c", 797, |
|
9681 |
(Char const *)"m_main.c", 797, |
| 9682 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9682 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9683 |
} |
|
9683 |
} |
| 9684 |
logfilename = vgPlain_expand_file_name((Char *)"--log-file", |
|
9684 |
logfilename = vgPlain_expand_file_name((Char *)"--log-file", |
| 9685 |
log_fsname_unexpanded); |
|
9685 |
log_fsname_unexpanded); |
| 9686 |
sres = vgPlain_open((Char const *)logfilename, 577, 384); |
|
9686 |
sres = vgPlain_open((Char const *)logfilename, 577, 384); |
| 9687 |
tmp___614 = sr_isError(sres); |
|
9687 |
tmp___614 = sr_isError(sres); |
| 9688 |
if (tmp___614) { |
|
9688 |
if (tmp___614) { |
| 9689 |
tmp___612 = sr_Err(sres); |
|
9689 |
tmp___612 = sr_Err(sres); |
| 9690 |
tmp___613 = vgPlain_strerror(tmp___612); |
|
9690 |
tmp___613 = vgPlain_strerror(tmp___612); |
| 9691 |
vgPlain_fmsg("can\'t create log file \'%s\': %s\n", logfilename, tmp___613); |
|
9691 |
vgPlain_fmsg("can\'t create log file \'%s\': %s\n", logfilename, tmp___613); |
| 9692 |
vgPlain_exit(1); |
|
9692 |
vgPlain_exit(1); |
| 9693 |
} else { |
|
9693 |
} else { |
| 9694 |
tmp___611 = sr_Res(sres); |
|
9694 |
tmp___611 = sr_Res(sres); |
| 9695 |
tmp_log_fd = (Int )tmp___611; |
|
9695 |
tmp_log_fd = (Int )tmp___611; |
| 9696 |
vgPlain_clo_log_fname_expanded = logfilename; |
|
9696 |
vgPlain_clo_log_fname_expanded = logfilename; |
| 9697 |
} |
|
9697 |
} |
| 9698 |
break; |
|
9698 |
break; |
| 9699 |
case 2U: |
|
9699 |
case 2U: |
| 9700 |
tmp___615 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded != (unsigned int )((void *)0)))), |
|
9700 |
tmp___615 = __builtin_expect((long )(! (! ((unsigned int )log_fsname_unexpanded != (unsigned int )((void *)0)))), |
| 9701 |
1L); |
|
9701 |
1L); |
| 9702 |
if (tmp___615) { |
|
9702 |
if (tmp___615) { |
| 9703 |
|
|
9703 |
|
| 9704 |
} else { |
|
9704 |
} else { |
| 9705 |
vgPlain_assert_fail((Bool )1, |
|
9705 |
vgPlain_assert_fail((Bool )1, |
| 9706 |
(Char const *)"log_fsname_unexpanded != NULL", |
|
9706 |
(Char const *)"log_fsname_unexpanded != NULL", |
| 9707 |
(Char const *)"m_main.c", 819, |
|
9707 |
(Char const *)"m_main.c", 819, |
| 9708 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9708 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9709 |
} |
|
9709 |
} |
| 9710 |
tmp___616 = vgPlain_strlen((Char const *)log_fsname_unexpanded); |
|
9710 |
tmp___616 = vgPlain_strlen((Char const *)log_fsname_unexpanded); |
| 9711 |
if (tmp___616 <= 900UL) { |
|
9711 |
if (tmp___616 <= 900UL) { |
| 9712 |
tmp___617 = 1; |
|
9712 |
tmp___617 = 1; |
| 9713 |
} else { |
|
9713 |
} else { |
| 9714 |
tmp___617 = 0; |
|
9714 |
tmp___617 = 0; |
| 9715 |
} |
|
9715 |
} |
| 9716 |
tmp___618 = __builtin_expect((long )tmp___617, 1L); |
|
9716 |
tmp___618 = __builtin_expect((long )tmp___617, 1L); |
| 9717 |
if (tmp___618) { |
|
9717 |
if (tmp___618) { |
| 9718 |
|
|
9718 |
|
| 9719 |
} else { |
|
9719 |
} else { |
| 9720 |
vgPlain_assert_fail((Bool )1, |
|
9720 |
vgPlain_assert_fail((Bool )1, |
| 9721 |
(Char const *)"VG_(strlen)(log_fsname_unexpanded) <= 900", |
|
9721 |
(Char const *)"VG_(strlen)(log_fsname_unexpanded) <= 900", |
| 9722 |
(Char const *)"m_main.c", 820, |
|
9722 |
(Char const *)"m_main.c", 820, |
| 9723 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9723 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9724 |
} |
|
9724 |
} |
| 9725 |
tmp_log_fd = vgPlain_connect_via_socket((UChar *)log_fsname_unexpanded); |
|
9725 |
tmp_log_fd = vgPlain_connect_via_socket((UChar *)log_fsname_unexpanded); |
| 9726 |
if (tmp_log_fd == -1) { |
|
9726 |
if (tmp_log_fd == -1) { |
| 9727 |
vgPlain_fmsg("Invalid --log-socket spec of \'%s\'\n", log_fsname_unexpanded); |
|
9727 |
vgPlain_fmsg("Invalid --log-socket spec of \'%s\'\n", log_fsname_unexpanded); |
| 9728 |
vgPlain_exit(1); |
|
9728 |
vgPlain_exit(1); |
| 9729 |
} else { |
|
9729 |
} else { |
| 9730 |
|
|
9730 |
|
| 9731 |
} |
|
9731 |
} |
| 9732 |
if (tmp_log_fd == -2) { |
|
9732 |
if (tmp_log_fd == -2) { |
| 9733 |
vgPlain_umsg("failed to connect to logging server \'%s\'.\nLog messages will sent to stderr instead.\n", |
|
9733 |
vgPlain_umsg("failed to connect to logging server \'%s\'.\nLog messages will sent to stderr instead.\n", |
| 9734 |
log_fsname_unexpanded); |
|
9734 |
log_fsname_unexpanded); |
| 9735 |
tmp___619 = __builtin_expect((long )(! (! (vgPlain_log_output_sink.fd == 2))), |
|
9735 |
tmp___619 = __builtin_expect((long )(! (! (vgPlain_log_output_sink.fd == 2))), |
| 9736 |
1L); |
|
9736 |
1L); |
| 9737 |
if (tmp___619) { |
|
9737 |
if (tmp___619) { |
| 9738 |
|
|
9738 |
|
| 9739 |
} else { |
|
9739 |
} else { |
| 9740 |
vgPlain_assert_fail((Bool )1, |
|
9740 |
vgPlain_assert_fail((Bool )1, |
| 9741 |
(Char const *)"VG_(log_output_sink).fd == 2", |
|
9741 |
(Char const *)"VG_(log_output_sink).fd == 2", |
| 9742 |
(Char const *)"m_main.c", 834, |
|
9742 |
(Char const *)"m_main.c", 834, |
| 9743 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9743 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9744 |
} |
|
9744 |
} |
| 9745 |
tmp_log_fd = 2; |
|
9745 |
tmp_log_fd = 2; |
| 9746 |
} else { |
|
9746 |
} else { |
| 9747 |
tmp___620 = __builtin_expect((long )(! (! (tmp_log_fd > 0))), 1L); |
|
9747 |
tmp___620 = __builtin_expect((long )(! (! (tmp_log_fd > 0))), 1L); |
| 9748 |
if (tmp___620) { |
|
9748 |
if (tmp___620) { |
| 9749 |
|
|
9749 |
|
| 9750 |
} else { |
|
9750 |
} else { |
| 9751 |
vgPlain_assert_fail((Bool )1, (Char const *)"tmp_log_fd > 0", |
|
9751 |
vgPlain_assert_fail((Bool )1, (Char const *)"tmp_log_fd > 0", |
| 9752 |
(Char const *)"m_main.c", 837, |
|
9752 |
(Char const *)"m_main.c", 837, |
| 9753 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9753 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9754 |
} |
|
9754 |
} |
| 9755 |
vgPlain_log_output_sink.is_socket = (Bool )1; |
|
9755 |
vgPlain_log_output_sink.is_socket = (Bool )1; |
| 9756 |
} |
|
9756 |
} |
| 9757 |
break; |
|
9757 |
break; |
| 9758 |
} |
|
9758 |
} |
| 9759 |
switch ((unsigned int )xml_to) { |
|
9759 |
switch ((unsigned int )xml_to) { |
| 9760 |
case 0U: |
|
9760 |
case 0U: |
| 9761 |
tmp___621 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded == (unsigned int )((void *)0)))), |
|
9761 |
tmp___621 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded == (unsigned int )((void *)0)))), |
| 9762 |
1L); |
|
9762 |
1L); |
| 9763 |
if (tmp___621) { |
|
9763 |
if (tmp___621) { |
| 9764 |
|
|
9764 |
|
| 9765 |
} else { |
|
9765 |
} else { |
| 9766 |
vgPlain_assert_fail((Bool )1, |
|
9766 |
vgPlain_assert_fail((Bool )1, |
| 9767 |
(Char const *)"xml_fsname_unexpanded == NULL", |
|
9767 |
(Char const *)"xml_fsname_unexpanded == NULL", |
| 9768 |
(Char const *)"m_main.c", 849, |
|
9768 |
(Char const *)"m_main.c", 849, |
| 9769 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9769 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9770 |
} |
|
9770 |
} |
| 9771 |
break; |
|
9771 |
break; |
| 9772 |
case 1U: |
|
9772 |
case 1U: |
| 9773 |
tmp___622 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded != (unsigned int )((void *)0)))), |
|
9773 |
tmp___622 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded != (unsigned int )((void *)0)))), |
| 9774 |
1L); |
|
9774 |
1L); |
| 9775 |
if (tmp___622) { |
|
9775 |
if (tmp___622) { |
| 9776 |
|
|
9776 |
|
| 9777 |
} else { |
|
9777 |
} else { |
| 9778 |
vgPlain_assert_fail((Bool )1, |
|
9778 |
vgPlain_assert_fail((Bool )1, |
| 9779 |
(Char const *)"xml_fsname_unexpanded != NULL", |
|
9779 |
(Char const *)"xml_fsname_unexpanded != NULL", |
| 9780 |
(Char const *)"m_main.c", 855, |
|
9780 |
(Char const *)"m_main.c", 855, |
| 9781 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9781 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9782 |
} |
|
9782 |
} |
| 9783 |
tmp___623 = vgPlain_strlen((Char const *)xml_fsname_unexpanded); |
|
9783 |
tmp___623 = vgPlain_strlen((Char const *)xml_fsname_unexpanded); |
| 9784 |
if (tmp___623 <= 900UL) { |
|
9784 |
if (tmp___623 <= 900UL) { |
| 9785 |
tmp___624 = 1; |
|
9785 |
tmp___624 = 1; |
| 9786 |
} else { |
|
9786 |
} else { |
| 9787 |
tmp___624 = 0; |
|
9787 |
tmp___624 = 0; |
| 9788 |
} |
|
9788 |
} |
| 9789 |
tmp___625 = __builtin_expect((long )tmp___624, 1L); |
|
9789 |
tmp___625 = __builtin_expect((long )tmp___624, 1L); |
| 9790 |
if (tmp___625) { |
|
9790 |
if (tmp___625) { |
| 9791 |
|
|
9791 |
|
| 9792 |
} else { |
|
9792 |
} else { |
| 9793 |
vgPlain_assert_fail((Bool )1, |
|
9793 |
vgPlain_assert_fail((Bool )1, |
| 9794 |
(Char const *)"VG_(strlen)(xml_fsname_unexpanded) <= 900", |
|
9794 |
(Char const *)"VG_(strlen)(xml_fsname_unexpanded) <= 900", |
| 9795 |
(Char const *)"m_main.c", 856, |
|
9795 |
(Char const *)"m_main.c", 856, |
| 9796 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9796 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9797 |
} |
|
9797 |
} |
| 9798 |
xmlfilename = vgPlain_expand_file_name((Char *)"--xml-file", |
|
9798 |
xmlfilename = vgPlain_expand_file_name((Char *)"--xml-file", |
| 9799 |
xml_fsname_unexpanded); |
|
9799 |
xml_fsname_unexpanded); |
| 9800 |
sres = vgPlain_open((Char const *)xmlfilename, 577, 384); |
|
9800 |
sres = vgPlain_open((Char const *)xmlfilename, 577, 384); |
| 9801 |
tmp___629 = sr_isError(sres); |
|
9801 |
tmp___629 = sr_isError(sres); |
| 9802 |
if (tmp___629) { |
|
9802 |
if (tmp___629) { |
| 9803 |
tmp___627 = sr_Err(sres); |
|
9803 |
tmp___627 = sr_Err(sres); |
| 9804 |
tmp___628 = vgPlain_strerror(tmp___627); |
|
9804 |
tmp___628 = vgPlain_strerror(tmp___627); |
| 9805 |
vgPlain_fmsg("can\'t create XML file \'%s\': %s\n", xmlfilename, tmp___628); |
|
9805 |
vgPlain_fmsg("can\'t create XML file \'%s\': %s\n", xmlfilename, tmp___628); |
| 9806 |
vgPlain_exit(1); |
|
9806 |
vgPlain_exit(1); |
| 9807 |
} else { |
|
9807 |
} else { |
| 9808 |
tmp___626 = sr_Res(sres); |
|
9808 |
tmp___626 = sr_Res(sres); |
| 9809 |
tmp_xml_fd = (Int )tmp___626; |
|
9809 |
tmp_xml_fd = (Int )tmp___626; |
| 9810 |
vgPlain_clo_xml_fname_expanded = xmlfilename; |
|
9810 |
vgPlain_clo_xml_fname_expanded = xmlfilename; |
| 9811 |
*xml_fname_unexpanded = vgPlain_strdup((HChar *)"main.mpclo.2", |
|
9811 |
*xml_fname_unexpanded = vgPlain_strdup((HChar *)"main.mpclo.2", |
| 9812 |
(Char const *)xml_fsname_unexpanded); |
|
9812 |
(Char const *)xml_fsname_unexpanded); |
| 9813 |
} |
|
9813 |
} |
| 9814 |
break; |
|
9814 |
break; |
| 9815 |
case 2U: |
|
9815 |
case 2U: |
| 9816 |
tmp___630 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded != (unsigned int )((void *)0)))), |
|
9816 |
tmp___630 = __builtin_expect((long )(! (! ((unsigned int )xml_fsname_unexpanded != (unsigned int )((void *)0)))), |
| 9817 |
1L); |
|
9817 |
1L); |
| 9818 |
if (tmp___630) { |
|
9818 |
if (tmp___630) { |
| 9819 |
|
|
9819 |
|
| 9820 |
} else { |
|
9820 |
} else { |
| 9821 |
vgPlain_assert_fail((Bool )1, |
|
9821 |
vgPlain_assert_fail((Bool )1, |
| 9822 |
(Char const *)"xml_fsname_unexpanded != NULL", |
|
9822 |
(Char const *)"xml_fsname_unexpanded != NULL", |
| 9823 |
(Char const *)"m_main.c", 881, |
|
9823 |
(Char const *)"m_main.c", 881, |
| 9824 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9824 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9825 |
} |
|
9825 |
} |
| 9826 |
tmp___631 = vgPlain_strlen((Char const *)xml_fsname_unexpanded); |
|
9826 |
tmp___631 = vgPlain_strlen((Char const *)xml_fsname_unexpanded); |
| 9827 |
if (tmp___631 <= 900UL) { |
|
9827 |
if (tmp___631 <= 900UL) { |
| 9828 |
tmp___632 = 1; |
|
9828 |
tmp___632 = 1; |
| 9829 |
} else { |
|
9829 |
} else { |
| 9830 |
tmp___632 = 0; |
|
9830 |
tmp___632 = 0; |
| 9831 |
} |
|
9831 |
} |
| 9832 |
tmp___633 = __builtin_expect((long )tmp___632, 1L); |
|
9832 |
tmp___633 = __builtin_expect((long )tmp___632, 1L); |
| 9833 |
if (tmp___633) { |
|
9833 |
if (tmp___633) { |
| 9834 |
|
|
9834 |
|
| 9835 |
} else { |
|
9835 |
} else { |
| 9836 |
vgPlain_assert_fail((Bool )1, |
|
9836 |
vgPlain_assert_fail((Bool )1, |
| 9837 |
(Char const *)"VG_(strlen)(xml_fsname_unexpanded) <= 900", |
|
9837 |
(Char const *)"VG_(strlen)(xml_fsname_unexpanded) <= 900", |
| 9838 |
(Char const *)"m_main.c", 882, |
|
9838 |
(Char const *)"m_main.c", 882, |
| 9839 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9839 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9840 |
} |
|
9840 |
} |
| 9841 |
tmp_xml_fd = vgPlain_connect_via_socket((UChar *)xml_fsname_unexpanded); |
|
9841 |
tmp_xml_fd = vgPlain_connect_via_socket((UChar *)xml_fsname_unexpanded); |
| 9842 |
if (tmp_xml_fd == -1) { |
|
9842 |
if (tmp_xml_fd == -1) { |
| 9843 |
vgPlain_fmsg("Invalid --xml-socket spec of \'%s\'\n", xml_fsname_unexpanded); |
|
9843 |
vgPlain_fmsg("Invalid --xml-socket spec of \'%s\'\n", xml_fsname_unexpanded); |
| 9844 |
vgPlain_exit(1); |
|
9844 |
vgPlain_exit(1); |
| 9845 |
} else { |
|
9845 |
} else { |
| 9846 |
|
|
9846 |
|
| 9847 |
} |
|
9847 |
} |
| 9848 |
if (tmp_xml_fd == -2) { |
|
9848 |
if (tmp_xml_fd == -2) { |
| 9849 |
vgPlain_umsg("failed to connect to XML logging server \'%s\'.\nXML output will sent to stderr instead.\n", |
|
9849 |
vgPlain_umsg("failed to connect to XML logging server \'%s\'.\nXML output will sent to stderr instead.\n", |
| 9850 |
xml_fsname_unexpanded); |
|
9850 |
xml_fsname_unexpanded); |
| 9851 |
tmp___634 = __builtin_expect((long )(! (! (vgPlain_xml_output_sink.fd == 2))), |
|
9851 |
tmp___634 = __builtin_expect((long )(! (! (vgPlain_xml_output_sink.fd == 2))), |
| 9852 |
1L); |
|
9852 |
1L); |
| 9853 |
if (tmp___634) { |
|
9853 |
if (tmp___634) { |
| 9854 |
|
|
9854 |
|
| 9855 |
} else { |
|
9855 |
} else { |
| 9856 |
vgPlain_assert_fail((Bool )1, |
|
9856 |
vgPlain_assert_fail((Bool )1, |
| 9857 |
(Char const *)"VG_(xml_output_sink).fd == 2", |
|
9857 |
(Char const *)"VG_(xml_output_sink).fd == 2", |
| 9858 |
(Char const *)"m_main.c", 895, |
|
9858 |
(Char const *)"m_main.c", 895, |
| 9859 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9859 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9860 |
} |
|
9860 |
} |
| 9861 |
tmp_xml_fd = 2; |
|
9861 |
tmp_xml_fd = 2; |
| 9862 |
} else { |
|
9862 |
} else { |
| 9863 |
tmp___635 = __builtin_expect((long )(! (! (tmp_xml_fd > 0))), 1L); |
|
9863 |
tmp___635 = __builtin_expect((long )(! (! (tmp_xml_fd > 0))), 1L); |
| 9864 |
if (tmp___635) { |
|
9864 |
if (tmp___635) { |
| 9865 |
|
|
9865 |
|
| 9866 |
} else { |
|
9866 |
} else { |
| 9867 |
vgPlain_assert_fail((Bool )1, (Char const *)"tmp_xml_fd > 0", |
|
9867 |
vgPlain_assert_fail((Bool )1, (Char const *)"tmp_xml_fd > 0", |
| 9868 |
(Char const *)"m_main.c", 898, |
|
9868 |
(Char const *)"m_main.c", 898, |
| 9869 |
(Char const *)"main_process_cmd_line_options", ""); |
|
9869 |
(Char const *)"main_process_cmd_line_options", ""); |
| 9870 |
} |
|
9870 |
} |
| 9871 |
vgPlain_xml_output_sink.is_socket = (Bool )1; |
|
9871 |
vgPlain_xml_output_sink.is_socket = (Bool )1; |
| 9872 |
} |
|
9872 |
} |
| 9873 |
break; |
|
9873 |
break; |
| 9874 |
} |
|
9874 |
} |
| 9875 |
if (vgPlain_clo_xml) { |
|
9875 |
if (vgPlain_clo_xml) { |
| 9876 |
if (tmp_xml_fd == -1) { |
|
9876 |
if (tmp_xml_fd == -1) { |
| 9877 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes, but no XML destination specified", |
|
9877 |
vgPlain_fmsg_bad_option((HChar *)"--xml=yes, but no XML destination specified", |
| 9878 |
"--xml=yes has been specified, but there is no XML output\ndestination. You must specify an XML output destination\nusing --xml-fd, --xml-file or --xml-socket.\n"); |
|
9878 |
"--xml=yes has been specified, but there is no XML output\ndestination. You must specify an XML output destination\nusing --xml-fd, --xml-file or --xml-socket.\n"); |
| 9879 |
} else { |
|
9879 |
} else { |
| 9880 |
|
|
9880 |
|
| 9881 |
} |
|
9881 |
} |
| 9882 |
} else { |
|
9882 |
} else { |
| 9883 |
|
|
9883 |
|
| 9884 |
} |
|
9884 |
} |
| 9885 |
if (tmp_log_fd >= 0) { |
|
9885 |
if (tmp_log_fd >= 0) { |
| 9886 |
tmp_log_fd = vgPlain_fcntl(tmp_log_fd, 0, (Addr )vgPlain_fd_hard_limit); |
|
9886 |
tmp_log_fd = vgPlain_fcntl(tmp_log_fd, 0, (Addr )vgPlain_fd_hard_limit); |
| 9887 |
if (tmp_log_fd < 0) { |
|
9887 |
if (tmp_log_fd < 0) { |
| 9888 |
vgPlain_message((VgMsgKind )1, |
|
9888 |
vgPlain_message((VgMsgKind )1, |
| 9889 |
"valgrind: failed to move logfile fd into safe range, using stderr\n"); |
|
9889 |
"valgrind: failed to move logfile fd into safe range, using stderr\n"); |
| 9890 |
vgPlain_log_output_sink.fd = 2; |
|
9890 |
vgPlain_log_output_sink.fd = 2; |
| 9891 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
|
9891 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
| 9892 |
} else { |
|
9892 |
} else { |
| 9893 |
vgPlain_log_output_sink.fd = tmp_log_fd; |
|
9893 |
vgPlain_log_output_sink.fd = tmp_log_fd; |
| 9894 |
vgPlain_fcntl(vgPlain_log_output_sink.fd, 2, (Addr )1); |
|
9894 |
vgPlain_fcntl(vgPlain_log_output_sink.fd, 2, (Addr )1); |
| 9895 |
} |
|
9895 |
} |
| 9896 |
} else { |
|
9896 |
} else { |
| 9897 |
vgPlain_log_output_sink.fd = -1; |
|
9897 |
vgPlain_log_output_sink.fd = -1; |
| 9898 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
|
9898 |
vgPlain_log_output_sink.is_socket = (Bool )0; |
| 9899 |
} |
|
9899 |
} |
| 9900 |
if (tmp_xml_fd >= 0) { |
|
9900 |
if (tmp_xml_fd >= 0) { |
| 9901 |
tmp_xml_fd = vgPlain_fcntl(tmp_xml_fd, 0, (Addr )vgPlain_fd_hard_limit); |
|
9901 |
tmp_xml_fd = vgPlain_fcntl(tmp_xml_fd, 0, (Addr )vgPlain_fd_hard_limit); |
| 9902 |
if (tmp_xml_fd < 0) { |
|
9902 |
if (tmp_xml_fd < 0) { |
| 9903 |
vgPlain_message((VgMsgKind )1, |
|
9903 |
vgPlain_message((VgMsgKind )1, |
| 9904 |
"valgrind: failed to move XML file fd into safe range, using stderr\n"); |
|
9904 |
"valgrind: failed to move XML file fd into safe range, using stderr\n"); |
| 9905 |
vgPlain_xml_output_sink.fd = 2; |
|
9905 |
vgPlain_xml_output_sink.fd = 2; |
| 9906 |
vgPlain_xml_output_sink.is_socket = (Bool )0; |
|
9906 |
vgPlain_xml_output_sink.is_socket = (Bool )0; |
| 9907 |
} else { |
|
9907 |
} else { |
| 9908 |
vgPlain_xml_output_sink.fd = tmp_xml_fd; |
|
9908 |
vgPlain_xml_output_sink.fd = tmp_xml_fd; |
| 9909 |
vgPlain_fcntl(vgPlain_xml_output_sink.fd, 2, (Addr )1); |
|
9909 |
vgPlain_fcntl(vgPlain_xml_output_sink.fd, 2, (Addr )1); |
| 9910 |
} |
|
9910 |
} |
| 9911 |
} else { |
|
9911 |
} else { |
| 9912 |
vgPlain_xml_output_sink.fd = -1; |
|
9912 |
vgPlain_xml_output_sink.fd = -1; |
| 9913 |
vgPlain_xml_output_sink.is_socket = (Bool )0; |
|
9913 |
vgPlain_xml_output_sink.is_socket = (Bool )0; |
| 9914 |
} |
|
9914 |
} |
| 9915 |
if (vgPlain_clo_n_suppressions < 99) { |
|
9915 |
if (vgPlain_clo_n_suppressions < 99) { |
| 9916 |
if (vgPlain_needs.core_errors) { |
|
9916 |
if (vgPlain_needs.core_errors) { |
| 9917 |
goto _L___69; |
|
9917 |
goto _L___69; |
| 9918 |
} else |
|
9918 |
} else |
| 9919 |
if (vgPlain_needs.tool_errors) { |
|
9919 |
if (vgPlain_needs.tool_errors) { |
| 9920 |
_L___69: |
|
9920 |
_L___69: |
| 9921 |
tmp___636 = vgPlain_strlen(vgPlain_libdir); |
|
9921 |
tmp___636 = vgPlain_strlen(vgPlain_libdir); |
| 9922 |
len = (Int )((tmp___636 + 1UL) + (SizeT )sizeof(default_supp)); |
|
9922 |
len = (Int )((tmp___636 + 1UL) + (SizeT )sizeof(default_supp)); |
| 9923 |
tmp___637 = vgPlain_arena_malloc(0, (HChar *)"main.mpclo.3", (SizeT )len); |
|
9923 |
tmp___637 = vgPlain_arena_malloc(0, (HChar *)"main.mpclo.3", (SizeT )len); |
| 9924 |
buf = (Char *)tmp___637; |
|
9924 |
buf = (Char *)tmp___637; |
| 9925 |
vgPlain_sprintf(buf, "%s/%s", vgPlain_libdir, default_supp); |
|
9925 |
vgPlain_sprintf(buf, "%s/%s", vgPlain_libdir, default_supp); |
| 9926 |
vgPlain_clo_suppressions[vgPlain_clo_n_suppressions] = buf; |
|
9926 |
vgPlain_clo_suppressions[vgPlain_clo_n_suppressions] = buf; |
| 9927 |
vgPlain_clo_n_suppressions ++; |
|
9927 |
vgPlain_clo_n_suppressions ++; |
| 9928 |
} else { |
|
9928 |
} else { |
| 9929 |
|
|
9929 |
|
| 9930 |
} |
|
9930 |
} |
| 9931 |
} else { |
|
9931 |
} else { |
| 9932 |
|
|
9932 |
|
| 9933 |
} |
|
9933 |
} |
| 9934 |
if ((unsigned int )log_to == 0U) { |
|
9934 |
if ((unsigned int )log_to == 0U) { |
| 9935 |
tmp___638 = 1; |
|
9935 |
tmp___638 = 1; |
| 9936 |
} else |
|
9936 |
} else |
| 9937 |
if ((unsigned int )log_to == 2U) { |
|
9937 |
if ((unsigned int )log_to == 2U) { |
| 9938 |
tmp___638 = 1; |
|
9938 |
tmp___638 = 1; |
| 9939 |
} else { |
|
9939 |
} else { |
| 9940 |
tmp___638 = 0; |
|
9940 |
tmp___638 = 0; |
| 9941 |
} |
|
9941 |
} |
| 9942 |
*logging_to_fd = (Bool )tmp___638; |
|
9942 |
*logging_to_fd = (Bool )tmp___638; |
| 9943 |
return; |
|
9943 |
return; |
| 9944 |
} |
|
9944 |
} |
| 9945 |
} |
|
9945 |
} |
| 9946 |
static void print_file_vars(Char *format ) |
|
9946 |
static void print_file_vars(Char *format ) |
| 9947 |
{ |
|
9947 |
{ |
| 9948 |
Int i ; |
|
9948 |
Int i ; |
| 9949 |
Char *qualname ; |
|
9949 |
Char *qualname ; |
| 9950 |
Char *qual ; |
|
9950 |
Char *qual ; |
| 9951 |
|
|
9951 |
|
| 9952 |
{ |
|
9952 |
{ |
| 9953 |
i = 0; |
|
9953 |
i = 0; |
| 9954 |
while (*(format + i)) { |
|
9954 |
while (*(format + i)) { |
| 9955 |
if ((int )*(format + i) == 37) { |
|
9955 |
if ((int )*(format + i) == 37) { |
| 9956 |
i ++; |
|
9956 |
i ++; |
| 9957 |
if (113 == (int )*(format + i)) { |
|
9957 |
if (113 == (int )*(format + i)) { |
| 9958 |
i ++; |
|
9958 |
i ++; |
| 9959 |
if (123 == (int )*(format + i)) { |
|
9959 |
if (123 == (int )*(format + i)) { |
| 9960 |
i ++; |
|
9960 |
i ++; |
| 9961 |
qualname = format + i; |
|
9961 |
qualname = format + i; |
| 9962 |
while (1) { |
|
9962 |
while (1) { |
| 9963 |
if (125 == (int )*(format + i)) { |
|
9963 |
if (125 == (int )*(format + i)) { |
| 9964 |
*(format + i) = (Char )0; |
|
9964 |
*(format + i) = (Char )0; |
| 9965 |
qual = vgPlain_getenv(qualname); |
|
9965 |
qual = vgPlain_getenv(qualname); |
| 9966 |
break; |
|
9966 |
break; |
| 9967 |
} else { |
|
9967 |
} else { |
| 9968 |
|
|
9968 |
|
| 9969 |
} |
|
9969 |
} |
| 9970 |
i ++; |
|
9970 |
i ++; |
| 9971 |
} |
|
9971 |
} |
| 9972 |
vgPlain_printf_xml_no_f_c("<logfilequalifier> <var>%t</var> <value>%t</value> </logfilequalifier>\n", |
|
9972 |
vgPlain_printf_xml_no_f_c("<logfilequalifier> <var>%t</var> <value>%t</value> </logfilequalifier>\n", |
| 9973 |
qualname, qual); |
|
9973 |
qualname, qual); |
| 9974 |
*(format + i) = (Char )'}'; |
|
9974 |
*(format + i) = (Char )'}'; |
| 9975 |
i ++; |
|
9975 |
i ++; |
| 9976 |
} else { |
|
9976 |
} else { |
| 9977 |
|
|
9977 |
|
| 9978 |
} |
|
9978 |
} |
| 9979 |
} else { |
|
9979 |
} else { |
| 9980 |
|
|
9980 |
|
| 9981 |
} |
|
9981 |
} |
| 9982 |
} else { |
|
9982 |
} else { |
| 9983 |
i ++; |
|
9983 |
i ++; |
| 9984 |
} |
|
9984 |
} |
| 9985 |
} |
|
9985 |
} |
| 9986 |
return; |
|
9986 |
return; |
| 9987 |
} |
|
9987 |
} |
| 9988 |
} |
|
9988 |
} |
| 9989 |
static void umsg_or_xml_arg(Char const *arg , |
|
9989 |
static void umsg_or_xml_arg(Char const *arg , |
| 9990 |
UInt (*umsg_or_xml)(HChar const * , ...) ) |
|
9990 |
UInt (*umsg_or_xml)(HChar const * , ...) ) |
| 9991 |
{ |
|
9991 |
{ |
| 9992 |
SizeT len ; |
|
9992 |
SizeT len ; |
| 9993 |
SizeT tmp ; |
|
9993 |
SizeT tmp ; |
| 9994 |
Char *special ; |
|
9994 |
Char *special ; |
| 9995 |
Int i ; |
|
9995 |
Int i ; |
| 9996 |
Char *tmp___0 ; |
|
9996 |
Char *tmp___0 ; |
| 9997 |
|
|
9997 |
|
| 9998 |
{ |
|
9998 |
{ |
| 9999 |
tmp = vgPlain_strlen(arg); |
|
9999 |
tmp = vgPlain_strlen(arg); |
| 10000 |
len = tmp; |
|
10000 |
len = tmp; |
| 10001 |
special = (Char *)" \\<>"; |
|
10001 |
special = (Char *)" \\<>"; |
| 10002 |
i = 0; |
|
10002 |
i = 0; |
| 10003 |
while ((SizeT )i < len) { |
|
10003 |
while ((SizeT )i < len) { |
| 10004 |
tmp___0 = vgPlain_strchr((Char const *)special, (Char )*(arg + i)); |
|
10004 |
tmp___0 = vgPlain_strchr((Char const *)special, (Char )*(arg + i)); |
| 10005 |
if (tmp___0) { |
|
10005 |
if (tmp___0) { |
| 10006 |
(*umsg_or_xml)("\\"); |
|
10006 |
(*umsg_or_xml)("\\"); |
| 10007 |
} else { |
|
10007 |
} else { |
| 10008 |
|
|
10008 |
|
| 10009 |
} |
|
10009 |
} |
| 10010 |
(*umsg_or_xml)("%c", (int const )*(arg + i)); |
|
10010 |
(*umsg_or_xml)("%c", (int const )*(arg + i)); |
| 10011 |
i ++; |
|
10011 |
i ++; |
| 10012 |
} |
|
10012 |
} |
| 10013 |
return; |
|
10013 |
return; |
| 10014 |
} |
|
10014 |
} |
| 10015 |
} |
|
10015 |
} |
| 10016 |
static void print_preamble(Bool logging_to_fd , Char *xml_fname_unexpanded , |
|
10016 |
static void print_preamble(Bool logging_to_fd , Char *xml_fname_unexpanded , |
| 10017 |
HChar const *toolname ) |
|
10017 |
HChar const *toolname ) |
| 10018 |
{ |
|
10018 |
{ |
| 10019 |
Int i ; |
|
10019 |
Int i ; |
| 10020 |
HChar *xpre ; |
|
10020 |
HChar *xpre ; |
| 10021 |
char const *tmp ; |
|
10021 |
char const *tmp ; |
| 10022 |
HChar *xpost ; |
|
10022 |
HChar *xpost ; |
| 10023 |
char const *tmp___0 ; |
|
10023 |
char const *tmp___0 ; |
| 10024 |
UInt (*umsg_or_xml)(HChar const * , ...) ; |
|
10024 |
UInt (*umsg_or_xml)(HChar const * , ...) ; |
| 10025 |
UInt ( (*tmp___1))(HChar const *format , ...) ; |
|
10025 |
UInt ( (*tmp___1))(HChar const *format , ...) ; |
| 10026 |
long tmp___2 ; |
|
10026 |
long tmp___2 ; |
| 10027 |
long tmp___3 ; |
|
10027 |
long tmp___3 ; |
| 10028 |
long tmp___4 ; |
|
10028 |
long tmp___4 ; |
| 10029 |
Char *tmp___5 ; |
|
10029 |
Char *tmp___5 ; |
| 10030 |
char const *tmp___6 ; |
|
10030 |
char const *tmp___6 ; |
| 10031 |
char const *tmp___7 ; |
|
10031 |
char const *tmp___7 ; |
| 10032 |
SizeT tmp___8 ; |
|
10032 |
SizeT tmp___8 ; |
| 10033 |
Int tmp___9 ; |
|
10033 |
Int tmp___9 ; |
| 10034 |
int tmp___10 ; |
|
10034 |
int tmp___10 ; |
| 10035 |
Int tmp___11 ; |
|
10035 |
Int tmp___11 ; |
| 10036 |
char const *tmp___12 ; |
|
10036 |
char const *tmp___12 ; |
| 10037 |
HChar *s ; |
|
10037 |
HChar *s ; |
| 10038 |
void *tmp___13 ; |
|
10038 |
void *tmp___13 ; |
| 10039 |
Word tmp___14 ; |
|
10039 |
Word tmp___14 ; |
| 10040 |
Int tmp___15 ; |
|
10040 |
Int tmp___15 ; |
| 10041 |
Int tmp___16 ; |
|
10041 |
Int tmp___16 ; |
| 10042 |
Int tmp___17 ; |
|
10042 |
Int tmp___17 ; |
| 10043 |
void *tmp___18 ; |
|
10043 |
void *tmp___18 ; |
| 10044 |
Word tmp___19 ; |
|
10044 |
Word tmp___19 ; |
| 10045 |
void *tmp___20 ; |
|
10045 |
void *tmp___20 ; |
| 10046 |
Word tmp___21 ; |
|
10046 |
Word tmp___21 ; |
| 10047 |
SysRes fd ; |
|
10047 |
SysRes fd ; |
| 10048 |
VexArch vex_arch ; |
|
10048 |
VexArch vex_arch ; |
| 10049 |
VexArchInfo vex_archinfo ; |
|
10049 |
VexArchInfo vex_archinfo ; |
| 10050 |
void *tmp___22 ; |
|
10050 |
void *tmp___22 ; |
| 10051 |
Word tmp___23 ; |
|
10051 |
Word tmp___23 ; |
| 10052 |
Char version_buf[256] ; |
|
10052 |
Char version_buf[256] ; |
| 10053 |
Int n ; |
|
10053 |
Int n ; |
| 10054 |
UWord tmp___24 ; |
|
10054 |
UWord tmp___24 ; |
| 10055 |
Int tmp___25 ; |
|
10055 |
Int tmp___25 ; |
| 10056 |
long tmp___26 ; |
|
10056 |
long tmp___26 ; |
| 10057 |
UWord tmp___27 ; |
|
10057 |
UWord tmp___27 ; |
| 10058 |
Bool tmp___28 ; |
|
10058 |
Bool tmp___28 ; |
| 10059 |
HChar const *tmp___29 ; |
|
10059 |
HChar const *tmp___29 ; |
| 10060 |
HChar const *tmp___30 ; |
|
10060 |
HChar const *tmp___30 ; |
| 10061 |
|
|
10061 |
|
| 10062 |
{ |
|
10062 |
{ |
| 10063 |
if (vgPlain_clo_xml) { |
|
10063 |
if (vgPlain_clo_xml) { |
| 10064 |
tmp = " <line>"; |
|
10064 |
tmp = " <line>"; |
| 10065 |
} else { |
|
10065 |
} else { |
| 10066 |
tmp = ""; |
|
10066 |
tmp = ""; |
| 10067 |
} |
|
10067 |
} |
| 10068 |
xpre = (HChar *)tmp; |
|
10068 |
xpre = (HChar *)tmp; |
| 10069 |
if (vgPlain_clo_xml) { |
|
10069 |
if (vgPlain_clo_xml) { |
| 10070 |
tmp___0 = "</line>"; |
|
10070 |
tmp___0 = "</line>"; |
| 10071 |
} else { |
|
10071 |
} else { |
| 10072 |
tmp___0 = ""; |
|
10072 |
tmp___0 = ""; |
| 10073 |
} |
|
10073 |
} |
| 10074 |
xpost = (HChar *)tmp___0; |
|
10074 |
xpost = (HChar *)tmp___0; |
| 10075 |
if (vgPlain_clo_xml) { |
|
10075 |
if (vgPlain_clo_xml) { |
| 10076 |
tmp___1 = & vgPlain_printf_xml; |
|
10076 |
tmp___1 = & vgPlain_printf_xml; |
| 10077 |
} else { |
|
10077 |
} else { |
| 10078 |
tmp___1 = & vgPlain_umsg; |
|
10078 |
tmp___1 = & vgPlain_umsg; |
| 10079 |
} |
|
10079 |
} |
| 10080 |
umsg_or_xml = (UInt (*)(HChar const * , ...))tmp___1; |
|
10080 |
umsg_or_xml = (UInt (*)(HChar const * , ...))tmp___1; |
| 10081 |
tmp___2 = __builtin_expect((long )(! (! vgPlain_args_for_client)), 1L); |
|
10081 |
tmp___2 = __builtin_expect((long )(! (! vgPlain_args_for_client)), 1L); |
| 10082 |
if (tmp___2) { |
|
10082 |
if (tmp___2) { |
| 10083 |
|
|
10083 |
|
| 10084 |
} else { |
|
10084 |
} else { |
| 10085 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_client)", |
|
10085 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_client)", |
| 10086 |
(Char const *)"m_main.c", 1057, |
|
10086 |
(Char const *)"m_main.c", 1057, |
| 10087 |
(Char const *)"print_preamble", ""); |
|
10087 |
(Char const *)"print_preamble", ""); |
| 10088 |
} |
|
10088 |
} |
| 10089 |
tmp___3 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
|
10089 |
tmp___3 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
| 10090 |
if (tmp___3) { |
|
10090 |
if (tmp___3) { |
| 10091 |
|
|
10091 |
|
| 10092 |
} else { |
|
10092 |
} else { |
| 10093 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
|
10093 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
| 10094 |
(Char const *)"m_main.c", 1058, |
|
10094 |
(Char const *)"m_main.c", 1058, |
| 10095 |
(Char const *)"print_preamble", ""); |
|
10095 |
(Char const *)"print_preamble", ""); |
| 10096 |
} |
|
10096 |
} |
| 10097 |
tmp___4 = __builtin_expect((long )(! (! toolname)), 1L); |
|
10097 |
tmp___4 = __builtin_expect((long )(! (! toolname)), 1L); |
| 10098 |
if (tmp___4) { |
|
10098 |
if (tmp___4) { |
| 10099 |
|
|
10099 |
|
| 10100 |
} else { |
|
10100 |
} else { |
| 10101 |
vgPlain_assert_fail((Bool )1, (Char const *)"toolname", |
|
10101 |
vgPlain_assert_fail((Bool )1, (Char const *)"toolname", |
| 10102 |
(Char const *)"m_main.c", 1059, |
|
10102 |
(Char const *)"m_main.c", 1059, |
| 10103 |
(Char const *)"print_preamble", ""); |
|
10103 |
(Char const *)"print_preamble", ""); |
| 10104 |
} |
|
10104 |
} |
| 10105 |
if (vgPlain_clo_xml) { |
|
10105 |
if (vgPlain_clo_xml) { |
| 10106 |
vgPlain_printf_xml("<?xml version=\"1.0\"?>\n"); |
|
10106 |
vgPlain_printf_xml("<?xml version=\"1.0\"?>\n"); |
| 10107 |
vgPlain_printf_xml("\n"); |
|
10107 |
vgPlain_printf_xml("\n"); |
| 10108 |
vgPlain_printf_xml("<valgrindoutput>\n"); |
|
10108 |
vgPlain_printf_xml("<valgrindoutput>\n"); |
| 10109 |
vgPlain_printf_xml("\n"); |
|
10109 |
vgPlain_printf_xml("\n"); |
| 10110 |
vgPlain_printf_xml("<protocolversion>4</protocolversion>\n"); |
|
10110 |
vgPlain_printf_xml("<protocolversion>4</protocolversion>\n"); |
| 10111 |
vgPlain_printf_xml("<protocoltool>%s</protocoltool>\n", toolname); |
|
10111 |
vgPlain_printf_xml("<protocoltool>%s</protocoltool>\n", toolname); |
| 10112 |
vgPlain_printf_xml("\n"); |
|
10112 |
vgPlain_printf_xml("\n"); |
| 10113 |
} else { |
|
10113 |
} else { |
| 10114 |
|
|
10114 |
|
| 10115 |
} |
|
10115 |
} |
| 10116 |
if (vgPlain_clo_xml) { |
|
10116 |
if (vgPlain_clo_xml) { |
| 10117 |
goto _L; |
|
10117 |
goto _L; |
| 10118 |
} else |
|
10118 |
} else |
| 10119 |
if (vgPlain_clo_verbosity > 0) { |
|
10119 |
if (vgPlain_clo_verbosity > 0) { |
| 10120 |
_L: |
|
10120 |
_L: |
| 10121 |
if (vgPlain_clo_xml) { |
|
10121 |
if (vgPlain_clo_xml) { |
| 10122 |
vgPlain_printf_xml("<preamble>\n"); |
|
10122 |
vgPlain_printf_xml("<preamble>\n"); |
| 10123 |
} else { |
|
10123 |
} else { |
| 10124 |
|
|
10124 |
|
| 10125 |
} |
|
10125 |
} |
| 10126 |
if ((unsigned int )((void *)0) == (unsigned int )vgPlain_details.version) { |
|
10126 |
if ((unsigned int )((void *)0) == (unsigned int )vgPlain_details.version) { |
| 10127 |
tmp___5 = (Char *)""; |
|
10127 |
tmp___5 = (Char *)""; |
| 10128 |
} else { |
|
10128 |
} else { |
| 10129 |
tmp___5 = vgPlain_details.version; |
|
10129 |
tmp___5 = vgPlain_details.version; |
| 10130 |
} |
|
10130 |
} |
| 10131 |
if ((unsigned int )((void *)0) == (unsigned int )vgPlain_details.version) { |
|
10131 |
if ((unsigned int )((void *)0) == (unsigned int )vgPlain_details.version) { |
| 10132 |
tmp___6 = ""; |
|
10132 |
tmp___6 = ""; |
| 10133 |
} else { |
|
10133 |
} else { |
| 10134 |
tmp___6 = "-"; |
|
10134 |
tmp___6 = "-"; |
| 10135 |
} |
|
10135 |
} |
| 10136 |
if (vgPlain_clo_xml) { |
|
10136 |
if (vgPlain_clo_xml) { |
| 10137 |
tmp___7 = "%s%t%t%t, %t%s\n"; |
|
10137 |
tmp___7 = "%s%t%t%t, %t%s\n"; |
| 10138 |
} else { |
|
10138 |
} else { |
| 10139 |
tmp___7 = "%s%s%s%s, %s%s\n"; |
|
10139 |
tmp___7 = "%s%s%s%s, %s%s\n"; |
| 10140 |
} |
|
10140 |
} |
| 10141 |
(*umsg_or_xml)(tmp___7, xpre, vgPlain_details.name, tmp___6, tmp___5, |
|
10141 |
(*umsg_or_xml)(tmp___7, xpre, vgPlain_details.name, tmp___6, tmp___5, |
| 10142 |
vgPlain_details.description, xpost); |
|
10142 |
vgPlain_details.description, xpost); |
| 10143 |
tmp___8 = vgPlain_strlen((Char const *)toolname); |
|
10143 |
tmp___8 = vgPlain_strlen((Char const *)toolname); |
| 10144 |
if (tmp___8 >= 4UL) { |
|
10144 |
if (tmp___8 >= 4UL) { |
| 10145 |
if ((unsigned int )toolname != (unsigned int )((void *)0)) { |
|
10145 |
if ((unsigned int )toolname != (unsigned int )((void *)0)) { |
| 10146 |
if ((unsigned int )"exp-" != (unsigned int )((void *)0)) { |
|
10146 |
if ((unsigned int )"exp-" != (unsigned int )((void *)0)) { |
| 10147 |
tmp___11 = vgPlain_strncmp((Char const *)toolname, |
|
10147 |
tmp___11 = vgPlain_strncmp((Char const *)toolname, |
| 10148 |
(Char const *)"exp-", (SizeT )4); |
|
10148 |
(Char const *)"exp-", (SizeT )4); |
| 10149 |
if (tmp___11 == 0) { |
|
10149 |
if (tmp___11 == 0) { |
| 10150 |
tmp___10 = (int )((Bool )1); |
|
10150 |
tmp___10 = (int )((Bool )1); |
| 10151 |
} else { |
|
10151 |
} else { |
| 10152 |
tmp___10 = (int )((Bool )0); |
|
10152 |
tmp___10 = (int )((Bool )0); |
| 10153 |
} |
|
10153 |
} |
| 10154 |
} else { |
|
10154 |
} else { |
| 10155 |
tmp___10 = (int )((Bool )0); |
|
10155 |
tmp___10 = (int )((Bool )0); |
| 10156 |
} |
|
10156 |
} |
| 10157 |
} else { |
|
10157 |
} else { |
| 10158 |
tmp___10 = (int )((Bool )0); |
|
10158 |
tmp___10 = (int )((Bool )0); |
| 10159 |
} |
|
10159 |
} |
| 10160 |
if (tmp___10) { |
|
10160 |
if (tmp___10) { |
| 10161 |
(*umsg_or_xml)("%sNOTE: This is an Experimental-Class Valgrind Tool%s\n", |
|
10161 |
(*umsg_or_xml)("%sNOTE: This is an Experimental-Class Valgrind Tool%s\n", |
| 10162 |
xpre, xpost); |
|
10162 |
xpre, xpost); |
| 10163 |
} else { |
|
10163 |
} else { |
| 10164 |
|
|
10164 |
|
| 10165 |
} |
|
10165 |
} |
| 10166 |
} else { |
|
10166 |
} else { |
| 10167 |
|
|
10167 |
|
| 10168 |
} |
|
10168 |
} |
| 10169 |
if (vgPlain_clo_xml) { |
|
10169 |
if (vgPlain_clo_xml) { |
| 10170 |
tmp___12 = "%s%t%s\n"; |
|
10170 |
tmp___12 = "%s%t%s\n"; |
| 10171 |
} else { |
|
10171 |
} else { |
| 10172 |
tmp___12 = "%s%s%s\n"; |
|
10172 |
tmp___12 = "%s%s%s\n"; |
| 10173 |
} |
|
10173 |
} |
| 10174 |
(*umsg_or_xml)(tmp___12, xpre, vgPlain_details.copyright_author, xpost); |
|
10174 |
(*umsg_or_xml)(tmp___12, xpre, vgPlain_details.copyright_author, xpost); |
| 10175 |
(*umsg_or_xml)("%sUsing Valgrind-%s and LibVEX; rerun with -h for copyright info%s\n", |
|
10175 |
(*umsg_or_xml)("%sUsing Valgrind-%s and LibVEX; rerun with -h for copyright info%s\n", |
| 10176 |
xpre, "3.7.0.SVN", xpost); |
|
10176 |
xpre, "3.7.0.SVN", xpost); |
| 10177 |
(*umsg_or_xml)("%sCommand: ", xpre); |
|
10177 |
(*umsg_or_xml)("%sCommand: ", xpre); |
| 10178 |
if (vgPlain_args_the_exename) { |
|
10178 |
if (vgPlain_args_the_exename) { |
| 10179 |
umsg_or_xml_arg((Char const *)vgPlain_args_the_exename, umsg_or_xml); |
|
10179 |
umsg_or_xml_arg((Char const *)vgPlain_args_the_exename, umsg_or_xml); |
| 10180 |
} else { |
|
10180 |
} else { |
| 10181 |
|
|
10181 |
|
| 10182 |
} |
|
10182 |
} |
| 10183 |
i = 0; |
|
10183 |
i = 0; |
| 10184 |
while (1) { |
|
10184 |
while (1) { |
| 10185 |
tmp___14 = vgPlain_sizeXA(vgPlain_args_for_client); |
|
10185 |
tmp___14 = vgPlain_sizeXA(vgPlain_args_for_client); |
| 10186 |
if ((Word )i < tmp___14) { |
|
10186 |
if ((Word )i < tmp___14) { |
| 10187 |
|
|
10187 |
|
| 10188 |
} else { |
|
10188 |
} else { |
| 10189 |
break; |
|
10189 |
break; |
| 10190 |
} |
|
10190 |
} |
| 10191 |
tmp___13 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
|
10191 |
tmp___13 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
| 10192 |
s = *((HChar **)tmp___13); |
|
10192 |
s = *((HChar **)tmp___13); |
| 10193 |
(*umsg_or_xml)(" "); |
|
10193 |
(*umsg_or_xml)(" "); |
| 10194 |
umsg_or_xml_arg((Char const *)s, umsg_or_xml); |
|
10194 |
umsg_or_xml_arg((Char const *)s, umsg_or_xml); |
| 10195 |
i ++; |
|
10195 |
i ++; |
| 10196 |
} |
|
10196 |
} |
| 10197 |
(*umsg_or_xml)("%s\n", xpost); |
|
10197 |
(*umsg_or_xml)("%s\n", xpost); |
| 10198 |
if (vgPlain_clo_xml) { |
|
10198 |
if (vgPlain_clo_xml) { |
| 10199 |
vgPlain_printf_xml("</preamble>\n"); |
|
10199 |
vgPlain_printf_xml("</preamble>\n"); |
| 10200 |
} else { |
|
10200 |
} else { |
| 10201 |
|
|
10201 |
|
| 10202 |
} |
|
10202 |
} |
| 10203 |
} else { |
|
10203 |
} else { |
| 10204 |
|
|
10204 |
|
| 10205 |
} |
|
10205 |
} |
| 10206 |
if (! vgPlain_clo_xml) { |
|
10206 |
if (! vgPlain_clo_xml) { |
| 10207 |
if (vgPlain_clo_verbosity > 0) { |
|
10207 |
if (vgPlain_clo_verbosity > 0) { |
| 10208 |
if (! logging_to_fd) { |
|
10208 |
if (! logging_to_fd) { |
| 10209 |
tmp___15 = vgPlain_getppid(); |
|
10209 |
tmp___15 = vgPlain_getppid(); |
| 10210 |
vgPlain_umsg("Parent PID: %d\n", tmp___15); |
|
10210 |
vgPlain_umsg("Parent PID: %d\n", tmp___15); |
| 10211 |
} else { |
|
10211 |
} else { |
| 10212 |
goto _L___1; |
|
10212 |
goto _L___1; |
| 10213 |
} |
|
10213 |
} |
| 10214 |
} else { |
|
10214 |
} else { |
| 10215 |
goto _L___1; |
|
10215 |
goto _L___1; |
| 10216 |
} |
|
10216 |
} |
| 10217 |
} else |
|
10217 |
} else |
| 10218 |
_L___1: |
|
10218 |
_L___1: |
| 10219 |
_L___0: |
|
10219 |
_L___0: |
| 10220 |
if (vgPlain_clo_xml) { |
|
10220 |
if (vgPlain_clo_xml) { |
| 10221 |
vgPlain_printf_xml("\n"); |
|
10221 |
vgPlain_printf_xml("\n"); |
| 10222 |
tmp___16 = vgPlain_getpid(); |
|
10222 |
tmp___16 = vgPlain_getpid(); |
| 10223 |
vgPlain_printf_xml("<pid>%d</pid>\n", tmp___16); |
|
10223 |
vgPlain_printf_xml("<pid>%d</pid>\n", tmp___16); |
| 10224 |
tmp___17 = vgPlain_getppid(); |
|
10224 |
tmp___17 = vgPlain_getppid(); |
| 10225 |
vgPlain_printf_xml("<ppid>%d</ppid>\n", tmp___17); |
|
10225 |
vgPlain_printf_xml("<ppid>%d</ppid>\n", tmp___17); |
| 10226 |
vgPlain_printf_xml_no_f_c("<tool>%t</tool>\n", toolname); |
|
10226 |
vgPlain_printf_xml_no_f_c("<tool>%t</tool>\n", toolname); |
| 10227 |
if (xml_fname_unexpanded) { |
|
10227 |
if (xml_fname_unexpanded) { |
| 10228 |
print_file_vars(xml_fname_unexpanded); |
|
10228 |
print_file_vars(xml_fname_unexpanded); |
| 10229 |
} else { |
|
10229 |
} else { |
| 10230 |
|
|
10230 |
|
| 10231 |
} |
|
10231 |
} |
| 10232 |
if (vgPlain_clo_xml_user_comment) { |
|
10232 |
if (vgPlain_clo_xml_user_comment) { |
| 10233 |
vgPlain_printf_xml("<usercomment>%s</usercomment>\n", |
|
10233 |
vgPlain_printf_xml("<usercomment>%s</usercomment>\n", |
| 10234 |
vgPlain_clo_xml_user_comment); |
|
10234 |
vgPlain_clo_xml_user_comment); |
| 10235 |
} else { |
|
10235 |
} else { |
| 10236 |
|
|
10236 |
|
| 10237 |
} |
|
10237 |
} |
| 10238 |
vgPlain_printf_xml("\n"); |
|
10238 |
vgPlain_printf_xml("\n"); |
| 10239 |
vgPlain_printf_xml("<args>\n"); |
|
10239 |
vgPlain_printf_xml("<args>\n"); |
| 10240 |
vgPlain_printf_xml(" <vargv>\n"); |
|
10240 |
vgPlain_printf_xml(" <vargv>\n"); |
| 10241 |
if (vgPlain_name_of_launcher) { |
|
10241 |
if (vgPlain_name_of_launcher) { |
| 10242 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", vgPlain_name_of_launcher); |
|
10242 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", vgPlain_name_of_launcher); |
| 10243 |
} else { |
|
10243 |
} else { |
| 10244 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", "(launcher name unknown)"); |
|
10244 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", "(launcher name unknown)"); |
| 10245 |
} |
|
10245 |
} |
| 10246 |
i = 0; |
|
10246 |
i = 0; |
| 10247 |
while (1) { |
|
10247 |
while (1) { |
| 10248 |
tmp___19 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
|
10248 |
tmp___19 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
| 10249 |
if ((Word )i < tmp___19) { |
|
10249 |
if ((Word )i < tmp___19) { |
| 10250 |
|
|
10250 |
|
| 10251 |
} else { |
|
10251 |
} else { |
| 10252 |
break; |
|
10252 |
break; |
| 10253 |
} |
|
10253 |
} |
| 10254 |
tmp___18 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
|
10254 |
tmp___18 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
| 10255 |
vgPlain_printf_xml_no_f_c(" <arg>%t</arg>\n", *((HChar **)tmp___18)); |
|
10255 |
vgPlain_printf_xml_no_f_c(" <arg>%t</arg>\n", *((HChar **)tmp___18)); |
| 10256 |
i ++; |
|
10256 |
i ++; |
| 10257 |
} |
|
10257 |
} |
| 10258 |
vgPlain_printf_xml(" </vargv>\n"); |
|
10258 |
vgPlain_printf_xml(" </vargv>\n"); |
| 10259 |
vgPlain_printf_xml(" <argv>\n"); |
|
10259 |
vgPlain_printf_xml(" <argv>\n"); |
| 10260 |
if (vgPlain_args_the_exename) { |
|
10260 |
if (vgPlain_args_the_exename) { |
| 10261 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", vgPlain_args_the_exename); |
|
10261 |
vgPlain_printf_xml_no_f_c(" <exe>%t</exe>\n", vgPlain_args_the_exename); |
| 10262 |
} else { |
|
10262 |
} else { |
| 10263 |
|
|
10263 |
|
| 10264 |
} |
|
10264 |
} |
| 10265 |
i = 0; |
|
10265 |
i = 0; |
| 10266 |
while (1) { |
|
10266 |
while (1) { |
| 10267 |
tmp___21 = vgPlain_sizeXA(vgPlain_args_for_client); |
|
10267 |
tmp___21 = vgPlain_sizeXA(vgPlain_args_for_client); |
| 10268 |
if ((Word )i < tmp___21) { |
|
10268 |
if ((Word )i < tmp___21) { |
| 10269 |
|
|
10269 |
|
| 10270 |
} else { |
|
10270 |
} else { |
| 10271 |
break; |
|
10271 |
break; |
| 10272 |
} |
|
10272 |
} |
| 10273 |
tmp___20 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
|
10273 |
tmp___20 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
| 10274 |
vgPlain_printf_xml_no_f_c(" <arg>%t</arg>\n", *((HChar **)tmp___20)); |
|
10274 |
vgPlain_printf_xml_no_f_c(" <arg>%t</arg>\n", *((HChar **)tmp___20)); |
| 10275 |
i ++; |
|
10275 |
i ++; |
| 10276 |
} |
|
10276 |
} |
| 10277 |
vgPlain_printf_xml(" </argv>\n"); |
|
10277 |
vgPlain_printf_xml(" </argv>\n"); |
| 10278 |
vgPlain_printf_xml("</args>\n"); |
|
10278 |
vgPlain_printf_xml("</args>\n"); |
| 10279 |
} else { |
|
10279 |
} else { |
| 10280 |
|
|
10280 |
|
| 10281 |
} |
|
10281 |
} |
| 10282 |
if (vgPlain_clo_xml) { |
|
10282 |
if (vgPlain_clo_xml) { |
| 10283 |
vgPlain_printf_xml("\n"); |
|
10283 |
vgPlain_printf_xml("\n"); |
| 10284 |
} else |
|
10284 |
} else |
| 10285 |
if (vgPlain_clo_verbosity > 0) { |
|
10285 |
if (vgPlain_clo_verbosity > 0) { |
| 10286 |
vgPlain_umsg("\n"); |
|
10286 |
vgPlain_umsg("\n"); |
| 10287 |
} else { |
|
10287 |
} else { |
| 10288 |
|
|
10288 |
|
| 10289 |
} |
|
10289 |
} |
| 10290 |
if (vgPlain_clo_verbosity > 1) { |
|
10290 |
if (vgPlain_clo_verbosity > 1) { |
| 10291 |
if (! logging_to_fd) { |
|
10291 |
if (! logging_to_fd) { |
| 10292 |
vgPlain_message((VgMsgKind )2, "\n"); |
|
10292 |
vgPlain_message((VgMsgKind )2, "\n"); |
| 10293 |
} else { |
|
10293 |
} else { |
| 10294 |
|
|
10294 |
|
| 10295 |
} |
|
10295 |
} |
| 10296 |
vgPlain_message((VgMsgKind )2, "Valgrind options:\n"); |
|
10296 |
vgPlain_message((VgMsgKind )2, "Valgrind options:\n"); |
| 10297 |
i = 0; |
|
10297 |
i = 0; |
| 10298 |
while (1) { |
|
10298 |
while (1) { |
| 10299 |
tmp___23 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
|
10299 |
tmp___23 = vgPlain_sizeXA(vgPlain_args_for_valgrind); |
| 10300 |
if ((Word )i < tmp___23) { |
|
10300 |
if ((Word )i < tmp___23) { |
| 10301 |
|
|
10301 |
|
| 10302 |
} else { |
|
10302 |
} else { |
| 10303 |
break; |
|
10303 |
break; |
| 10304 |
} |
|
10304 |
} |
| 10305 |
tmp___22 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
|
10305 |
tmp___22 = vgPlain_indexXA(vgPlain_args_for_valgrind, (Word )i); |
| 10306 |
vgPlain_message((VgMsgKind )2, " %s\n", *((HChar **)tmp___22)); |
|
10306 |
vgPlain_message((VgMsgKind )2, " %s\n", *((HChar **)tmp___22)); |
| 10307 |
i ++; |
|
10307 |
i ++; |
| 10308 |
} |
|
10308 |
} |
| 10309 |
vgPlain_message((VgMsgKind )2, "Contents of /proc/version:\n"); |
|
10309 |
vgPlain_message((VgMsgKind )2, "Contents of /proc/version:\n"); |
| 10310 |
fd = vgPlain_open((Char const *)"/proc/version", 0, 0); |
|
10310 |
fd = vgPlain_open((Char const *)"/proc/version", 0, 0); |
| 10311 |
tmp___28 = sr_isError(fd); |
|
10311 |
tmp___28 = sr_isError(fd); |
| 10312 |
if (tmp___28) { |
|
10312 |
if (tmp___28) { |
| 10313 |
vgPlain_message((VgMsgKind )2, " can\'t open /proc/version\n"); |
|
10313 |
vgPlain_message((VgMsgKind )2, " can\'t open /proc/version\n"); |
| 10314 |
} else { |
|
10314 |
} else { |
| 10315 |
tmp___24 = sr_Res(fd); |
|
10315 |
tmp___24 = sr_Res(fd); |
| 10316 |
tmp___25 = vgPlain_read((Int )tmp___24, (void *)(version_buf), 256); |
|
10316 |
tmp___25 = vgPlain_read((Int )tmp___24, (void *)(version_buf), 256); |
| 10317 |
n = tmp___25; |
|
10317 |
n = tmp___25; |
| 10318 |
tmp___26 = __builtin_expect((long )(! (! (n <= 256))), 1L); |
|
10318 |
tmp___26 = __builtin_expect((long )(! (! (n <= 256))), 1L); |
| 10319 |
if (tmp___26) { |
|
10319 |
if (tmp___26) { |
| 10320 |
|
|
10320 |
|
| 10321 |
} else { |
|
10321 |
} else { |
| 10322 |
vgPlain_assert_fail((Bool )1, (Char const *)"n <= BUF_LEN", |
|
10322 |
vgPlain_assert_fail((Bool )1, (Char const *)"n <= BUF_LEN", |
| 10323 |
(Char const *)"m_main.c", 1199, |
|
10323 |
(Char const *)"m_main.c", 1199, |
| 10324 |
(Char const *)"print_preamble", ""); |
|
10324 |
(Char const *)"print_preamble", ""); |
| 10325 |
} |
|
10325 |
} |
| 10326 |
if (n > 0) { |
|
10326 |
if (n > 0) { |
| 10327 |
version_buf[n - 1] = (Char )'\000'; |
|
10327 |
version_buf[n - 1] = (Char )'\000'; |
| 10328 |
vgPlain_message((VgMsgKind )2, " %s\n", version_buf); |
|
10328 |
vgPlain_message((VgMsgKind )2, " %s\n", version_buf); |
| 10329 |
} else { |
|
10329 |
} else { |
| 10330 |
vgPlain_message((VgMsgKind )2, " (empty?)\n"); |
|
10330 |
vgPlain_message((VgMsgKind )2, " (empty?)\n"); |
| 10331 |
} |
|
10331 |
} |
| 10332 |
tmp___27 = sr_Res(fd); |
|
10332 |
tmp___27 = sr_Res(fd); |
| 10333 |
vgPlain_close((Int )tmp___27); |
|
10333 |
vgPlain_close((Int )tmp___27); |
| 10334 |
} |
|
10334 |
} |
| 10335 |
vgPlain_machine_get_VexArchInfo(& vex_arch, & vex_archinfo); |
|
10335 |
vgPlain_machine_get_VexArchInfo(& vex_arch, & vex_archinfo); |
| 10336 |
tmp___29 = LibVEX_ppVexHwCaps(vex_arch, vex_archinfo.hwcaps); |
|
10336 |
tmp___29 = LibVEX_ppVexHwCaps(vex_arch, vex_archinfo.hwcaps); |
| 10337 |
tmp___30 = LibVEX_ppVexArch(vex_arch); |
|
10337 |
tmp___30 = LibVEX_ppVexArch(vex_arch); |
| 10338 |
vgPlain_message((VgMsgKind )2, "Arch and hwcaps: %s, %s\n", tmp___30, |
|
10338 |
vgPlain_message((VgMsgKind )2, "Arch and hwcaps: %s, %s\n", tmp___30, |
| 10339 |
tmp___29); |
|
10339 |
tmp___29); |
| 10340 |
vgPlain_message((VgMsgKind )2, |
|
10340 |
vgPlain_message((VgMsgKind )2, |
| 10341 |
"Page sizes: currently %d, max supported %d\n", |
|
10341 |
"Page sizes: currently %d, max supported %d\n", |
| 10342 |
(Int )(1UL << 12), (Int )(1UL << 12)); |
|
10342 |
(Int )(1UL << 12), (Int )(1UL << 12)); |
| 10343 |
vgPlain_message((VgMsgKind )2, "Valgrind library directory: %s\n", |
|
10343 |
vgPlain_message((VgMsgKind )2, "Valgrind library directory: %s\n", |
| 10344 |
vgPlain_libdir); |
|
10344 |
vgPlain_libdir); |
| 10345 |
} else { |
|
10345 |
} else { |
| 10346 |
|
|
10346 |
|
| 10347 |
} |
|
10347 |
} |
| 10348 |
return; |
|
10348 |
return; |
| 10349 |
} |
|
10349 |
} |
| 10350 |
} |
|
10350 |
} |
| 10351 |
static void setup_file_descriptors(void) |
|
10351 |
static void setup_file_descriptors(void) |
| 10352 |
{ |
|
10352 |
{ |
| 10353 |
struct vki_rlimit rl ; |
|
10353 |
struct vki_rlimit rl ; |
| 10354 |
Bool show ; |
|
10354 |
Bool show ; |
| 10355 |
Int tmp ; |
|
10355 |
Int tmp ; |
| 10356 |
|
|
10356 |
|
| 10357 |
{ |
|
10357 |
{ |
| 10358 |
show = (Bool )0; |
|
10358 |
show = (Bool )0; |
| 10359 |
tmp = vgPlain_getrlimit(7, & rl); |
|
10359 |
tmp = vgPlain_getrlimit(7, & rl); |
| 10360 |
if (tmp < 0) { |
|
10360 |
if (tmp < 0) { |
| 10361 |
rl.rlim_cur = 1024UL; |
|
10361 |
rl.rlim_cur = 1024UL; |
| 10362 |
rl.rlim_max = 1024UL; |
|
10362 |
rl.rlim_max = 1024UL; |
| 10363 |
} else { |
|
10363 |
} else { |
| 10364 |
|
|
10364 |
|
| 10365 |
} |
|
10365 |
} |
| 10366 |
if (show) { |
|
10366 |
if (show) { |
| 10367 |
vgPlain_printf("fd limits: host, before: cur %lu max %lu\n", rl.rlim_cur, |
|
10367 |
vgPlain_printf("fd limits: host, before: cur %lu max %lu\n", rl.rlim_cur, |
| 10368 |
rl.rlim_max); |
|
10368 |
rl.rlim_max); |
| 10369 |
} else { |
|
10369 |
} else { |
| 10370 |
|
|
10370 |
|
| 10371 |
} |
|
10371 |
} |
| 10372 |
if (rl.rlim_cur + 10UL <= rl.rlim_max) { |
|
10372 |
if (rl.rlim_cur + 10UL <= rl.rlim_max) { |
| 10373 |
rl.rlim_cur += 10UL; |
|
10373 |
rl.rlim_cur += 10UL; |
| 10374 |
} else { |
|
10374 |
} else { |
| 10375 |
rl.rlim_cur = rl.rlim_max; |
|
10375 |
rl.rlim_cur = rl.rlim_max; |
| 10376 |
} |
|
10376 |
} |
| 10377 |
vgPlain_fd_soft_limit = (Int )(rl.rlim_cur - 10UL); |
|
10377 |
vgPlain_fd_soft_limit = (Int )(rl.rlim_cur - 10UL); |
| 10378 |
vgPlain_fd_hard_limit = (Int )(rl.rlim_cur - 10UL); |
|
10378 |
vgPlain_fd_hard_limit = (Int )(rl.rlim_cur - 10UL); |
| 10379 |
vgPlain_setrlimit(7, (struct vki_rlimit const *)(& rl)); |
|
10379 |
vgPlain_setrlimit(7, (struct vki_rlimit const *)(& rl)); |
| 10380 |
if (show) { |
|
10380 |
if (show) { |
| 10381 |
vgPlain_printf("fd limits: host, after: cur %lu max %lu\n", rl.rlim_cur, |
|
10381 |
vgPlain_printf("fd limits: host, after: cur %lu max %lu\n", rl.rlim_cur, |
| 10382 |
rl.rlim_max); |
|
10382 |
rl.rlim_max); |
| 10383 |
vgPlain_printf("fd limits: guest : cur %u max %u\n", |
|
10383 |
vgPlain_printf("fd limits: guest : cur %u max %u\n", |
| 10384 |
vgPlain_fd_soft_limit, vgPlain_fd_hard_limit); |
|
10384 |
vgPlain_fd_soft_limit, vgPlain_fd_hard_limit); |
| 10385 |
} else { |
|
10385 |
} else { |
| 10386 |
|
|
10386 |
|
| 10387 |
} |
|
10387 |
} |
| 10388 |
if (vgPlain_cl_exec_fd != -1) { |
|
10388 |
if (vgPlain_cl_exec_fd != -1) { |
| 10389 |
vgPlain_cl_exec_fd = vgPlain_safe_fd(vgPlain_cl_exec_fd); |
|
10389 |
vgPlain_cl_exec_fd = vgPlain_safe_fd(vgPlain_cl_exec_fd); |
| 10390 |
} else { |
|
10390 |
} else { |
| 10391 |
|
|
10391 |
|
| 10392 |
} |
|
10392 |
} |
| 10393 |
return; |
|
10393 |
return; |
| 10394 |
} |
|
10394 |
} |
| 10395 |
} |
|
10395 |
} |
| 10396 |
static void show_BB_profile(BBProfEntry *tops , UInt n_tops , ULong score_total ) |
|
10396 |
static void show_BB_profile(BBProfEntry *tops , UInt n_tops , ULong score_total ) |
| 10397 |
{ |
|
10397 |
{ |
| 10398 |
ULong score_cumul ; |
|
10398 |
ULong score_cumul ; |
| 10399 |
ULong score_here ; |
|
10399 |
ULong score_here ; |
| 10400 |
Char buf_cumul[10] ; |
|
10400 |
Char buf_cumul[10] ; |
| 10401 |
Char buf_here[10] ; |
|
10401 |
Char buf_here[10] ; |
| 10402 |
Char name[64] ; |
|
10402 |
Char name[64] ; |
| 10403 |
Int r ; |
|
10403 |
Int r ; |
| 10404 |
|
|
10404 |
|
| 10405 |
{ |
|
10405 |
{ |
| 10406 |
vgPlain_printf("\n"); |
|
10406 |
vgPlain_printf("\n"); |
| 10407 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10407 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10408 |
vgPlain_printf("--- BEGIN BB Profile (summary of scores) ---\n"); |
|
10408 |
vgPlain_printf("--- BEGIN BB Profile (summary of scores) ---\n"); |
| 10409 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10409 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10410 |
vgPlain_printf("\n"); |
|
10410 |
vgPlain_printf("\n"); |
| 10411 |
vgPlain_printf("Total score = %lld\n\n", score_total); |
|
10411 |
vgPlain_printf("Total score = %lld\n\n", score_total); |
| 10412 |
score_cumul = (ULong )0; |
|
10412 |
score_cumul = (ULong )0; |
| 10413 |
r = 0; |
|
10413 |
r = 0; |
| 10414 |
while ((UInt )r < n_tops) { |
|
10414 |
while ((UInt )r < n_tops) { |
| 10415 |
if ((tops + r)->addr == 0ULL) { |
|
10415 |
if ((tops + r)->addr == 0ULL) { |
| 10416 |
goto __Cont; |
|
10416 |
goto __Cont; |
| 10417 |
} else { |
|
10417 |
} else { |
| 10418 |
|
|
10418 |
|
| 10419 |
} |
|
10419 |
} |
| 10420 |
name[0] = (Char )0; |
|
10420 |
name[0] = (Char )0; |
| 10421 |
vgPlain_get_fnname_w_offset((Addr )(tops + r)->addr, name, 64); |
|
10421 |
vgPlain_get_fnname_w_offset((Addr )(tops + r)->addr, name, 64); |
| 10422 |
name[63] = (Char )0; |
|
10422 |
name[63] = (Char )0; |
| 10423 |
score_here = (tops + r)->score; |
|
10423 |
score_here = (tops + r)->score; |
| 10424 |
score_cumul += score_here; |
|
10424 |
score_cumul += score_here; |
| 10425 |
vgPlain_percentify(score_cumul, score_total, (UInt )2, 6, |
|
10425 |
vgPlain_percentify(score_cumul, score_total, (UInt )2, 6, |
| 10426 |
(char *)(buf_cumul)); |
|
10426 |
(char *)(buf_cumul)); |
| 10427 |
vgPlain_percentify(score_here, score_total, (UInt )2, 6, (char *)(buf_here)); |
|
10427 |
vgPlain_percentify(score_here, score_total, (UInt )2, 6, (char *)(buf_here)); |
| 10428 |
vgPlain_printf("%3d: (%9lld %s) %9lld %s 0x%llx %s\n", r, |
|
10428 |
vgPlain_printf("%3d: (%9lld %s) %9lld %s 0x%llx %s\n", r, |
| 10429 |
score_cumul, buf_cumul, score_here, buf_here, |
|
10429 |
score_cumul, buf_cumul, score_here, buf_here, |
| 10430 |
(tops + r)->addr, name); |
|
10430 |
(tops + r)->addr, name); |
| 10431 |
__Cont: |
|
10431 |
__Cont: |
| 10432 |
r ++; |
|
10432 |
r ++; |
| 10433 |
} |
|
10433 |
} |
| 10434 |
vgPlain_printf("\n"); |
|
10434 |
vgPlain_printf("\n"); |
| 10435 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10435 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10436 |
vgPlain_printf("--- BB Profile (BB details) ---\n"); |
|
10436 |
vgPlain_printf("--- BB Profile (BB details) ---\n"); |
| 10437 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10437 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10438 |
vgPlain_printf("\n"); |
|
10438 |
vgPlain_printf("\n"); |
| 10439 |
score_cumul = (ULong )0; |
|
10439 |
score_cumul = (ULong )0; |
| 10440 |
r = 0; |
|
10440 |
r = 0; |
| 10441 |
while ((UInt )r < n_tops) { |
|
10441 |
while ((UInt )r < n_tops) { |
| 10442 |
if ((tops + r)->addr == 0ULL) { |
|
10442 |
if ((tops + r)->addr == 0ULL) { |
| 10443 |
goto __Cont___0; |
|
10443 |
goto __Cont___0; |
| 10444 |
} else { |
|
10444 |
} else { |
| 10445 |
|
|
10445 |
|
| 10446 |
} |
|
10446 |
} |
| 10447 |
name[0] = (Char )0; |
|
10447 |
name[0] = (Char )0; |
| 10448 |
vgPlain_get_fnname_w_offset((Addr )(tops + r)->addr, name, 64); |
|
10448 |
vgPlain_get_fnname_w_offset((Addr )(tops + r)->addr, name, 64); |
| 10449 |
name[63] = (Char )0; |
|
10449 |
name[63] = (Char )0; |
| 10450 |
score_here = (tops + r)->score; |
|
10450 |
score_here = (tops + r)->score; |
| 10451 |
score_cumul += score_here; |
|
10451 |
score_cumul += score_here; |
| 10452 |
vgPlain_percentify(score_cumul, score_total, (UInt )2, 6, |
|
10452 |
vgPlain_percentify(score_cumul, score_total, (UInt )2, 6, |
| 10453 |
(char *)(buf_cumul)); |
|
10453 |
(char *)(buf_cumul)); |
| 10454 |
vgPlain_percentify(score_here, score_total, (UInt )2, 6, (char *)(buf_here)); |
|
10454 |
vgPlain_percentify(score_here, score_total, (UInt )2, 6, (char *)(buf_here)); |
| 10455 |
vgPlain_printf("\n"); |
|
10455 |
vgPlain_printf("\n"); |
| 10456 |
vgPlain_printf("=-=-=-=-=-=-=-=-=-=-=-=-=-= begin BB rank %d =-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n", |
|
10456 |
vgPlain_printf("=-=-=-=-=-=-=-=-=-=-=-=-=-= begin BB rank %d =-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n", |
| 10457 |
r); |
|
10457 |
r); |
| 10458 |
vgPlain_printf("%3d: (%9lld %s) %9lld %s 0x%llx %s\n", r, |
|
10458 |
vgPlain_printf("%3d: (%9lld %s) %9lld %s 0x%llx %s\n", r, |
| 10459 |
score_cumul, buf_cumul, score_here, buf_here, |
|
10459 |
score_cumul, buf_cumul, score_here, buf_here, |
| 10460 |
(tops + r)->addr, name); |
|
10460 |
(tops + r)->addr, name); |
| 10461 |
vgPlain_printf("\n"); |
|
10461 |
vgPlain_printf("\n"); |
| 10462 |
vgPlain_discard_translations((tops + r)->addr, (ULong )1, |
|
10462 |
vgPlain_discard_translations((tops + r)->addr, (ULong )1, |
| 10463 |
(HChar *)"bb profile"); |
|
10463 |
(HChar *)"bb profile"); |
| 10464 |
vgPlain_translate((ThreadId )0, (tops + r)->addr, (Bool )1, |
|
10464 |
vgPlain_translate((ThreadId )0, (tops + r)->addr, (Bool )1, |
| 10465 |
(Int )vgPlain_clo_profile_flags, (ULong )0, (Bool )1); |
|
10465 |
(Int )vgPlain_clo_profile_flags, (ULong )0, (Bool )1); |
| 10466 |
vgPlain_printf("=-=-=-=-=-=-=-=-=-=-=-=-=-= end BB rank %d =-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n", |
|
10466 |
vgPlain_printf("=-=-=-=-=-=-=-=-=-=-=-=-=-= end BB rank %d =-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n", |
| 10467 |
r); |
|
10467 |
r); |
| 10468 |
__Cont___0: |
|
10468 |
__Cont___0: |
| 10469 |
r ++; |
|
10469 |
r ++; |
| 10470 |
} |
|
10470 |
} |
| 10471 |
vgPlain_printf("\n"); |
|
10471 |
vgPlain_printf("\n"); |
| 10472 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10472 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10473 |
vgPlain_printf("--- END BB Profile ---\n"); |
|
10473 |
vgPlain_printf("--- END BB Profile ---\n"); |
| 10474 |
vgPlain_printf("-----------------------------------------------------------\n"); |
|
10474 |
vgPlain_printf("-----------------------------------------------------------\n"); |
| 10475 |
vgPlain_printf("\n"); |
|
10475 |
vgPlain_printf("\n"); |
| 10476 |
return; |
|
10476 |
return; |
| 10477 |
} |
|
10477 |
} |
| 10478 |
} |
|
10478 |
} |
| 10479 |
VgStack vgPlain_interim_stack ; |
|
10479 |
VgStack vgPlain_interim_stack ; |
| 10480 |
static IICreateImageInfo the_iicii ; |
|
10480 |
static IICreateImageInfo the_iicii ; |
| 10481 |
static IIFinaliseImageInfo the_iifii ; |
|
10481 |
static IIFinaliseImageInfo the_iifii ; |
| 10482 |
static void final_tidyup(ThreadId tid ) ; |
|
10482 |
static void final_tidyup(ThreadId tid ) ; |
| 10483 |
static void shutdown_actions_NORETURN(ThreadId tid , |
|
10483 |
static void shutdown_actions_NORETURN(ThreadId tid , |
| 10484 |
VgSchedReturnCode tids_schedretcode ) ; |
|
10484 |
VgSchedReturnCode tids_schedretcode ) ; |
| 10485 |
static Int valgrind_main(Int argc , HChar **argv , HChar **envp ) |
|
10485 |
static Int valgrind_main(Int argc , HChar **argv , HChar **envp ) |
| 10486 |
{ |
|
10486 |
{ |
| 10487 |
HChar *toolname ; |
|
10487 |
HChar *toolname ; |
| 10488 |
Int need_help ; |
|
10488 |
Int need_help ; |
| 10489 |
ThreadId tid_main ; |
|
10489 |
ThreadId tid_main ; |
| 10490 |
Bool logging_to_fd ; |
|
10490 |
Bool logging_to_fd ; |
| 10491 |
Char *xml_fname_unexpanded ; |
|
10491 |
Char *xml_fname_unexpanded ; |
| 10492 |
Int loglevel ; |
|
10492 |
Int loglevel ; |
| 10493 |
Int i ; |
|
10493 |
Int i ; |
| 10494 |
struct vki_rlimit zero ; |
|
10494 |
struct vki_rlimit zero ; |
| 10495 |
XArray *addr2dihandle ; |
|
10495 |
XArray *addr2dihandle ; |
| 10496 |
Int tmp ; |
|
10496 |
Int tmp ; |
| 10497 |
int tmp___0 ; |
|
10497 |
int tmp___0 ; |
| 10498 |
Int tmp___1 ; |
|
10498 |
Int tmp___1 ; |
| 10499 |
Int tmp___2 ; |
|
10499 |
Int tmp___2 ; |
| 10500 |
int tmp___3 ; |
|
10500 |
int tmp___3 ; |
| 10501 |
Int tmp___4 ; |
|
10501 |
Int tmp___4 ; |
| 10502 |
SizeT tmp___5 ; |
|
10502 |
SizeT tmp___5 ; |
| 10503 |
Int tmp___6 ; |
|
10503 |
Int tmp___6 ; |
| 10504 |
int tmp___7 ; |
|
10504 |
int tmp___7 ; |
| 10505 |
SizeT tmp___8 ; |
|
10505 |
SizeT tmp___8 ; |
| 10506 |
Int tmp___9 ; |
|
10506 |
Int tmp___9 ; |
| 10507 |
Char *val ; |
|
10507 |
Char *val ; |
| 10508 |
SizeT tmp___10 ; |
|
10508 |
SizeT tmp___10 ; |
| 10509 |
Int tmp___11 ; |
|
10509 |
Int tmp___11 ; |
| 10510 |
int tmp___12 ; |
|
10510 |
int tmp___12 ; |
| 10511 |
Int tmp___13 ; |
|
10511 |
Int tmp___13 ; |
| 10512 |
Int tmp___14 ; |
|
10512 |
Int tmp___14 ; |
| 10513 |
int tmp___15 ; |
|
10513 |
int tmp___15 ; |
| 10514 |
Int tmp___16 ; |
|
10514 |
Int tmp___16 ; |
| 10515 |
int tmp___17 ; |
|
10515 |
int tmp___17 ; |
| 10516 |
HChar *limLo ; |
|
10516 |
HChar *limLo ; |
| 10517 |
HChar *limHi ; |
|
10517 |
HChar *limHi ; |
| 10518 |
HChar *aLocal ; |
|
10518 |
HChar *aLocal ; |
| 10519 |
int tmp___18 ; |
|
10519 |
int tmp___18 ; |
| 10520 |
long tmp___19 ; |
|
10520 |
long tmp___19 ; |
| 10521 |
int tmp___20 ; |
|
10521 |
int tmp___20 ; |
| 10522 |
long tmp___21 ; |
|
10522 |
long tmp___21 ; |
| 10523 |
long tmp___22 ; |
|
10523 |
long tmp___22 ; |
| 10524 |
long tmp___23 ; |
|
10524 |
long tmp___23 ; |
| 10525 |
long tmp___24 ; |
|
10525 |
long tmp___24 ; |
| 10526 |
void *p ; |
|
10526 |
void *p ; |
| 10527 |
void *tmp___25 ; |
|
10527 |
void *tmp___25 ; |
| 10528 |
HChar *cp ; |
|
10528 |
HChar *cp ; |
| 10529 |
Char *tmp___26 ; |
|
10529 |
Char *tmp___26 ; |
| 10530 |
Char *tmp___27 ; |
|
10530 |
Char *tmp___27 ; |
| 10531 |
VexArch vex_arch ; |
|
10531 |
VexArch vex_arch ; |
| 10532 |
VexArchInfo vex_archinfo ; |
|
10532 |
VexArchInfo vex_archinfo ; |
| 10533 |
Bool ok ; |
|
10533 |
Bool ok ; |
| 10534 |
Bool tmp___28 ; |
|
10534 |
Bool tmp___28 ; |
| 10535 |
HChar const *tmp___29 ; |
|
10535 |
HChar const *tmp___29 ; |
| 10536 |
HChar const *tmp___30 ; |
|
10536 |
HChar const *tmp___30 ; |
| 10537 |
Bool ok___0 ; |
|
10537 |
Bool ok___0 ; |
| 10538 |
Bool tmp___31 ; |
|
10538 |
Bool tmp___31 ; |
| 10539 |
Char buf[4097] ; |
|
10539 |
Char buf[4097] ; |
| 10540 |
Bool ok___1 ; |
|
10540 |
Bool ok___1 ; |
| 10541 |
Bool tmp___32 ; |
|
10541 |
Bool tmp___32 ; |
| 10542 |
long tmp___33 ; |
|
10542 |
long tmp___33 ; |
| 10543 |
long tmp___34 ; |
|
10543 |
long tmp___34 ; |
| 10544 |
long tmp___35 ; |
|
10544 |
long tmp___35 ; |
| 10545 |
void *tmp___36 ; |
|
10545 |
void *tmp___36 ; |
| 10546 |
Word tmp___37 ; |
|
10546 |
Word tmp___37 ; |
| 10547 |
void *tmp___38 ; |
|
10547 |
void *tmp___38 ; |
| 10548 |
Word tmp___39 ; |
|
10548 |
Word tmp___39 ; |
| 10549 |
HChar buf___0[50] ; |
|
10549 |
HChar buf___0[50] ; |
| 10550 |
HChar buf2[114] ; |
|
10550 |
HChar buf2[114] ; |
| 10551 |
HChar nul[1] ; |
|
10551 |
HChar nul[1] ; |
| 10552 |
Int fd ; |
|
10552 |
Int fd ; |
| 10553 |
Int r ; |
|
10553 |
Int r ; |
| 10554 |
HChar const *exename ; |
|
10554 |
HChar const *exename ; |
| 10555 |
Int tmp___40 ; |
|
10555 |
Int tmp___40 ; |
| 10556 |
SizeT tmp___41 ; |
|
10556 |
SizeT tmp___41 ; |
| 10557 |
HChar *arg ; |
|
10557 |
HChar *arg ; |
| 10558 |
void *tmp___42 ; |
|
10558 |
void *tmp___42 ; |
| 10559 |
SizeT tmp___43 ; |
|
10559 |
SizeT tmp___43 ; |
| 10560 |
Word tmp___44 ; |
|
10560 |
Word tmp___44 ; |
| 10561 |
long tmp___45 ; |
|
10561 |
long tmp___45 ; |
| 10562 |
Char *s ; |
|
10562 |
Char *s ; |
| 10563 |
Bool ok___2 ; |
|
10563 |
Bool ok___2 ; |
| 10564 |
Long iters ; |
|
10564 |
Long iters ; |
| 10565 |
Long volatile q ; |
|
10565 |
Long volatile q ; |
| 10566 |
Int tmp___46 ; |
|
10566 |
Int tmp___46 ; |
| 10567 |
long tmp___47 ; |
|
10567 |
long tmp___47 ; |
| 10568 |
long tmp___48 ; |
|
10568 |
long tmp___48 ; |
| 10569 |
Addr *seg_starts ; |
|
10569 |
Addr *seg_starts ; |
| 10570 |
Int n_seg_starts ; |
|
10570 |
Int n_seg_starts ; |
| 10571 |
Addr_n_ULong anu ; |
|
10571 |
Addr_n_ULong anu ; |
| 10572 |
int tmp___49 ; |
|
10572 |
int tmp___49 ; |
| 10573 |
long tmp___50 ; |
|
10573 |
long tmp___50 ; |
| 10574 |
Bool change_ownership_v_c_OK ; |
|
10574 |
Bool change_ownership_v_c_OK ; |
| 10575 |
Addr co_start ; |
|
10575 |
Addr co_start ; |
| 10576 |
Addr co_endPlus ; |
|
10576 |
Addr co_endPlus ; |
| 10577 |
long tmp___51 ; |
|
10577 |
long tmp___51 ; |
| 10578 |
int tmp___52 ; |
|
10578 |
int tmp___52 ; |
| 10579 |
long tmp___53 ; |
|
10579 |
long tmp___53 ; |
| 10580 |
Addr *seg_starts___0 ; |
|
10580 |
Addr *seg_starts___0 ; |
| 10581 |
Int n_seg_starts___0 ; |
|
10581 |
Int n_seg_starts___0 ; |
| 10582 |
long tmp___54 ; |
|
10582 |
long tmp___54 ; |
| 10583 |
long tmp___55 ; |
|
10583 |
long tmp___55 ; |
| 10584 |
int tmp___56 ; |
|
10584 |
int tmp___56 ; |
| 10585 |
long tmp___57 ; |
|
10585 |
long tmp___57 ; |
| 10586 |
Word j ; |
|
10586 |
Word j ; |
| 10587 |
Word n ; |
|
10587 |
Word n ; |
| 10588 |
NSegment const *seg ; |
|
10588 |
NSegment const *seg ; |
| 10589 |
NSegment const *tmp___58 ; |
|
10589 |
NSegment const *tmp___58 ; |
| 10590 |
long tmp___59 ; |
|
10590 |
long tmp___59 ; |
| 10591 |
long tmp___60 ; |
|
10591 |
long tmp___60 ; |
| 10592 |
int tmp___61 ; |
|
10592 |
int tmp___61 ; |
| 10593 |
int tmp___62 ; |
|
10593 |
int tmp___62 ; |
| 10594 |
int tmp___63 ; |
|
10594 |
int tmp___63 ; |
| 10595 |
Addr_n_ULong *anl ; |
|
10595 |
Addr_n_ULong *anl ; |
| 10596 |
void *tmp___64 ; |
|
10596 |
void *tmp___64 ; |
| 10597 |
long tmp___65 ; |
|
10597 |
long tmp___65 ; |
| 10598 |
int tmp___66 ; |
|
10598 |
int tmp___66 ; |
| 10599 |
long tmp___67 ; |
|
10599 |
long tmp___67 ; |
| 10600 |
void *tmp___68 ; |
|
10600 |
void *tmp___68 ; |
| 10601 |
ULong tmp___69 ; |
|
10601 |
ULong tmp___69 ; |
| 10602 |
SSizeT inaccessible_len ; |
|
10602 |
SSizeT inaccessible_len ; |
| 10603 |
NSegment const *seg___0 ; |
|
10603 |
NSegment const *seg___0 ; |
| 10604 |
NSegment const *tmp___70 ; |
|
10604 |
NSegment const *tmp___70 ; |
| 10605 |
long tmp___71 ; |
|
10605 |
long tmp___71 ; |
| 10606 |
long tmp___72 ; |
|
10606 |
long tmp___72 ; |
| 10607 |
long tmp___73 ; |
|
10607 |
long tmp___73 ; |
| 10608 |
long tmp___74 ; |
|
10608 |
long tmp___74 ; |
| 10609 |
long tmp___75 ; |
|
10609 |
long tmp___75 ; |
| 10610 |
long tmp___76 ; |
|
10610 |
long tmp___76 ; |
| 10611 |
NSegment const *seg___1 ; |
|
10611 |
NSegment const *seg___1 ; |
| 10612 |
NSegment const *tmp___77 ; |
|
10612 |
NSegment const *tmp___77 ; |
| 10613 |
long tmp___78 ; |
|
10613 |
long tmp___78 ; |
| 10614 |
long tmp___79 ; |
|
10614 |
long tmp___79 ; |
| 10615 |
long tmp___80 ; |
|
10615 |
long tmp___80 ; |
| 10616 |
long tmp___81 ; |
|
10616 |
long tmp___81 ; |
| 10617 |
HChar buf___1[50] ; |
|
10617 |
HChar buf___1[50] ; |
| 10618 |
long tmp___82 ; |
|
10618 |
long tmp___82 ; |
| 10619 |
|
|
10619 |
|
| 10620 |
{ |
|
10620 |
{ |
| 10621 |
toolname = (HChar *)"memcheck"; |
|
10621 |
toolname = (HChar *)"memcheck"; |
| 10622 |
need_help = 0; |
|
10622 |
need_help = 0; |
| 10623 |
tid_main = (ThreadId )0; |
|
10623 |
tid_main = (ThreadId )0; |
| 10624 |
logging_to_fd = (Bool )0; |
|
10624 |
logging_to_fd = (Bool )0; |
| 10625 |
xml_fname_unexpanded = (Char *)((void *)0); |
|
10625 |
xml_fname_unexpanded = (Char *)((void *)0); |
| 10626 |
zero.rlim_cur = 0UL; |
|
10626 |
zero.rlim_cur = 0UL; |
| 10627 |
zero.rlim_max = 0UL; |
|
10627 |
zero.rlim_max = 0UL; |
| 10628 |
addr2dihandle = (XArray *)((void *)0); |
|
10628 |
addr2dihandle = (XArray *)((void *)0); |
| 10629 |
vgPlain_client_envp = (Char **)envp; |
|
10629 |
vgPlain_client_envp = (Char **)envp; |
| 10630 |
loglevel = 0; |
|
10630 |
loglevel = 0; |
| 10631 |
i = 1; |
|
10631 |
i = 1; |
| 10632 |
while (i < argc) { |
|
10632 |
while (i < argc) { |
| 10633 |
if ((int )*(*(argv + i) + 0) != 45) { |
|
10633 |
if ((int )*(*(argv + i) + 0) != 45) { |
| 10634 |
break; |
|
10634 |
break; |
| 10635 |
} else { |
|
10635 |
} else { |
| 10636 |
|
|
10636 |
|
| 10637 |
} |
|
10637 |
} |
| 10638 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
|
10638 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
| 10639 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
|
10639 |
if ((unsigned int )"--" != (unsigned int )((void *)0)) { |
| 10640 |
tmp___1 = vgPlain_strcmp((Char const *)*(argv + i), |
|
10640 |
tmp___1 = vgPlain_strcmp((Char const *)*(argv + i), |
| 10641 |
(Char const *)"--"); |
|
10641 |
(Char const *)"--"); |
| 10642 |
if (tmp___1 == 0) { |
|
10642 |
if (tmp___1 == 0) { |
| 10643 |
tmp___0 = (int )((Bool )1); |
|
10643 |
tmp___0 = (int )((Bool )1); |
| 10644 |
} else { |
|
10644 |
} else { |
| 10645 |
tmp___0 = (int )((Bool )0); |
|
10645 |
tmp___0 = (int )((Bool )0); |
| 10646 |
} |
|
10646 |
} |
| 10647 |
} else { |
|
10647 |
} else { |
| 10648 |
tmp___0 = (int )((Bool )0); |
|
10648 |
tmp___0 = (int )((Bool )0); |
| 10649 |
} |
|
10649 |
} |
| 10650 |
} else { |
|
10650 |
} else { |
| 10651 |
tmp___0 = (int )((Bool )0); |
|
10651 |
tmp___0 = (int )((Bool )0); |
| 10652 |
} |
|
10652 |
} |
| 10653 |
if (tmp___0) { |
|
10653 |
if (tmp___0) { |
| 10654 |
break; |
|
10654 |
break; |
| 10655 |
} else { |
|
10655 |
} else { |
| 10656 |
|
|
10656 |
|
| 10657 |
} |
|
10657 |
} |
| 10658 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
|
10658 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
| 10659 |
if ((unsigned int )"-d" != (unsigned int )((void *)0)) { |
|
10659 |
if ((unsigned int )"-d" != (unsigned int )((void *)0)) { |
| 10660 |
tmp___4 = vgPlain_strcmp((Char const *)*(argv + i), |
|
10660 |
tmp___4 = vgPlain_strcmp((Char const *)*(argv + i), |
| 10661 |
(Char const *)"-d"); |
|
10661 |
(Char const *)"-d"); |
| 10662 |
if (tmp___4 == 0) { |
|
10662 |
if (tmp___4 == 0) { |
| 10663 |
tmp___3 = (int )((Bool )1); |
|
10663 |
tmp___3 = (int )((Bool )1); |
| 10664 |
} else { |
|
10664 |
} else { |
| 10665 |
tmp___3 = (int )((Bool )0); |
|
10665 |
tmp___3 = (int )((Bool )0); |
| 10666 |
} |
|
10666 |
} |
| 10667 |
} else { |
|
10667 |
} else { |
| 10668 |
tmp___3 = (int )((Bool )0); |
|
10668 |
tmp___3 = (int )((Bool )0); |
| 10669 |
} |
|
10669 |
} |
| 10670 |
} else { |
|
10670 |
} else { |
| 10671 |
tmp___3 = (int )((Bool )0); |
|
10671 |
tmp___3 = (int )((Bool )0); |
| 10672 |
} |
|
10672 |
} |
| 10673 |
if (tmp___3) { |
|
10673 |
if (tmp___3) { |
| 10674 |
loglevel ++; |
|
10674 |
loglevel ++; |
| 10675 |
} else { |
|
10675 |
} else { |
| 10676 |
|
|
10676 |
|
| 10677 |
} |
|
10677 |
} |
| 10678 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
|
10678 |
if ((unsigned int )*(argv + i) != (unsigned int )((void *)0)) { |
| 10679 |
if ((unsigned int )"--profile-heap=" != (unsigned int )((void *)0)) { |
|
10679 |
if ((unsigned int )"--profile-heap=" != (unsigned int )((void *)0)) { |
| 10680 |
tmp___8 = vgPlain_strlen((Char const *)"--profile-heap"); |
|
10680 |
tmp___8 = vgPlain_strlen((Char const *)"--profile-heap"); |
| 10681 |
tmp___9 = vgPlain_strncmp((Char const *)*(argv + i), |
|
10681 |
tmp___9 = vgPlain_strncmp((Char const *)*(argv + i), |
| 10682 |
(Char const *)"--profile-heap=", |
|
10682 |
(Char const *)"--profile-heap=", |
| 10683 |
tmp___8 + 1UL); |
|
10683 |
tmp___8 + 1UL); |
| 10684 |
if (tmp___9 == 0) { |
|
10684 |
if (tmp___9 == 0) { |
| 10685 |
tmp___7 = (int )((Bool )1); |
|
10685 |
tmp___7 = (int )((Bool )1); |
| 10686 |
} else { |
|
10686 |
} else { |
| 10687 |
tmp___7 = (int )((Bool )0); |
|
10687 |
tmp___7 = (int )((Bool )0); |
| 10688 |
} |
|
10688 |
} |
| 10689 |
} else { |
|
10689 |
} else { |
| 10690 |
tmp___7 = (int )((Bool )0); |
|
10690 |
tmp___7 = (int )((Bool )0); |
| 10691 |
} |
|
10691 |
} |
| 10692 |
} else { |
|
10692 |
} else { |
| 10693 |
tmp___7 = (int )((Bool )0); |
|
10693 |
tmp___7 = (int )((Bool )0); |
| 10694 |
} |
|
10694 |
} |
| 10695 |
if (tmp___7) { |
|
10695 |
if (tmp___7) { |
| 10696 |
tmp___10 = vgPlain_strlen((Char const *)"--profile-heap"); |
|
10696 |
tmp___10 = vgPlain_strlen((Char const *)"--profile-heap"); |
| 10697 |
val = (Char *)(*(argv + i) + (tmp___10 + 1UL)); |
|
10697 |
val = (Char *)(*(argv + i) + (tmp___10 + 1UL)); |
| 10698 |
if ((unsigned int )val != (unsigned int )((void *)0)) { |
|
10698 |
if ((unsigned int )val != (unsigned int )((void *)0)) { |
| 10699 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
|
10699 |
if ((unsigned int )"yes" != (unsigned int )((void *)0)) { |
| 10700 |
tmp___16 = vgPlain_strcmp((Char const *)val, (Char const *)"yes"); |
|
10700 |
tmp___16 = vgPlain_strcmp((Char const *)val, (Char const *)"yes"); |
| 10701 |
if (tmp___16 == 0) { |
|
10701 |
if (tmp___16 == 0) { |
| 10702 |
tmp___15 = (int )((Bool )1); |
|
10702 |
tmp___15 = (int )((Bool )1); |
| 10703 |
} else { |
|
10703 |
} else { |
| 10704 |
tmp___15 = (int )((Bool )0); |
|
10704 |
tmp___15 = (int )((Bool )0); |
| 10705 |
} |
|
10705 |
} |
| 10706 |
} else { |
|
10706 |
} else { |
| 10707 |
tmp___15 = (int )((Bool )0); |
|
10707 |
tmp___15 = (int )((Bool )0); |
| 10708 |
} |
|
10708 |
} |
| 10709 |
} else { |
|
10709 |
} else { |
| 10710 |
tmp___15 = (int )((Bool )0); |
|
10710 |
tmp___15 = (int )((Bool )0); |
| 10711 |
} |
|
10711 |
} |
| 10712 |
if (tmp___15) { |
|
10712 |
if (tmp___15) { |
| 10713 |
vgPlain_clo_profile_heap = (Bool )1; |
|
10713 |
vgPlain_clo_profile_heap = (Bool )1; |
| 10714 |
} else { |
|
10714 |
} else { |
| 10715 |
if ((unsigned int )val != (unsigned int )((void *)0)) { |
|
10715 |
if ((unsigned int )val != (unsigned int )((void *)0)) { |
| 10716 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
|
10716 |
if ((unsigned int )"no" != (unsigned int )((void *)0)) { |
| 10717 |
tmp___13 = vgPlain_strcmp((Char const *)val, (Char const *)"no"); |
|
10717 |
tmp___13 = vgPlain_strcmp((Char const *)val, (Char const *)"no"); |
| 10718 |
if (tmp___13 == 0) { |
|
10718 |
if (tmp___13 == 0) { |
| 10719 |
tmp___12 = (int )((Bool )1); |
|
10719 |
tmp___12 = (int )((Bool )1); |
| 10720 |
} else { |
|
10720 |
} else { |
| 10721 |
tmp___12 = (int )((Bool )0); |
|
10721 |
tmp___12 = (int )((Bool )0); |
| 10722 |
} |
|
10722 |
} |
| 10723 |
} else { |
|
10723 |
} else { |
| 10724 |
tmp___12 = (int )((Bool )0); |
|
10724 |
tmp___12 = (int )((Bool )0); |
| 10725 |
} |
|
10725 |
} |
| 10726 |
} else { |
|
10726 |
} else { |
| 10727 |
tmp___12 = (int )((Bool )0); |
|
10727 |
tmp___12 = (int )((Bool )0); |
| 10728 |
} |
|
10728 |
} |
| 10729 |
if (tmp___12) { |
|
10729 |
if (tmp___12) { |
| 10730 |
vgPlain_clo_profile_heap = (Bool )0; |
|
10730 |
vgPlain_clo_profile_heap = (Bool )0; |
| 10731 |
} else { |
|
10731 |
} else { |
| 10732 |
vgPlain_fmsg_bad_option(*(argv + i), |
|
10732 |
vgPlain_fmsg_bad_option(*(argv + i), |
| 10733 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
|
10733 |
"Invalid boolean value \'%s\' (should be \'yes\' or \'no\')\n", |
| 10734 |
val); |
|
10734 |
val); |
| 10735 |
} |
|
10735 |
} |
| 10736 |
} |
|
10736 |
} |
| 10737 |
tmp___17 = 1; |
|
10737 |
tmp___17 = 1; |
| 10738 |
} else { |
|
10738 |
} else { |
| 10739 |
tmp___17 = 0; |
|
10739 |
tmp___17 = 0; |
| 10740 |
} |
|
10740 |
} |
| 10741 |
i ++; |
|
10741 |
i ++; |
| 10742 |
} |
|
10742 |
} |
| 10743 |
vgPlain_debugLog_startup(loglevel, (HChar *)"Stage 2 (main)"); |
|
10743 |
vgPlain_debugLog_startup(loglevel, (HChar *)"Stage 2 (main)"); |
| 10744 |
vgPlain_debugLog(1, "main", |
|
10744 |
vgPlain_debugLog(1, "main", |
| 10745 |
"Welcome to Valgrind version 3.7.0.SVN debug logging\n"); |
|
10745 |
"Welcome to Valgrind version 3.7.0.SVN debug logging\n"); |
| 10746 |
vgPlain_debugLog(1, "main", "Checking current stack is plausible\n"); |
|
10746 |
vgPlain_debugLog(1, "main", "Checking current stack is plausible\n"); |
| 10747 |
limLo = & vgPlain_interim_stack.bytes[0]; |
|
10747 |
limLo = & vgPlain_interim_stack.bytes[0]; |
| 10748 |
limHi = limLo + sizeof(vgPlain_interim_stack); |
|
10748 |
limHi = limLo + sizeof(vgPlain_interim_stack); |
| 10749 |
aLocal = (HChar *)(& zero); |
|
10749 |
aLocal = (HChar *)(& zero); |
| 10750 |
if ((unsigned int )aLocal < (unsigned int )limLo) { |
|
10750 |
if ((unsigned int )aLocal < (unsigned int )limLo) { |
| 10751 |
vgPlain_debugLog(0, "main", "Root stack %p to %p, a local %p\n", limLo, |
|
10751 |
vgPlain_debugLog(0, "main", "Root stack %p to %p, a local %p\n", limLo, |
| 10752 |
limHi, aLocal); |
|
10752 |
limHi, aLocal); |
| 10753 |
vgPlain_debugLog(0, "main", |
|
10753 |
vgPlain_debugLog(0, "main", |
| 10754 |
"Valgrind: FATAL: Initial stack switched failed.\n"); |
|
10754 |
"Valgrind: FATAL: Initial stack switched failed.\n"); |
| 10755 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
|
10755 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
| 10756 |
vgPlain_exit(1); |
|
10756 |
vgPlain_exit(1); |
| 10757 |
} else |
|
10757 |
} else |
| 10758 |
if ((unsigned int )aLocal >= (unsigned int )limHi) { |
|
10758 |
if ((unsigned int )aLocal >= (unsigned int )limHi) { |
| 10759 |
vgPlain_debugLog(0, "main", "Root stack %p to %p, a local %p\n", limLo, |
|
10759 |
vgPlain_debugLog(0, "main", "Root stack %p to %p, a local %p\n", limLo, |
| 10760 |
limHi, aLocal); |
|
10760 |
limHi, aLocal); |
| 10761 |
vgPlain_debugLog(0, "main", |
|
10761 |
vgPlain_debugLog(0, "main", |
| 10762 |
"Valgrind: FATAL: Initial stack switched failed.\n"); |
|
10762 |
"Valgrind: FATAL: Initial stack switched failed.\n"); |
| 10763 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
|
10763 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
| 10764 |
vgPlain_exit(1); |
|
10764 |
vgPlain_exit(1); |
| 10765 |
} else { |
|
10765 |
} else { |
| 10766 |
|
|
10766 |
|
| 10767 |
} |
|
10767 |
} |
| 10768 |
vgPlain_debugLog(1, "main", "Checking initial stack was noted\n"); |
|
10768 |
vgPlain_debugLog(1, "main", "Checking initial stack was noted\n"); |
| 10769 |
if (the_iicii.sp_at_startup == 0UL) { |
|
10769 |
if (the_iicii.sp_at_startup == 0UL) { |
| 10770 |
vgPlain_debugLog(0, "main", |
|
10770 |
vgPlain_debugLog(0, "main", |
| 10771 |
"Valgrind: FATAL: Initial stack was not noted.\n"); |
|
10771 |
"Valgrind: FATAL: Initial stack was not noted.\n"); |
| 10772 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
|
10772 |
vgPlain_debugLog(0, "main", " Cannot continue. Sorry.\n"); |
| 10773 |
vgPlain_exit(1); |
|
10773 |
vgPlain_exit(1); |
| 10774 |
} else { |
|
10774 |
} else { |
| 10775 |
|
|
10775 |
|
| 10776 |
} |
|
10776 |
} |
| 10777 |
vgPlain_debugLog(1, "main", "Starting the address space manager\n"); |
|
10777 |
vgPlain_debugLog(1, "main", "Starting the address space manager\n"); |
| 10778 |
if (1UL << 12 == 4096UL) { |
|
10778 |
if (1UL << 12 == 4096UL) { |
| 10779 |
tmp___18 = 1; |
|
10779 |
tmp___18 = 1; |
| 10780 |
} else |
|
10780 |
} else |
| 10781 |
if (1UL << 12 == 65536UL) { |
|
10781 |
if (1UL << 12 == 65536UL) { |
| 10782 |
tmp___18 = 1; |
|
10782 |
tmp___18 = 1; |
| 10783 |
} else { |
|
10783 |
} else { |
| 10784 |
tmp___18 = 0; |
|
10784 |
tmp___18 = 0; |
| 10785 |
} |
|
10785 |
} |
| 10786 |
tmp___19 = __builtin_expect((long )tmp___18, 1L); |
|
10786 |
tmp___19 = __builtin_expect((long )tmp___18, 1L); |
| 10787 |
if (tmp___19) { |
|
10787 |
if (tmp___19) { |
| 10788 |
|
|
10788 |
|
| 10789 |
} else { |
|
10789 |
} else { |
| 10790 |
vgPlain_assert_fail((Bool )1, |
|
10790 |
vgPlain_assert_fail((Bool )1, |
| 10791 |
(Char const *)"VKI_PAGE_SIZE == 4096 || VKI_PAGE_SIZE == 65536", |
|
10791 |
(Char const *)"VKI_PAGE_SIZE == 4096 || VKI_PAGE_SIZE == 65536", |
| 10792 |
(Char const *)"m_main.c", 1574, |
|
10792 |
(Char const *)"m_main.c", 1574, |
| 10793 |
(Char const *)"valgrind_main", ""); |
|
10793 |
(Char const *)"valgrind_main", ""); |
| 10794 |
} |
|
10794 |
} |
| 10795 |
if (1UL << 12 == 4096UL) { |
|
10795 |
if (1UL << 12 == 4096UL) { |
| 10796 |
tmp___20 = 1; |
|
10796 |
tmp___20 = 1; |
| 10797 |
} else |
|
10797 |
} else |
| 10798 |
if (1UL << 12 == 65536UL) { |
|
10798 |
if (1UL << 12 == 65536UL) { |
| 10799 |
tmp___20 = 1; |
|
10799 |
tmp___20 = 1; |
| 10800 |
} else { |
|
10800 |
} else { |
| 10801 |
tmp___20 = 0; |
|
10801 |
tmp___20 = 0; |
| 10802 |
} |
|
10802 |
} |
| 10803 |
tmp___21 = __builtin_expect((long )tmp___20, 1L); |
|
10803 |
tmp___21 = __builtin_expect((long )tmp___20, 1L); |
| 10804 |
if (tmp___21) { |
|
10804 |
if (tmp___21) { |
| 10805 |
|
|
10805 |
|
| 10806 |
} else { |
|
10806 |
} else { |
| 10807 |
vgPlain_assert_fail((Bool )1, |
|
10807 |
vgPlain_assert_fail((Bool )1, |
| 10808 |
(Char const *)"VKI_MAX_PAGE_SIZE == 4096 || VKI_MAX_PAGE_SIZE == 65536", |
|
10808 |
(Char const *)"VKI_MAX_PAGE_SIZE == 4096 || VKI_MAX_PAGE_SIZE == 65536", |
| 10809 |
(Char const *)"m_main.c", 1575, |
|
10809 |
(Char const *)"m_main.c", 1575, |
| 10810 |
(Char const *)"valgrind_main", ""); |
|
10810 |
(Char const *)"valgrind_main", ""); |
| 10811 |
} |
|
10811 |
} |
| 10812 |
tmp___22 = __builtin_expect((long )(! (! (1UL << 12 <= 1UL << 12))), 1L); |
|
10812 |
tmp___22 = __builtin_expect((long )(! (! (1UL << 12 <= 1UL << 12))), 1L); |
| 10813 |
if (tmp___22) { |
|
10813 |
if (tmp___22) { |
| 10814 |
|
|
10814 |
|
| 10815 |
} else { |
|
10815 |
} else { |
| 10816 |
vgPlain_assert_fail((Bool )1, |
|
10816 |
vgPlain_assert_fail((Bool )1, |
| 10817 |
(Char const *)"VKI_PAGE_SIZE <= VKI_MAX_PAGE_SIZE", |
|
10817 |
(Char const *)"VKI_PAGE_SIZE <= VKI_MAX_PAGE_SIZE", |
| 10818 |
(Char const *)"m_main.c", 1576, |
|
10818 |
(Char const *)"m_main.c", 1576, |
| 10819 |
(Char const *)"valgrind_main", ""); |
|
10819 |
(Char const *)"valgrind_main", ""); |
| 10820 |
} |
|
10820 |
} |
| 10821 |
tmp___23 = __builtin_expect((long )(! (! (1UL << 12 == (unsigned long )(1 << 12)))), |
|
10821 |
tmp___23 = __builtin_expect((long )(! (! (1UL << 12 == (unsigned long )(1 << 12)))), |
| 10822 |
1L); |
|
10822 |
1L); |
| 10823 |
if (tmp___23) { |
|
10823 |
if (tmp___23) { |
| 10824 |
|
|
10824 |
|
| 10825 |
} else { |
|
10825 |
} else { |
| 10826 |
vgPlain_assert_fail((Bool )1, |
|
10826 |
vgPlain_assert_fail((Bool )1, |
| 10827 |
(Char const *)"VKI_PAGE_SIZE == (1 << VKI_PAGE_SHIFT)", |
|
10827 |
(Char const *)"VKI_PAGE_SIZE == (1 << VKI_PAGE_SHIFT)", |
| 10828 |
(Char const *)"m_main.c", 1577, |
|
10828 |
(Char const *)"m_main.c", 1577, |
| 10829 |
(Char const *)"valgrind_main", ""); |
|
10829 |
(Char const *)"valgrind_main", ""); |
| 10830 |
} |
|
10830 |
} |
| 10831 |
tmp___24 = __builtin_expect((long )(! (! (1UL << 12 == (unsigned long )(1 << 12)))), |
|
10831 |
tmp___24 = __builtin_expect((long )(! (! (1UL << 12 == (unsigned long )(1 << 12)))), |
| 10832 |
1L); |
|
10832 |
1L); |
| 10833 |
if (tmp___24) { |
|
10833 |
if (tmp___24) { |
| 10834 |
|
|
10834 |
|
| 10835 |
} else { |
|
10835 |
} else { |
| 10836 |
vgPlain_assert_fail((Bool )1, |
|
10836 |
vgPlain_assert_fail((Bool )1, |
| 10837 |
(Char const *)"VKI_MAX_PAGE_SIZE == (1 << VKI_MAX_PAGE_SHIFT)", |
|
10837 |
(Char const *)"VKI_MAX_PAGE_SIZE == (1 << VKI_MAX_PAGE_SHIFT)", |
| 10838 |
(Char const *)"m_main.c", 1578, |
|
10838 |
(Char const *)"m_main.c", 1578, |
| 10839 |
(Char const *)"valgrind_main", ""); |
|
10839 |
(Char const *)"valgrind_main", ""); |
| 10840 |
} |
|
10840 |
} |
| 10841 |
the_iicii.clstack_top = vgPlain_am_startup(the_iicii.sp_at_startup); |
|
10841 |
the_iicii.clstack_top = vgPlain_am_startup(the_iicii.sp_at_startup); |
| 10842 |
vgPlain_debugLog(1, "main", "Address space manager is running\n"); |
|
10842 |
vgPlain_debugLog(1, "main", "Address space manager is running\n"); |
| 10843 |
vgPlain_debugLog(1, "main", "Starting the dynamic memory manager\n"); |
|
10843 |
vgPlain_debugLog(1, "main", "Starting the dynamic memory manager\n"); |
| 10844 |
tmp___25 = vgPlain_malloc((HChar *)"main.vm.1", (SizeT )12345); |
|
10844 |
tmp___25 = vgPlain_malloc((HChar *)"main.vm.1", (SizeT )12345); |
| 10845 |
p = tmp___25; |
|
10845 |
p = tmp___25; |
| 10846 |
if (p) { |
|
10846 |
if (p) { |
| 10847 |
vgPlain_free(p); |
|
10847 |
vgPlain_free(p); |
| 10848 |
} else { |
|
10848 |
} else { |
| 10849 |
|
|
10849 |
|
| 10850 |
} |
|
10850 |
} |
| 10851 |
vgPlain_debugLog(1, "main", "Dynamic memory manager is running\n"); |
|
10851 |
vgPlain_debugLog(1, "main", "Dynamic memory manager is running\n"); |
| 10852 |
vgPlain_debugLog(1, "main", "Initialise m_debuginfo\n"); |
|
10852 |
vgPlain_debugLog(1, "main", "Initialise m_debuginfo\n"); |
| 10853 |
vgPlain_di_initialise(); |
|
10853 |
vgPlain_di_initialise(); |
| 10854 |
tmp___26 = vgPlain_getenv((Char *)"VALGRIND_LIB"); |
|
10854 |
tmp___26 = vgPlain_getenv((Char *)"VALGRIND_LIB"); |
| 10855 |
cp = (HChar *)tmp___26; |
|
10855 |
cp = (HChar *)tmp___26; |
| 10856 |
if ((unsigned int )cp != (unsigned int )((void *)0)) { |
|
10856 |
if ((unsigned int )cp != (unsigned int )((void *)0)) { |
| 10857 |
vgPlain_libdir = (Char const *)cp; |
|
10857 |
vgPlain_libdir = (Char const *)cp; |
| 10858 |
} else { |
|
10858 |
} else { |
| 10859 |
|
|
10859 |
|
| 10860 |
} |
|
10860 |
} |
| 10861 |
vgPlain_debugLog(1, "main", "VG_(libdir) = %s\n", vgPlain_libdir); |
|
10861 |
vgPlain_debugLog(1, "main", "VG_(libdir) = %s\n", vgPlain_libdir); |
| 10862 |
vgPlain_debugLog(1, "main", "Getting launcher\'s name ...\n"); |
|
10862 |
vgPlain_debugLog(1, "main", "Getting launcher\'s name ...\n"); |
| 10863 |
tmp___27 = vgPlain_getenv((Char *)"VALGRIND_LAUNCHER"); |
|
10863 |
tmp___27 = vgPlain_getenv((Char *)"VALGRIND_LAUNCHER"); |
| 10864 |
vgPlain_name_of_launcher = (HChar *)tmp___27; |
|
10864 |
vgPlain_name_of_launcher = (HChar *)tmp___27; |
| 10865 |
if ((unsigned int )vgPlain_name_of_launcher == (unsigned int )((void *)0)) { |
|
10865 |
if ((unsigned int )vgPlain_name_of_launcher == (unsigned int )((void *)0)) { |
| 10866 |
vgPlain_printf("valgrind: You cannot run \'%s\' directly.\n", *(argv + 0)); |
|
10866 |
vgPlain_printf("valgrind: You cannot run \'%s\' directly.\n", *(argv + 0)); |
| 10867 |
vgPlain_printf("valgrind: You should use $prefix/bin/valgrind.\n"); |
|
10867 |
vgPlain_printf("valgrind: You should use $prefix/bin/valgrind.\n"); |
| 10868 |
vgPlain_exit(1); |
|
10868 |
vgPlain_exit(1); |
| 10869 |
} else { |
|
10869 |
} else { |
| 10870 |
|
|
10870 |
|
| 10871 |
} |
|
10871 |
} |
| 10872 |
vgPlain_debugLog(1, "main", "... %s\n", vgPlain_name_of_launcher); |
|
10872 |
vgPlain_debugLog(1, "main", "... %s\n", vgPlain_name_of_launcher); |
| 10873 |
vgPlain_getrlimit(2, & vgPlain_client_rlimit_data); |
|
10873 |
vgPlain_getrlimit(2, & vgPlain_client_rlimit_data); |
| 10874 |
zero.rlim_max = vgPlain_client_rlimit_data.rlim_max; |
|
10874 |
zero.rlim_max = vgPlain_client_rlimit_data.rlim_max; |
| 10875 |
vgPlain_setrlimit(2, (struct vki_rlimit const *)(& zero)); |
|
10875 |
vgPlain_setrlimit(2, (struct vki_rlimit const *)(& zero)); |
| 10876 |
vgPlain_getrlimit(3, & vgPlain_client_rlimit_stack); |
|
10876 |
vgPlain_getrlimit(3, & vgPlain_client_rlimit_stack); |
| 10877 |
vgPlain_debugLog(1, "main", "Get hardware capabilities ...\n"); |
|
10877 |
vgPlain_debugLog(1, "main", "Get hardware capabilities ...\n"); |
| 10878 |
tmp___28 = vgPlain_machine_get_hwcaps(); |
|
10878 |
tmp___28 = vgPlain_machine_get_hwcaps(); |
| 10879 |
ok = tmp___28; |
|
10879 |
ok = tmp___28; |
| 10880 |
if (! ok) { |
|
10880 |
if (! ok) { |
| 10881 |
vgPlain_printf("\n"); |
|
10881 |
vgPlain_printf("\n"); |
| 10882 |
vgPlain_printf("valgrind: fatal error: unsupported CPU.\n"); |
|
10882 |
vgPlain_printf("valgrind: fatal error: unsupported CPU.\n"); |
| 10883 |
vgPlain_printf(" Supported CPUs are:\n"); |
|
10883 |
vgPlain_printf(" Supported CPUs are:\n"); |
| 10884 |
vgPlain_printf(" * x86 (practically any; Pentium-I or above), AMD Athlon or above)\n"); |
|
10884 |
vgPlain_printf(" * x86 (practically any; Pentium-I or above), AMD Athlon or above)\n"); |
| 10885 |
vgPlain_printf(" * AMD Athlon64/Opteron\n"); |
|
10885 |
vgPlain_printf(" * AMD Athlon64/Opteron\n"); |
| 10886 |
vgPlain_printf(" * PowerPC (most; ppc405 and above)\n"); |
|
10886 |
vgPlain_printf(" * PowerPC (most; ppc405 and above)\n"); |
| 10887 |
vgPlain_printf(" * System z (64bit only - s390x; z900 and above)\n"); |
|
10887 |
vgPlain_printf(" * System z (64bit only - s390x; z900 and above)\n"); |
| 10888 |
vgPlain_printf("\n"); |
|
10888 |
vgPlain_printf("\n"); |
| 10889 |
vgPlain_exit(1); |
|
10889 |
vgPlain_exit(1); |
| 10890 |
} else { |
|
10890 |
} else { |
| 10891 |
|
|
10891 |
|
| 10892 |
} |
|
10892 |
} |
| 10893 |
vgPlain_machine_get_VexArchInfo(& vex_arch, & vex_archinfo); |
|
10893 |
vgPlain_machine_get_VexArchInfo(& vex_arch, & vex_archinfo); |
| 10894 |
tmp___29 = LibVEX_ppVexHwCaps(vex_arch, vex_archinfo.hwcaps); |
|
10894 |
tmp___29 = LibVEX_ppVexHwCaps(vex_arch, vex_archinfo.hwcaps); |
| 10895 |
tmp___30 = LibVEX_ppVexArch(vex_arch); |
|
10895 |
tmp___30 = LibVEX_ppVexArch(vex_arch); |
| 10896 |
vgPlain_debugLog(1, "main", "... arch = %s, hwcaps = %s\n", tmp___30, tmp___29); |
|
10896 |
vgPlain_debugLog(1, "main", "... arch = %s, hwcaps = %s\n", tmp___30, tmp___29); |
| 10897 |
vgPlain_debugLog(1, "main", "Getting the working directory at startup\n"); |
|
10897 |
vgPlain_debugLog(1, "main", "Getting the working directory at startup\n"); |
| 10898 |
tmp___31 = vgPlain_record_startup_wd(); |
|
10898 |
tmp___31 = vgPlain_record_startup_wd(); |
| 10899 |
ok___0 = tmp___31; |
|
10899 |
ok___0 = tmp___31; |
| 10900 |
if (! ok___0) { |
|
10900 |
if (! ok___0) { |
| 10901 |
vgPlain_err_config_error((Char *)"Can\'t establish current working directory at startup"); |
|
10901 |
vgPlain_err_config_error((Char *)"Can\'t establish current working directory at startup"); |
| 10902 |
} else { |
|
10902 |
} else { |
| 10903 |
|
|
10903 |
|
| 10904 |
} |
|
10904 |
} |
| 10905 |
tmp___32 = vgPlain_get_startup_wd(buf, (SizeT )sizeof(buf)); |
|
10905 |
tmp___32 = vgPlain_get_startup_wd(buf, (SizeT )sizeof(buf)); |
| 10906 |
ok___1 = tmp___32; |
|
10906 |
ok___1 = tmp___32; |
| 10907 |
tmp___33 = __builtin_expect((long )(! (! ok___1)), 1L); |
|
10907 |
tmp___33 = __builtin_expect((long )(! (! ok___1)), 1L); |
| 10908 |
if (tmp___33) { |
|
10908 |
if (tmp___33) { |
| 10909 |
|
|
10909 |
|
| 10910 |
} else { |
|
10910 |
} else { |
| 10911 |
vgPlain_assert_fail((Bool )1, (Char const *)"ok", |
|
10911 |
vgPlain_assert_fail((Bool )1, (Char const *)"ok", |
| 10912 |
(Char const *)"m_main.c", 1677, |
|
10912 |
(Char const *)"m_main.c", 1677, |
| 10913 |
(Char const *)"valgrind_main", ""); |
|
10913 |
(Char const *)"valgrind_main", ""); |
| 10914 |
} |
|
10914 |
} |
| 10915 |
buf[4096] = (Char )0; |
|
10915 |
buf[4096] = (Char )0; |
| 10916 |
vgPlain_debugLog(1, "main", "... %s\n", buf); |
|
10916 |
vgPlain_debugLog(1, "main", "... %s\n", buf); |
| 10917 |
vgPlain_debugLog(1, "main", "Split up command line\n"); |
|
10917 |
vgPlain_debugLog(1, "main", "Split up command line\n"); |
| 10918 |
vgPlain_split_up_argv(argc, argv); |
|
10918 |
vgPlain_split_up_argv(argc, argv); |
| 10919 |
tmp___34 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
|
10919 |
tmp___34 = __builtin_expect((long )(! (! vgPlain_args_for_valgrind)), 1L); |
| 10920 |
if (tmp___34) { |
|
10920 |
if (tmp___34) { |
| 10921 |
|
|
10921 |
|
| 10922 |
} else { |
|
10922 |
} else { |
| 10923 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
|
10923 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_valgrind)", |
| 10924 |
(Char const *)"m_main.c", 1697, |
|
10924 |
(Char const *)"m_main.c", 1697, |
| 10925 |
(Char const *)"valgrind_main", ""); |
|
10925 |
(Char const *)"valgrind_main", ""); |
| 10926 |
} |
|
10926 |
} |
| 10927 |
tmp___35 = __builtin_expect((long )(! (! vgPlain_args_for_client)), 1L); |
|
10927 |
tmp___35 = __builtin_expect((long )(! (! vgPlain_args_for_client)), 1L); |
| 10928 |
if (tmp___35) { |
|
10928 |
if (tmp___35) { |
| 10929 |
|
|
10929 |
|
| 10930 |
} else { |
|
10930 |
} else { |
| 10931 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_client)", |
|
10931 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(args_for_client)", |
| 10932 |
(Char const *)"m_main.c", 1698, |
|
10932 |
(Char const *)"m_main.c", 1698, |
| 10933 |
(Char const *)"valgrind_main", ""); |
|
10933 |
(Char const *)"valgrind_main", ""); |
| 10934 |
} |
|
10934 |
} |
| 10935 |
vgPlain_debugLog(1, "main", |
|
10935 |
vgPlain_debugLog(1, "main", |
| 10936 |
"(early_) Process Valgrind\'s command line options\n"); |
|
10936 |
"(early_) Process Valgrind\'s command line options\n"); |
| 10937 |
early_process_cmd_line_options(& need_help, & toolname); |
|
10937 |
early_process_cmd_line_options(& need_help, & toolname); |
| 10938 |
LibVEX_default_VexControl(& vgPlain_clo_vex_control); |
|
10938 |
LibVEX_default_VexControl(& vgPlain_clo_vex_control); |
| 10939 |
if (! need_help) { |
|
10939 |
if (! need_help) { |
| 10940 |
vgPlain_debugLog(1, "main", "Create initial image\n"); |
|
10940 |
vgPlain_debugLog(1, "main", "Create initial image\n"); |
| 10941 |
the_iicii.argv = argv; |
|
10941 |
the_iicii.argv = argv; |
| 10942 |
the_iicii.envp = envp; |
|
10942 |
the_iicii.envp = envp; |
| 10943 |
the_iicii.toolname = toolname; |
|
10943 |
the_iicii.toolname = toolname; |
| 10944 |
the_iifii = vgPlain_ii_create_image(the_iicii); |
|
10944 |
the_iifii = vgPlain_ii_create_image(the_iicii); |
| 10945 |
} else { |
|
10945 |
} else { |
| 10946 |
|
|
10946 |
|
| 10947 |
} |
|
10947 |
} |
| 10948 |
vgPlain_debugLog(1, "main", "Setup file descriptors\n"); |
|
10948 |
vgPlain_debugLog(1, "main", "Setup file descriptors\n"); |
| 10949 |
setup_file_descriptors(); |
|
10949 |
setup_file_descriptors(); |
| 10950 |
if (! need_help) { |
|
10950 |
if (! need_help) { |
| 10951 |
vgPlain_debugLog(1, "main", "Create fake /proc/<pid>/cmdline\n"); |
|
10951 |
vgPlain_debugLog(1, "main", "Create fake /proc/<pid>/cmdline\n"); |
| 10952 |
tmp___40 = vgPlain_getpid(); |
|
10952 |
tmp___40 = vgPlain_getpid(); |
| 10953 |
vgPlain_sprintf((Char *)(buf___0), "proc_%d_cmdline", tmp___40); |
|
10953 |
vgPlain_sprintf((Char *)(buf___0), "proc_%d_cmdline", tmp___40); |
| 10954 |
fd = vgPlain_mkstemp(buf___0, buf2); |
|
10954 |
fd = vgPlain_mkstemp(buf___0, buf2); |
| 10955 |
if (fd == -1) { |
|
10955 |
if (fd == -1) { |
| 10956 |
vgPlain_err_config_error((Char *)"Can\'t create client cmdline file in /tmp."); |
|
10956 |
vgPlain_err_config_error((Char *)"Can\'t create client cmdline file in /tmp."); |
| 10957 |
} else { |
|
10957 |
} else { |
| 10958 |
|
|
10958 |
|
| 10959 |
} |
|
10959 |
} |
| 10960 |
nul[0] = (HChar )0; |
|
10960 |
nul[0] = (HChar )0; |
| 10961 |
if (vgPlain_args_the_exename) { |
|
10961 |
if (vgPlain_args_the_exename) { |
| 10962 |
exename = vgPlain_args_the_exename; |
|
10962 |
exename = vgPlain_args_the_exename; |
| 10963 |
} else { |
|
10963 |
} else { |
| 10964 |
exename = "unknown_exename"; |
|
10964 |
exename = "unknown_exename"; |
| 10965 |
} |
|
10965 |
} |
| 10966 |
tmp___41 = vgPlain_strlen((Char const *)exename); |
|
10966 |
tmp___41 = vgPlain_strlen((Char const *)exename); |
| 10967 |
vgPlain_write(fd, (void const *)exename, (Int )tmp___41); |
|
10967 |
vgPlain_write(fd, (void const *)exename, (Int )tmp___41); |
| 10968 |
vgPlain_write(fd, (void const *)(nul), 1); |
|
10968 |
vgPlain_write(fd, (void const *)(nul), 1); |
| 10969 |
i = 0; |
|
10969 |
i = 0; |
| 10970 |
while (1) { |
|
10970 |
while (1) { |
| 10971 |
tmp___44 = vgPlain_sizeXA(vgPlain_args_for_client); |
|
10971 |
tmp___44 = vgPlain_sizeXA(vgPlain_args_for_client); |
| 10972 |
if ((Word )i < tmp___44) { |
|
10972 |
if ((Word )i < tmp___44) { |
| 10973 |
|
|
10973 |
|
| 10974 |
} else { |
|
10974 |
} else { |
| 10975 |
break; |
|
10975 |
break; |
| 10976 |
} |
|
10976 |
} |
| 10977 |
tmp___42 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
|
10977 |
tmp___42 = vgPlain_indexXA(vgPlain_args_for_client, (Word )i); |
| 10978 |
arg = *((HChar **)tmp___42); |
|
10978 |
arg = *((HChar **)tmp___42); |
| 10979 |
tmp___43 = vgPlain_strlen((Char const *)arg); |
|
10979 |
tmp___43 = vgPlain_strlen((Char const *)arg); |
| 10980 |
vgPlain_write(fd, (void const *)arg, (Int )tmp___43); |
|
10980 |
vgPlain_write(fd, (void const *)arg, (Int )tmp___43); |
| 10981 |
vgPlain_write(fd, (void const *)(nul), 1); |
|
10981 |
vgPlain_write(fd, (void const *)(nul), 1); |
| 10982 |
i ++; |
|
10982 |
i ++; |
| 10983 |
} |
|
10983 |
} |
| 10984 |
r = vgPlain_unlink((Char const *)(buf2)); |
|
10984 |
r = vgPlain_unlink((Char const *)(buf2)); |
| 10985 |
if (r) { |
|
10985 |
if (r) { |
| 10986 |
vgPlain_err_config_error((Char *)"Can\'t delete client cmdline file in /tmp."); |
|
10986 |
vgPlain_err_config_error((Char *)"Can\'t delete client cmdline file in /tmp."); |
| 10987 |
} else { |
|
10987 |
} else { |
| 10988 |
|
|
10988 |
|
| 10989 |
} |
|
10989 |
} |
| 10990 |
vgPlain_cl_cmdline_fd = fd; |
|
10990 |
vgPlain_cl_cmdline_fd = fd; |
| 10991 |
} else { |
|
10991 |
} else { |
| 10992 |
|
|
10992 |
|
| 10993 |
} |
|
10993 |
} |
| 10994 |
vgPlain_debugLog(1, "main", "Initialise the tool part 1 (pre_clo_init)\n"); |
|
10994 |
vgPlain_debugLog(1, "main", "Initialise the tool part 1 (pre_clo_init)\n"); |
| 10995 |
(*vgPlain_tl_pre_clo_init)(); |
|
10995 |
(*vgPlain_tl_pre_clo_init)(); |
| 10996 |
vgPlain_debugLog(1, "main", "Print help and quit, if requested\n"); |
|
10996 |
vgPlain_debugLog(1, "main", "Print help and quit, if requested\n"); |
| 10997 |
if (need_help) { |
|
10997 |
if (need_help) { |
| 10998 |
usage_NORETURN((Bool )(need_help >= 2)); |
|
10998 |
usage_NORETURN((Bool )(need_help >= 2)); |
| 10999 |
} else { |
|
10999 |
} else { |
| 11000 |
|
|
11000 |
|
| 11001 |
} |
|
11001 |
} |
| 11002 |
vgPlain_debugLog(1, "main", |
|
11002 |
vgPlain_debugLog(1, "main", |
| 11003 |
"(main_) Process Valgrind\'s command line options, setup logging\n"); |
|
11003 |
"(main_) Process Valgrind\'s command line options, setup logging\n"); |
| 11004 |
main_process_cmd_line_options(& logging_to_fd, & xml_fname_unexpanded, |
|
11004 |
main_process_cmd_line_options(& logging_to_fd, & xml_fname_unexpanded, |
| 11005 |
(HChar const *)toolname); |
|
11005 |
(HChar const *)toolname); |
| 11006 |
vgPlain_read_millisecond_timer(); |
|
11006 |
vgPlain_read_millisecond_timer(); |
| 11007 |
vgPlain_debugLog(1, "main", "Print the preamble...\n"); |
|
11007 |
vgPlain_debugLog(1, "main", "Print the preamble...\n"); |
| 11008 |
print_preamble(logging_to_fd, xml_fname_unexpanded, (HChar const *)toolname); |
|
11008 |
print_preamble(logging_to_fd, xml_fname_unexpanded, (HChar const *)toolname); |
| 11009 |
vgPlain_debugLog(1, "main", "...finished the preamble\n"); |
|
11009 |
vgPlain_debugLog(1, "main", "...finished the preamble\n"); |
| 11010 |
vgPlain_debugLog(1, "main", "Initialise the tool part 2 (post_clo_init)\n"); |
|
11010 |
vgPlain_debugLog(1, "main", "Initialise the tool part 2 (post_clo_init)\n"); |
| 11011 |
tmp___45 = __builtin_expect((long )(! (! vgPlain_tdict.tool_post_clo_init)), |
|
11011 |
tmp___45 = __builtin_expect((long )(! (! vgPlain_tdict.tool_post_clo_init)), |
| 11012 |
1L); |
|
11012 |
1L); |
| 11013 |
if (tmp___45) { |
|
11013 |
if (tmp___45) { |
| 11014 |
|
|
11014 |
|
| 11015 |
} else { |
|
11015 |
} else { |
| 11016 |
vgPlain_assert_fail((Bool )0, |
|
11016 |
vgPlain_assert_fail((Bool )0, |
| 11017 |
(Char const *)"VG_(tdict).tool_post_clo_init", |
|
11017 |
(Char const *)"VG_(tdict).tool_post_clo_init", |
| 11018 |
(Char const *)"m_main.c", 1916, |
|
11018 |
(Char const *)"m_main.c", 1916, |
| 11019 |
(Char const *)"valgrind_main", |
|
11019 |
(Char const *)"valgrind_main", |
| 11020 |
"you forgot to set VgToolInterface function \'tool_post_clo_init\'"); |
|
11020 |
"you forgot to set VgToolInterface function \'tool_post_clo_init\'"); |
| 11021 |
} |
|
11021 |
} |
| 11022 |
(*(vgPlain_tdict.tool_post_clo_init))(); |
|
11022 |
(*(vgPlain_tdict.tool_post_clo_init))(); |
| 11023 |
ok___2 = vgPlain_sanity_check_needs(& s); |
|
11023 |
ok___2 = vgPlain_sanity_check_needs(& s); |
| 11024 |
if (! ok___2) { |
|
11024 |
if (! ok___2) { |
| 11025 |
vgPlain_tool_panic(s); |
|
11025 |
vgPlain_tool_panic(s); |
| 11026 |
} else { |
|
11026 |
} else { |
| 11027 |
|
|
11027 |
|
| 11028 |
} |
|
11028 |
} |
| 11029 |
vgPlain_debugLog(1, "main", "Initialise TT/TC\n"); |
|
11029 |
vgPlain_debugLog(1, "main", "Initialise TT/TC\n"); |
| 11030 |
vgPlain_init_tt_tc(); |
|
11030 |
vgPlain_init_tt_tc(); |
| 11031 |
vgPlain_debugLog(1, "main", "Initialise redirects\n"); |
|
11031 |
vgPlain_debugLog(1, "main", "Initialise redirects\n"); |
| 11032 |
vgPlain_redir_initialise(); |
|
11032 |
vgPlain_redir_initialise(); |
| 11033 |
if (vgPlain_clo_wait_for_gdb) { |
|
11033 |
if (vgPlain_clo_wait_for_gdb) { |
| 11034 |
vgPlain_debugLog(1, "main", "Wait for GDB\n"); |
|
11034 |
vgPlain_debugLog(1, "main", "Wait for GDB\n"); |
| 11035 |
tmp___46 = vgPlain_getpid(); |
|
11035 |
tmp___46 = vgPlain_getpid(); |
| 11036 |
vgPlain_printf("pid=%d, entering delay loop\n", tmp___46); |
|
11036 |
vgPlain_printf("pid=%d, entering delay loop\n", tmp___46); |
| 11037 |
iters = (Long )5; |
|
11037 |
iters = (Long )5; |
| 11038 |
iters *= 1000000000LL; |
|
11038 |
iters *= 1000000000LL; |
| 11039 |
q = (Long volatile )0; |
|
11039 |
q = (Long volatile )0; |
| 11040 |
while (q < (Long volatile )iters) { |
|
11040 |
while (q < (Long volatile )iters) { |
| 11041 |
q += (Long volatile )1; |
|
11041 |
q += (Long volatile )1; |
| 11042 |
} |
|
11042 |
} |
| 11043 |
} else { |
|
11043 |
} else { |
| 11044 |
|
|
11044 |
|
| 11045 |
} |
|
11045 |
} |
| 11046 |
if (vgPlain_clo_track_fds) { |
|
11046 |
if (vgPlain_clo_track_fds) { |
| 11047 |
vgPlain_debugLog(1, "main", "Init preopened fds\n"); |
|
11047 |
vgPlain_debugLog(1, "main", "Init preopened fds\n"); |
| 11048 |
vgPlain_init_preopened_fds(); |
|
11048 |
vgPlain_init_preopened_fds(); |
| 11049 |
} else { |
|
11049 |
} else { |
| 11050 |
|
|
11050 |
|
| 11051 |
} |
|
11051 |
} |
| 11052 |
vgPlain_debugLog(1, "main", "Load initial debug info\n"); |
|
11052 |
vgPlain_debugLog(1, "main", "Load initial debug info\n"); |
| 11053 |
tmp___47 = __builtin_expect((long )(! (! (! addr2dihandle))), 1L); |
|
11053 |
tmp___47 = __builtin_expect((long )(! (! (! addr2dihandle))), 1L); |
| 11054 |
if (tmp___47) { |
|
11054 |
if (tmp___47) { |
| 11055 |
|
|
11055 |
|
| 11056 |
} else { |
|
11056 |
} else { |
| 11057 |
vgPlain_assert_fail((Bool )0, (Char const *)"!addr2dihandle", |
|
11057 |
vgPlain_assert_fail((Bool )0, (Char const *)"!addr2dihandle", |
| 11058 |
(Char const *)"m_main.c", 2009, |
|
11058 |
(Char const *)"m_main.c", 2009, |
| 11059 |
(Char const *)"valgrind_main", ""); |
|
11059 |
(Char const *)"valgrind_main", ""); |
| 11060 |
} |
|
11060 |
} |
| 11061 |
addr2dihandle = vgPlain_newXA(& vgPlain_malloc, (HChar *)"main.vm.2", |
|
11061 |
addr2dihandle = vgPlain_newXA(& vgPlain_malloc, (HChar *)"main.vm.2", |
| 11062 |
& vgPlain_free, (Word )sizeof(Addr_n_ULong )); |
|
11062 |
& vgPlain_free, (Word )sizeof(Addr_n_ULong )); |
| 11063 |
tmp___48 = __builtin_expect((long )(! (! addr2dihandle)), 1L); |
|
11063 |
tmp___48 = __builtin_expect((long )(! (! addr2dihandle)), 1L); |
| 11064 |
if (tmp___48) { |
|
11064 |
if (tmp___48) { |
| 11065 |
|
|
11065 |
|
| 11066 |
} else { |
|
11066 |
} else { |
| 11067 |
vgPlain_assert_fail((Bool )0, (Char const *)"addr2dihandle", |
|
11067 |
vgPlain_assert_fail((Bool )0, (Char const *)"addr2dihandle", |
| 11068 |
(Char const *)"m_main.c", 2012, |
|
11068 |
(Char const *)"m_main.c", 2012, |
| 11069 |
(Char const *)"valgrind_main", ""); |
|
11069 |
(Char const *)"valgrind_main", ""); |
| 11070 |
} |
|
11070 |
} |
| 11071 |
seg_starts = vgPlain_get_segment_starts(& n_seg_starts); |
|
11071 |
seg_starts = vgPlain_get_segment_starts(& n_seg_starts); |
| 11072 |
if (seg_starts) { |
|
11072 |
if (seg_starts) { |
| 11073 |
if (n_seg_starts >= 0) { |
|
11073 |
if (n_seg_starts >= 0) { |
| 11074 |
tmp___49 = 1; |
|
11074 |
tmp___49 = 1; |
| 11075 |
} else { |
|
11075 |
} else { |
| 11076 |
tmp___49 = 0; |
|
11076 |
tmp___49 = 0; |
| 11077 |
} |
|
11077 |
} |
| 11078 |
} else { |
|
11078 |
} else { |
| 11079 |
tmp___49 = 0; |
|
11079 |
tmp___49 = 0; |
| 11080 |
} |
|
11080 |
} |
| 11081 |
tmp___50 = __builtin_expect((long )tmp___49, 1L); |
|
11081 |
tmp___50 = __builtin_expect((long )tmp___49, 1L); |
| 11082 |
if (tmp___50) { |
|
11082 |
if (tmp___50) { |
| 11083 |
|
|
11083 |
|
| 11084 |
} else { |
|
11084 |
} else { |
| 11085 |
vgPlain_assert_fail((Bool )1, |
|
11085 |
vgPlain_assert_fail((Bool )1, |
| 11086 |
(Char const *)"seg_starts && n_seg_starts >= 0", |
|
11086 |
(Char const *)"seg_starts && n_seg_starts >= 0", |
| 11087 |
(Char const *)"m_main.c", 2020, |
|
11087 |
(Char const *)"m_main.c", 2020, |
| 11088 |
(Char const *)"valgrind_main", ""); |
|
11088 |
(Char const *)"valgrind_main", ""); |
| 11089 |
} |
|
11089 |
} |
| 11090 |
i = 0; |
|
11090 |
i = 0; |
| 11091 |
while (i < n_seg_starts) { |
|
11091 |
while (i < n_seg_starts) { |
| 11092 |
anu.ull = vgPlain_di_notify_mmap(*(seg_starts + i), (Bool )1); |
|
11092 |
anu.ull = vgPlain_di_notify_mmap(*(seg_starts + i), (Bool )1); |
| 11093 |
if (anu.ull > 0ULL) { |
|
11093 |
if (anu.ull > 0ULL) { |
| 11094 |
anu.a = *(seg_starts + i); |
|
11094 |
anu.a = *(seg_starts + i); |
| 11095 |
vgPlain_addToXA(addr2dihandle, (void *)(& anu)); |
|
11095 |
vgPlain_addToXA(addr2dihandle, (void *)(& anu)); |
| 11096 |
} else { |
|
11096 |
} else { |
| 11097 |
|
|
11097 |
|
| 11098 |
} |
|
11098 |
} |
| 11099 |
i ++; |
|
11099 |
i ++; |
| 11100 |
} |
|
11100 |
} |
| 11101 |
vgPlain_free((void *)seg_starts); |
|
11101 |
vgPlain_free((void *)seg_starts); |
| 11102 |
co_start = (Addr )(& vgPlain_trampoline_stuff_start) & ~ ((1UL << 12) - 1UL); |
|
11102 |
co_start = (Addr )(& vgPlain_trampoline_stuff_start) & ~ ((1UL << 12) - 1UL); |
| 11103 |
co_endPlus = (((Addr )(& vgPlain_trampoline_stuff_end) + (1UL << 12)) - 1UL) & ~ ((1UL << 12) - 1UL); |
|
11103 |
co_endPlus = (((Addr )(& vgPlain_trampoline_stuff_end) + (1UL << 12)) - 1UL) & ~ ((1UL << 12) - 1UL); |
| 11104 |
vgPlain_debugLog(1, "redir", |
|
11104 |
vgPlain_debugLog(1, "redir", |
| 11105 |
"transfer ownership V -> C of 0x%llx .. 0x%llx\n", |
|
11105 |
"transfer ownership V -> C of 0x%llx .. 0x%llx\n", |
| 11106 |
(ULong )co_start, (ULong )co_endPlus - 1ULL); |
|
11106 |
(ULong )co_start, (ULong )co_endPlus - 1ULL); |
| 11107 |
change_ownership_v_c_OK = vgPlain_am_change_ownership_v_to_c(co_start, |
|
11107 |
change_ownership_v_c_OK = vgPlain_am_change_ownership_v_to_c(co_start, |
| 11108 |
co_endPlus - co_start); |
|
11108 |
co_endPlus - co_start); |
| 11109 |
tmp___51 = __builtin_expect((long )(! (! change_ownership_v_c_OK)), 1L); |
|
11109 |
tmp___51 = __builtin_expect((long )(! (! change_ownership_v_c_OK)), 1L); |
| 11110 |
if (tmp___51) { |
|
11110 |
if (tmp___51) { |
| 11111 |
|
|
11111 |
|
| 11112 |
} else { |
|
11112 |
} else { |
| 11113 |
vgPlain_assert_fail((Bool )1, (Char const *)"change_ownership_v_c_OK", |
|
11113 |
vgPlain_assert_fail((Bool )1, (Char const *)"change_ownership_v_c_OK", |
| 11114 |
(Char const *)"m_main.c", 2107, |
|
11114 |
(Char const *)"m_main.c", 2107, |
| 11115 |
(Char const *)"valgrind_main", ""); |
|
11115 |
(Char const *)"valgrind_main", ""); |
| 11116 |
} |
|
11116 |
} |
| 11117 |
vgPlain_debugLog(1, "main", "Initialise scheduler (phase 1)\n"); |
|
11117 |
vgPlain_debugLog(1, "main", "Initialise scheduler (phase 1)\n"); |
| 11118 |
tid_main = vgPlain_scheduler_init_phase1(); |
|
11118 |
tid_main = vgPlain_scheduler_init_phase1(); |
| 11119 |
if (tid_main >= 0U) { |
|
11119 |
if (tid_main >= 0U) { |
| 11120 |
if (tid_main < 500U) { |
|
11120 |
if (tid_main < 500U) { |
| 11121 |
if (tid_main != 0U) { |
|
11121 |
if (tid_main != 0U) { |
| 11122 |
tmp___52 = 1; |
|
11122 |
tmp___52 = 1; |
| 11123 |
} else { |
|
11123 |
} else { |
| 11124 |
tmp___52 = 0; |
|
11124 |
tmp___52 = 0; |
| 11125 |
} |
|
11125 |
} |
| 11126 |
} else { |
|
11126 |
} else { |
| 11127 |
tmp___52 = 0; |
|
11127 |
tmp___52 = 0; |
| 11128 |
} |
|
11128 |
} |
| 11129 |
} else { |
|
11129 |
} else { |
| 11130 |
tmp___52 = 0; |
|
11130 |
tmp___52 = 0; |
| 11131 |
} |
|
11131 |
} |
| 11132 |
tmp___53 = __builtin_expect((long )tmp___52, 1L); |
|
11132 |
tmp___53 = __builtin_expect((long )tmp___52, 1L); |
| 11133 |
if (tmp___53) { |
|
11133 |
if (tmp___53) { |
| 11134 |
|
|
11134 |
|
| 11135 |
} else { |
|
11135 |
} else { |
| 11136 |
vgPlain_assert_fail((Bool )1, |
|
11136 |
vgPlain_assert_fail((Bool )1, |
| 11137 |
(Char const *)"tid_main >= 0 && tid_main < VG_N_THREADS && tid_main != VG_INVALID_THREADID", |
|
11137 |
(Char const *)"tid_main >= 0 && tid_main < VG_N_THREADS && tid_main != VG_INVALID_THREADID", |
| 11138 |
(Char const *)"m_main.c", 2117, |
|
11138 |
(Char const *)"m_main.c", 2117, |
| 11139 |
(Char const *)"valgrind_main", ""); |
|
11139 |
(Char const *)"valgrind_main", ""); |
| 11140 |
} |
|
11140 |
} |
| 11141 |
while (1) { |
|
11141 |
while (1) { |
| 11142 |
if (vgPlain_tdict.track_pre_thread_ll_create) { |
|
11142 |
if (vgPlain_tdict.track_pre_thread_ll_create) { |
| 11143 |
(*(vgPlain_tdict.track_pre_thread_ll_create))((ThreadId )0, tid_main); |
|
11143 |
(*(vgPlain_tdict.track_pre_thread_ll_create))((ThreadId )0, tid_main); |
| 11144 |
} else { |
|
11144 |
} else { |
| 11145 |
|
|
11145 |
|
| 11146 |
} |
|
11146 |
} |
| 11147 |
break; |
|
11147 |
break; |
| 11148 |
} |
|
11148 |
} |
| 11149 |
vgPlain_debugLog(1, "main", "Tell tool about initial permissions\n"); |
|
11149 |
vgPlain_debugLog(1, "main", "Tell tool about initial permissions\n"); |
| 11150 |
tmp___54 = __builtin_expect((long )(! (! addr2dihandle)), 1L); |
|
11150 |
tmp___54 = __builtin_expect((long )(! (! addr2dihandle)), 1L); |
| 11151 |
if (tmp___54) { |
|
11151 |
if (tmp___54) { |
| 11152 |
|
|
11152 |
|
| 11153 |
} else { |
|
11153 |
} else { |
| 11154 |
vgPlain_assert_fail((Bool )0, (Char const *)"addr2dihandle", |
|
11154 |
vgPlain_assert_fail((Bool )0, (Char const *)"addr2dihandle", |
| 11155 |
(Char const *)"m_main.c", 2137, |
|
11155 |
(Char const *)"m_main.c", 2137, |
| 11156 |
(Char const *)"valgrind_main", ""); |
|
11156 |
(Char const *)"valgrind_main", ""); |
| 11157 |
} |
|
11157 |
} |
| 11158 |
tmp___55 = __builtin_expect((long )(! (! (vgPlain_running_tid == 0U))), 1L); |
|
11158 |
tmp___55 = __builtin_expect((long )(! (! (vgPlain_running_tid == 0U))), 1L); |
| 11159 |
if (tmp___55) { |
|
11159 |
if (tmp___55) { |
| 11160 |
|
|
11160 |
|
| 11161 |
} else { |
|
11161 |
} else { |
| 11162 |
vgPlain_assert_fail((Bool )0, |
|
11162 |
vgPlain_assert_fail((Bool )0, |
| 11163 |
(Char const *)"VG_(running_tid) == VG_INVALID_THREADID", |
|
11163 |
(Char const *)"VG_(running_tid) == VG_INVALID_THREADID", |
| 11164 |
(Char const *)"m_main.c", 2142, |
|
11164 |
(Char const *)"m_main.c", 2142, |
| 11165 |
(Char const *)"valgrind_main", ""); |
|
11165 |
(Char const *)"valgrind_main", ""); |
| 11166 |
} |
|
11166 |
} |
| 11167 |
vgPlain_running_tid = tid_main; |
|
11167 |
vgPlain_running_tid = tid_main; |
| 11168 |
seg_starts___0 = vgPlain_get_segment_starts(& n_seg_starts___0); |
|
11168 |
seg_starts___0 = vgPlain_get_segment_starts(& n_seg_starts___0); |
| 11169 |
if (seg_starts___0) { |
|
11169 |
if (seg_starts___0) { |
| 11170 |
if (n_seg_starts___0 >= 0) { |
|
11170 |
if (n_seg_starts___0 >= 0) { |
| 11171 |
tmp___56 = 1; |
|
11171 |
tmp___56 = 1; |
| 11172 |
} else { |
|
11172 |
} else { |
| 11173 |
tmp___56 = 0; |
|
11173 |
tmp___56 = 0; |
| 11174 |
} |
|
11174 |
} |
| 11175 |
} else { |
|
11175 |
} else { |
| 11176 |
tmp___56 = 0; |
|
11176 |
tmp___56 = 0; |
| 11177 |
} |
|
11177 |
} |
| 11178 |
tmp___57 = __builtin_expect((long )tmp___56, 1L); |
|
11178 |
tmp___57 = __builtin_expect((long )tmp___56, 1L); |
| 11179 |
if (tmp___57) { |
|
11179 |
if (tmp___57) { |
| 11180 |
|
|
11180 |
|
| 11181 |
} else { |
|
11181 |
} else { |
| 11182 |
vgPlain_assert_fail((Bool )1, |
|
11182 |
vgPlain_assert_fail((Bool )1, |
| 11183 |
(Char const *)"seg_starts && n_seg_starts >= 0", |
|
11183 |
(Char const *)"seg_starts && n_seg_starts >= 0", |
| 11184 |
(Char const *)"m_main.c", 2146, |
|
11184 |
(Char const *)"m_main.c", 2146, |
| 11185 |
(Char const *)"valgrind_main", ""); |
|
11185 |
(Char const *)"valgrind_main", ""); |
| 11186 |
} |
|
11186 |
} |
| 11187 |
i = 0; |
|
11187 |
i = 0; |
| 11188 |
while (i < n_seg_starts___0) { |
|
11188 |
while (i < n_seg_starts___0) { |
| 11189 |
tmp___58 = vgPlain_am_find_nsegment(*(seg_starts___0 + i)); |
|
11189 |
tmp___58 = vgPlain_am_find_nsegment(*(seg_starts___0 + i)); |
| 11190 |
seg = tmp___58; |
|
11190 |
seg = tmp___58; |
| 11191 |
tmp___59 = __builtin_expect((long )(! (! seg)), 1L); |
|
11191 |
tmp___59 = __builtin_expect((long )(! (! seg)), 1L); |
| 11192 |
if (tmp___59) { |
|
11192 |
if (tmp___59) { |
| 11193 |
|
|
11193 |
|
| 11194 |
} else { |
|
11194 |
} else { |
| 11195 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
|
11195 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
| 11196 |
(Char const *)"m_main.c", 2153, |
|
11196 |
(Char const *)"m_main.c", 2153, |
| 11197 |
(Char const *)"valgrind_main", ""); |
|
11197 |
(Char const *)"valgrind_main", ""); |
| 11198 |
} |
|
11198 |
} |
| 11199 |
if ((unsigned int const )seg->kind == 3U) { |
|
11199 |
if ((unsigned int const )seg->kind == 3U) { |
| 11200 |
goto _L; |
|
11200 |
goto _L; |
| 11201 |
} else |
|
11201 |
} else |
| 11202 |
if ((unsigned int const )seg->kind == 1U) { |
|
11202 |
if ((unsigned int const )seg->kind == 1U) { |
| 11203 |
_L: |
|
11203 |
_L: |
| 11204 |
tmp___60 = __builtin_expect((long )(! (! (seg->start == (Addr const )*(seg_starts___0 + i)))), |
|
11204 |
tmp___60 = __builtin_expect((long )(! (! (seg->start == (Addr const )*(seg_starts___0 + i)))), |
| 11205 |
1L); |
|
11205 |
1L); |
| 11206 |
if (tmp___60) { |
|
11206 |
if (tmp___60) { |
| 11207 |
|
|
11207 |
|
| 11208 |
} else { |
|
11208 |
} else { |
| 11209 |
vgPlain_assert_fail((Bool )1, |
|
11209 |
vgPlain_assert_fail((Bool )1, |
| 11210 |
(Char const *)"seg->start == seg_starts[i]", |
|
11210 |
(Char const *)"seg->start == seg_starts[i]", |
| 11211 |
(Char const *)"m_main.c", 2176, |
|
11211 |
(Char const *)"m_main.c", 2176, |
| 11212 |
(Char const *)"valgrind_main", ""); |
|
11212 |
(Char const *)"valgrind_main", ""); |
| 11213 |
} |
|
11213 |
} |
| 11214 |
if (seg->hasX) { |
|
11214 |
if (seg->hasX) { |
| 11215 |
tmp___61 = 'x'; |
|
11215 |
tmp___61 = 'x'; |
| 11216 |
} else { |
|
11216 |
} else { |
| 11217 |
tmp___61 = '-'; |
|
11217 |
tmp___61 = '-'; |
| 11218 |
} |
|
11218 |
} |
| 11219 |
if (seg->hasW) { |
|
11219 |
if (seg->hasW) { |
| 11220 |
tmp___62 = 'w'; |
|
11220 |
tmp___62 = 'w'; |
| 11221 |
} else { |
|
11221 |
} else { |
| 11222 |
tmp___62 = '-'; |
|
11222 |
tmp___62 = '-'; |
| 11223 |
} |
|
11223 |
} |
| 11224 |
if (seg->hasR) { |
|
11224 |
if (seg->hasR) { |
| 11225 |
tmp___63 = 'r'; |
|
11225 |
tmp___63 = 'r'; |
| 11226 |
} else { |
|
11226 |
} else { |
| 11227 |
tmp___63 = '-'; |
|
11227 |
tmp___63 = '-'; |
| 11228 |
} |
|
11228 |
} |
| 11229 |
vgPlain_debugLog(2, "main", "tell tool about %010lx-%010lx %c%c%c\n", |
|
11229 |
vgPlain_debugLog(2, "main", "tell tool about %010lx-%010lx %c%c%c\n", |
| 11230 |
seg->start, seg->end, tmp___63, tmp___62, tmp___61); |
|
11230 |
seg->start, seg->end, tmp___63, tmp___62, tmp___61); |
| 11231 |
n = vgPlain_sizeXA(addr2dihandle); |
|
11231 |
n = vgPlain_sizeXA(addr2dihandle); |
| 11232 |
j = (Word )0; |
|
11232 |
j = (Word )0; |
| 11233 |
while (j < n) { |
|
11233 |
while (j < n) { |
| 11234 |
tmp___64 = vgPlain_indexXA(addr2dihandle, j); |
|
11234 |
tmp___64 = vgPlain_indexXA(addr2dihandle, j); |
| 11235 |
anl = (Addr_n_ULong *)tmp___64; |
|
11235 |
anl = (Addr_n_ULong *)tmp___64; |
| 11236 |
if (anl->a == (Addr )seg->start) { |
|
11236 |
if (anl->a == (Addr )seg->start) { |
| 11237 |
tmp___65 = __builtin_expect((long )(! (! (anl->ull > 0ULL))), 1L); |
|
11237 |
tmp___65 = __builtin_expect((long )(! (! (anl->ull > 0ULL))), 1L); |
| 11238 |
if (tmp___65) { |
|
11238 |
if (tmp___65) { |
| 11239 |
|
|
11239 |
|
| 11240 |
} else { |
|
11240 |
} else { |
| 11241 |
vgPlain_assert_fail((Bool )0, (Char const *)"anl->ull > 0", |
|
11241 |
vgPlain_assert_fail((Bool )0, (Char const *)"anl->ull > 0", |
| 11242 |
(Char const *)"m_main.c", 2189, |
|
11242 |
(Char const *)"m_main.c", 2189, |
| 11243 |
(Char const *)"valgrind_main", ""); |
|
11243 |
(Char const *)"valgrind_main", ""); |
| 11244 |
} |
|
11244 |
} |
| 11245 |
break; |
|
11245 |
break; |
| 11246 |
} else { |
|
11246 |
} else { |
| 11247 |
|
|
11247 |
|
| 11248 |
} |
|
11248 |
} |
| 11249 |
j ++; |
|
11249 |
j ++; |
| 11250 |
} |
|
11250 |
} |
| 11251 |
if (j >= 0L) { |
|
11251 |
if (j >= 0L) { |
| 11252 |
if (j <= n) { |
|
11252 |
if (j <= n) { |
| 11253 |
tmp___66 = 1; |
|
11253 |
tmp___66 = 1; |
| 11254 |
} else { |
|
11254 |
} else { |
| 11255 |
tmp___66 = 0; |
|
11255 |
tmp___66 = 0; |
| 11256 |
} |
|
11256 |
} |
| 11257 |
} else { |
|
11257 |
} else { |
| 11258 |
tmp___66 = 0; |
|
11258 |
tmp___66 = 0; |
| 11259 |
} |
|
11259 |
} |
| 11260 |
tmp___67 = __builtin_expect((long )tmp___66, 1L); |
|
11260 |
tmp___67 = __builtin_expect((long )tmp___66, 1L); |
| 11261 |
if (tmp___67) { |
|
11261 |
if (tmp___67) { |
| 11262 |
|
|
11262 |
|
| 11263 |
} else { |
|
11263 |
} else { |
| 11264 |
vgPlain_assert_fail((Bool )1, (Char const *)"j >= 0 && j <= n", |
|
11264 |
vgPlain_assert_fail((Bool )1, (Char const *)"j >= 0 && j <= n", |
| 11265 |
(Char const *)"m_main.c", 2193, |
|
11265 |
(Char const *)"m_main.c", 2193, |
| 11266 |
(Char const *)"valgrind_main", ""); |
|
11266 |
(Char const *)"valgrind_main", ""); |
| 11267 |
} |
|
11267 |
} |
| 11268 |
while (1) { |
|
11268 |
while (1) { |
| 11269 |
if (vgPlain_tdict.track_new_mem_startup) { |
|
11269 |
if (vgPlain_tdict.track_new_mem_startup) { |
| 11270 |
if (j < n) { |
|
11270 |
if (j < n) { |
| 11271 |
tmp___68 = vgPlain_indexXA(addr2dihandle, j); |
|
11271 |
tmp___68 = vgPlain_indexXA(addr2dihandle, j); |
| 11272 |
tmp___69 = ((Addr_n_ULong *)tmp___68)->ull; |
|
11272 |
tmp___69 = ((Addr_n_ULong *)tmp___68)->ull; |
| 11273 |
} else { |
|
11273 |
} else { |
| 11274 |
tmp___69 = (ULong )0; |
|
11274 |
tmp___69 = (ULong )0; |
| 11275 |
} |
|
11275 |
} |
| 11276 |
(*(vgPlain_tdict.track_new_mem_startup))((Addr )seg->start, |
|
11276 |
(*(vgPlain_tdict.track_new_mem_startup))((Addr )seg->start, |
| 11277 |
(SizeT )((seg->end + 1UL) - seg->start), |
|
11277 |
(SizeT )((seg->end + 1UL) - seg->start), |
| 11278 |
(Bool )seg->hasR, |
|
11278 |
(Bool )seg->hasR, |
| 11279 |
(Bool )seg->hasW, |
|
11279 |
(Bool )seg->hasW, |
| 11280 |
(Bool )seg->hasX, tmp___69); |
|
11280 |
(Bool )seg->hasX, tmp___69); |
| 11281 |
} else { |
|
11281 |
} else { |
| 11282 |
|
|
11282 |
|
| 11283 |
} |
|
11283 |
} |
| 11284 |
break; |
|
11284 |
break; |
| 11285 |
} |
|
11285 |
} |
| 11286 |
} else { |
|
11286 |
} else { |
| 11287 |
|
|
11287 |
|
| 11288 |
} |
|
11288 |
} |
| 11289 |
i ++; |
|
11289 |
i ++; |
| 11290 |
} |
|
11290 |
} |
| 11291 |
vgPlain_free((void *)seg_starts___0); |
|
11291 |
vgPlain_free((void *)seg_starts___0); |
| 11292 |
vgPlain_deleteXA(addr2dihandle); |
|
11292 |
vgPlain_deleteXA(addr2dihandle); |
| 11293 |
tmp___70 = vgPlain_am_find_nsegment(the_iifii.initial_client_SP); |
|
11293 |
tmp___70 = vgPlain_am_find_nsegment(the_iifii.initial_client_SP); |
| 11294 |
seg___0 = tmp___70; |
|
11294 |
seg___0 = tmp___70; |
| 11295 |
tmp___71 = __builtin_expect((long )(! (! seg___0)), 1L); |
|
11295 |
tmp___71 = __builtin_expect((long )(! (! seg___0)), 1L); |
| 11296 |
if (tmp___71) { |
|
11296 |
if (tmp___71) { |
| 11297 |
|
|
11297 |
|
| 11298 |
} else { |
|
11298 |
} else { |
| 11299 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
|
11299 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
| 11300 |
(Char const *)"m_main.c", 2211, |
|
11300 |
(Char const *)"m_main.c", 2211, |
| 11301 |
(Char const *)"valgrind_main", ""); |
|
11301 |
(Char const *)"valgrind_main", ""); |
| 11302 |
} |
|
11302 |
} |
| 11303 |
tmp___72 = __builtin_expect((long )(! (! ((unsigned int const )seg___0->kind == 1U))), |
|
11303 |
tmp___72 = __builtin_expect((long )(! (! ((unsigned int const )seg___0->kind == 1U))), |
| 11304 |
1L); |
|
11304 |
1L); |
| 11305 |
if (tmp___72) { |
|
11305 |
if (tmp___72) { |
| 11306 |
|
|
11306 |
|
| 11307 |
} else { |
|
11307 |
} else { |
| 11308 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg->kind == SkAnonC", |
|
11308 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg->kind == SkAnonC", |
| 11309 |
(Char const *)"m_main.c", 2212, |
|
11309 |
(Char const *)"m_main.c", 2212, |
| 11310 |
(Char const *)"valgrind_main", ""); |
|
11310 |
(Char const *)"valgrind_main", ""); |
| 11311 |
} |
|
11311 |
} |
| 11312 |
tmp___73 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP >= (Addr )seg___0->start))), |
|
11312 |
tmp___73 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP >= (Addr )seg___0->start))), |
| 11313 |
1L); |
|
11313 |
1L); |
| 11314 |
if (tmp___73) { |
|
11314 |
if (tmp___73) { |
| 11315 |
|
|
11315 |
|
| 11316 |
} else { |
|
11316 |
} else { |
| 11317 |
vgPlain_assert_fail((Bool )1, |
|
11317 |
vgPlain_assert_fail((Bool )1, |
| 11318 |
(Char const *)"the_iifii.initial_client_SP >= seg->start", |
|
11318 |
(Char const *)"the_iifii.initial_client_SP >= seg->start", |
| 11319 |
(Char const *)"m_main.c", 2213, |
|
11319 |
(Char const *)"m_main.c", 2213, |
| 11320 |
(Char const *)"valgrind_main", ""); |
|
11320 |
(Char const *)"valgrind_main", ""); |
| 11321 |
} |
|
11321 |
} |
| 11322 |
tmp___74 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP <= (Addr )seg___0->end))), |
|
11322 |
tmp___74 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP <= (Addr )seg___0->end))), |
| 11323 |
1L); |
|
11323 |
1L); |
| 11324 |
if (tmp___74) { |
|
11324 |
if (tmp___74) { |
| 11325 |
|
|
11325 |
|
| 11326 |
} else { |
|
11326 |
} else { |
| 11327 |
vgPlain_assert_fail((Bool )1, |
|
11327 |
vgPlain_assert_fail((Bool )1, |
| 11328 |
(Char const *)"the_iifii.initial_client_SP <= seg->end", |
|
11328 |
(Char const *)"the_iifii.initial_client_SP <= seg->end", |
| 11329 |
(Char const *)"m_main.c", 2214, |
|
11329 |
(Char const *)"m_main.c", 2214, |
| 11330 |
(Char const *)"valgrind_main", ""); |
|
11330 |
(Char const *)"valgrind_main", ""); |
| 11331 |
} |
|
11331 |
} |
| 11332 |
inaccessible_len = (SSizeT )(the_iifii.initial_client_SP - (Addr )seg___0->start); |
|
11332 |
inaccessible_len = (SSizeT )(the_iifii.initial_client_SP - (Addr )seg___0->start); |
| 11333 |
tmp___75 = __builtin_expect((long )(! (! (inaccessible_len >= 0L))), 1L); |
|
11333 |
tmp___75 = __builtin_expect((long )(! (! (inaccessible_len >= 0L))), 1L); |
| 11334 |
if (tmp___75) { |
|
11334 |
if (tmp___75) { |
| 11335 |
|
|
11335 |
|
| 11336 |
} else { |
|
11336 |
} else { |
| 11337 |
vgPlain_assert_fail((Bool )1, (Char const *)"inaccessible_len >= 0", |
|
11337 |
vgPlain_assert_fail((Bool )1, (Char const *)"inaccessible_len >= 0", |
| 11338 |
(Char const *)"m_main.c", 2227, |
|
11338 |
(Char const *)"m_main.c", 2227, |
| 11339 |
(Char const *)"valgrind_main", ""); |
|
11339 |
(Char const *)"valgrind_main", ""); |
| 11340 |
} |
|
11340 |
} |
| 11341 |
if (inaccessible_len > 0L) { |
|
11341 |
if (inaccessible_len > 0L) { |
| 11342 |
while (1) { |
|
11342 |
while (1) { |
| 11343 |
if (vgPlain_tdict.track_die_mem_stack) { |
|
11343 |
if (vgPlain_tdict.track_die_mem_stack) { |
| 11344 |
(*(vgPlain_tdict.track_die_mem_stack))((Addr )seg___0->start, |
|
11344 |
(*(vgPlain_tdict.track_die_mem_stack))((Addr )seg___0->start, |
| 11345 |
(SizeT )inaccessible_len); |
|
11345 |
(SizeT )inaccessible_len); |
| 11346 |
} else { |
|
11346 |
} else { |
| 11347 |
|
|
11347 |
|
| 11348 |
} |
|
11348 |
} |
| 11349 |
break; |
|
11349 |
break; |
| 11350 |
} |
|
11350 |
} |
| 11351 |
} else { |
|
11351 |
} else { |
| 11352 |
|
|
11352 |
|
| 11353 |
} |
|
11353 |
} |
| 11354 |
vgPlain_debugLog(2, "main", "mark stack inaccessible %010lx-%010lx\n", |
|
11354 |
vgPlain_debugLog(2, "main", "mark stack inaccessible %010lx-%010lx\n", |
| 11355 |
seg___0->start, the_iifii.initial_client_SP - 1UL); |
|
11355 |
seg___0->start, the_iifii.initial_client_SP - 1UL); |
| 11356 |
while (1) { |
|
11356 |
while (1) { |
| 11357 |
if (vgPlain_tdict.track_new_mem_startup) { |
|
11357 |
if (vgPlain_tdict.track_new_mem_startup) { |
| 11358 |
(*(vgPlain_tdict.track_new_mem_startup))((Addr )(& vgPlain_trampoline_stuff_start), |
|
11358 |
(*(vgPlain_tdict.track_new_mem_startup))((Addr )(& vgPlain_trampoline_stuff_start), |
| 11359 |
(Addr )(& vgPlain_trampoline_stuff_end) - (Addr )(& vgPlain_trampoline_stuff_start), |
|
11359 |
(Addr )(& vgPlain_trampoline_stuff_end) - (Addr )(& vgPlain_trampoline_stuff_start), |
| 11360 |
(Bool )0, (Bool )0, (Bool )1, |
|
11360 |
(Bool )0, (Bool )0, (Bool )1, |
| 11361 |
(ULong )0); |
|
11361 |
(ULong )0); |
| 11362 |
} else { |
|
11362 |
} else { |
| 11363 |
|
|
11363 |
|
| 11364 |
} |
|
11364 |
} |
| 11365 |
break; |
|
11365 |
break; |
| 11366 |
} |
|
11366 |
} |
| 11367 |
vgPlain_running_tid = (ThreadId )0; |
|
11367 |
vgPlain_running_tid = (ThreadId )0; |
| 11368 |
tmp___76 = __builtin_expect((long )(! (! (vgPlain_running_tid == 0U))), 1L); |
|
11368 |
tmp___76 = __builtin_expect((long )(! (! (vgPlain_running_tid == 0U))), 1L); |
| 11369 |
if (tmp___76) { |
|
11369 |
if (tmp___76) { |
| 11370 |
|
|
11370 |
|
| 11371 |
} else { |
|
11371 |
} else { |
| 11372 |
vgPlain_assert_fail((Bool )0, |
|
11372 |
vgPlain_assert_fail((Bool )0, |
| 11373 |
(Char const *)"VG_(running_tid) == VG_INVALID_THREADID", |
|
11373 |
(Char const *)"VG_(running_tid) == VG_INVALID_THREADID", |
| 11374 |
(Char const *)"m_main.c", 2249, |
|
11374 |
(Char const *)"m_main.c", 2249, |
| 11375 |
(Char const *)"valgrind_main", ""); |
|
11375 |
(Char const *)"valgrind_main", ""); |
| 11376 |
} |
|
11376 |
} |
| 11377 |
vgPlain_debugLog(1, "main", "Initialise scheduler (phase 2)\n"); |
|
11377 |
vgPlain_debugLog(1, "main", "Initialise scheduler (phase 2)\n"); |
| 11378 |
tmp___77 = vgPlain_am_find_nsegment(the_iifii.initial_client_SP); |
|
11378 |
tmp___77 = vgPlain_am_find_nsegment(the_iifii.initial_client_SP); |
| 11379 |
seg___1 = tmp___77; |
|
11379 |
seg___1 = tmp___77; |
| 11380 |
tmp___78 = __builtin_expect((long )(! (! seg___1)), 1L); |
|
11380 |
tmp___78 = __builtin_expect((long )(! (! seg___1)), 1L); |
| 11381 |
if (tmp___78) { |
|
11381 |
if (tmp___78) { |
| 11382 |
|
|
11382 |
|
| 11383 |
} else { |
|
11383 |
} else { |
| 11384 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
|
11384 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg", |
| 11385 |
(Char const *)"m_main.c", 2261, |
|
11385 |
(Char const *)"m_main.c", 2261, |
| 11386 |
(Char const *)"valgrind_main", ""); |
|
11386 |
(Char const *)"valgrind_main", ""); |
| 11387 |
} |
|
11387 |
} |
| 11388 |
tmp___79 = __builtin_expect((long )(! (! ((unsigned int const )seg___1->kind == 1U))), |
|
11388 |
tmp___79 = __builtin_expect((long )(! (! ((unsigned int const )seg___1->kind == 1U))), |
| 11389 |
1L); |
|
11389 |
1L); |
| 11390 |
if (tmp___79) { |
|
11390 |
if (tmp___79) { |
| 11391 |
|
|
11391 |
|
| 11392 |
} else { |
|
11392 |
} else { |
| 11393 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg->kind == SkAnonC", |
|
11393 |
vgPlain_assert_fail((Bool )1, (Char const *)"seg->kind == SkAnonC", |
| 11394 |
(Char const *)"m_main.c", 2262, |
|
11394 |
(Char const *)"m_main.c", 2262, |
| 11395 |
(Char const *)"valgrind_main", ""); |
|
11395 |
(Char const *)"valgrind_main", ""); |
| 11396 |
} |
|
11396 |
} |
| 11397 |
tmp___80 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP >= (Addr )seg___1->start))), |
|
11397 |
tmp___80 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP >= (Addr )seg___1->start))), |
| 11398 |
1L); |
|
11398 |
1L); |
| 11399 |
if (tmp___80) { |
|
11399 |
if (tmp___80) { |
| 11400 |
|
|
11400 |
|
| 11401 |
} else { |
|
11401 |
} else { |
| 11402 |
vgPlain_assert_fail((Bool )1, |
|
11402 |
vgPlain_assert_fail((Bool )1, |
| 11403 |
(Char const *)"the_iifii.initial_client_SP >= seg->start", |
|
11403 |
(Char const *)"the_iifii.initial_client_SP >= seg->start", |
| 11404 |
(Char const *)"m_main.c", 2263, |
|
11404 |
(Char const *)"m_main.c", 2263, |
| 11405 |
(Char const *)"valgrind_main", ""); |
|
11405 |
(Char const *)"valgrind_main", ""); |
| 11406 |
} |
|
11406 |
} |
| 11407 |
tmp___81 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP <= (Addr )seg___1->end))), |
|
11407 |
tmp___81 = __builtin_expect((long )(! (! (the_iifii.initial_client_SP <= (Addr )seg___1->end))), |
| 11408 |
1L); |
|
11408 |
1L); |
| 11409 |
if (tmp___81) { |
|
11409 |
if (tmp___81) { |
| 11410 |
|
|
11410 |
|
| 11411 |
} else { |
|
11411 |
} else { |
| 11412 |
vgPlain_assert_fail((Bool )1, |
|
11412 |
vgPlain_assert_fail((Bool )1, |
| 11413 |
(Char const *)"the_iifii.initial_client_SP <= seg->end", |
|
11413 |
(Char const *)"the_iifii.initial_client_SP <= seg->end", |
| 11414 |
(Char const *)"m_main.c", 2264, |
|
11414 |
(Char const *)"m_main.c", 2264, |
| 11415 |
(Char const *)"valgrind_main", ""); |
|
11415 |
(Char const *)"valgrind_main", ""); |
| 11416 |
} |
|
11416 |
} |
| 11417 |
vgPlain_scheduler_init_phase2(tid_main, (Addr )seg___1->end, |
|
11417 |
vgPlain_scheduler_init_phase2(tid_main, (Addr )seg___1->end, |
| 11418 |
the_iifii.clstack_max_size); |
|
11418 |
the_iifii.clstack_max_size); |
| 11419 |
vgPlain_debugLog(1, "main", "Finalise initial image\n"); |
|
11419 |
vgPlain_debugLog(1, "main", "Finalise initial image\n"); |
| 11420 |
vgPlain_ii_finalise_image(the_iifii); |
|
11420 |
vgPlain_ii_finalise_image(the_iifii); |
| 11421 |
vgPlain_debugLog(1, "main", "Initialise signal management\n"); |
|
11421 |
vgPlain_debugLog(1, "main", "Initialise signal management\n"); |
| 11422 |
vgPlain_vki_do_initial_consistency_checks(); |
|
11422 |
vgPlain_vki_do_initial_consistency_checks(); |
| 11423 |
vgPlain_sigstartup_actions(); |
|
11423 |
vgPlain_sigstartup_actions(); |
| 11424 |
if (vgPlain_needs.core_errors) { |
|
11424 |
if (vgPlain_needs.core_errors) { |
| 11425 |
vgPlain_debugLog(1, "main", "Load suppressions\n"); |
|
11425 |
vgPlain_debugLog(1, "main", "Load suppressions\n"); |
| 11426 |
vgPlain_load_suppressions(); |
|
11426 |
vgPlain_load_suppressions(); |
| 11427 |
} else |
|
11427 |
} else |
| 11428 |
if (vgPlain_needs.tool_errors) { |
|
11428 |
if (vgPlain_needs.tool_errors) { |
| 11429 |
vgPlain_debugLog(1, "main", "Load suppressions\n"); |
|
11429 |
vgPlain_debugLog(1, "main", "Load suppressions\n"); |
| 11430 |
vgPlain_load_suppressions(); |
|
11430 |
vgPlain_load_suppressions(); |
| 11431 |
} else { |
|
11431 |
} else { |
| 11432 |
|
|
11432 |
|
| 11433 |
} |
|
11433 |
} |
| 11434 |
vgPlain_clstk_id = vgPlain_register_stack(vgPlain_clstk_base, |
|
11434 |
vgPlain_clstk_id = vgPlain_register_stack(vgPlain_clstk_base, |
| 11435 |
vgPlain_clstk_end); |
|
11435 |
vgPlain_clstk_end); |
| 11436 |
vgPlain_debugLog(1, "main", "\n"); |
|
11436 |
vgPlain_debugLog(1, "main", "\n"); |
| 11437 |
vgPlain_debugLog(1, "main", "\n"); |
|
11437 |
vgPlain_debugLog(1, "main", "\n"); |
| 11438 |
vgPlain_am_show_nsegments(1, (HChar *)"Memory layout at client startup"); |
|
11438 |
vgPlain_am_show_nsegments(1, (HChar *)"Memory layout at client startup"); |
| 11439 |
vgPlain_debugLog(1, "main", "\n"); |
|
11439 |
vgPlain_debugLog(1, "main", "\n"); |
| 11440 |
vgPlain_debugLog(1, "main", "\n"); |
|
11440 |
vgPlain_debugLog(1, "main", "\n"); |
| 11441 |
if (vgPlain_clo_xml) { |
|
11441 |
if (vgPlain_clo_xml) { |
| 11442 |
vgPlain_elapsed_wallclock_time(buf___1); |
|
11442 |
vgPlain_elapsed_wallclock_time(buf___1); |
| 11443 |
vgPlain_printf_xml_no_f_c("<status>\n <state>RUNNING</state>\n <time>%t</time>\n</status>\n", |
|
11443 |
vgPlain_printf_xml_no_f_c("<status>\n <state>RUNNING</state>\n <time>%t</time>\n</status>\n", |
| 11444 |
buf___1); |
|
11444 |
buf___1); |
| 11445 |
vgPlain_printf_xml_no_f_c("\n"); |
|
11445 |
vgPlain_printf_xml_no_f_c("\n"); |
| 11446 |
} else { |
|
11446 |
} else { |
| 11447 |
|
|
11447 |
|
| 11448 |
} |
|
11448 |
} |
| 11449 |
vgPlain_debugLog(1, "main", "Running thread 1\n"); |
|
11449 |
vgPlain_debugLog(1, "main", "Running thread 1\n"); |
| 11450 |
vgPlain_address_of_m_main_shutdown_actions_NORETURN = & shutdown_actions_NORETURN; |
|
11450 |
vgPlain_address_of_m_main_shutdown_actions_NORETURN = & shutdown_actions_NORETURN; |
| 11451 |
vgPlain_main_thread_wrapper_NORETURN((ThreadId )1); |
|
11451 |
vgPlain_main_thread_wrapper_NORETURN((ThreadId )1); |
| 11452 |
tmp___82 = __builtin_expect(0L, 1L); |
|
11452 |
tmp___82 = __builtin_expect(0L, 1L); |
| 11453 |
if (tmp___82) { |
|
11453 |
if (tmp___82) { |
| 11454 |
|
|
11454 |
|
| 11455 |
} else { |
|
11455 |
} else { |
| 11456 |
vgPlain_assert_fail((Bool )1, (Char const *)"0", |
|
11456 |
vgPlain_assert_fail((Bool )1, (Char const *)"0", |
| 11457 |
(Char const *)"m_main.c", 2346, |
|
11457 |
(Char const *)"m_main.c", 2346, |
| 11458 |
(Char const *)"valgrind_main", ""); |
|
11458 |
(Char const *)"valgrind_main", ""); |
| 11459 |
} |
|
11459 |
} |
| 11460 |
return (0); |
|
11460 |
return (0); |
| 11461 |
} |
|
11461 |
} |
| 11462 |
} |
|
11462 |
} |
| 11463 |
static void shutdown_actions_NORETURN(ThreadId tid , |
|
11463 |
static void shutdown_actions_NORETURN(ThreadId tid , |
| 11464 |
VgSchedReturnCode tids_schedretcode ) |
|
11464 |
VgSchedReturnCode tids_schedretcode ) |
| 11465 |
{ |
|
11465 |
{ |
| 11466 |
Bool tmp ; |
|
11466 |
Bool tmp ; |
| 11467 |
int tmp___0 ; |
|
11467 |
int tmp___0 ; |
| 11468 |
long tmp___1 ; |
|
11468 |
long tmp___1 ; |
| 11469 |
int tmp___2 ; |
|
11469 |
int tmp___2 ; |
| 11470 |
long tmp___3 ; |
|
11470 |
long tmp___3 ; |
| 11471 |
Int tmp___4 ; |
|
11471 |
Int tmp___4 ; |
| 11472 |
int tmp___5 ; |
|
11472 |
int tmp___5 ; |
| 11473 |
long tmp___6 ; |
|
11473 |
long tmp___6 ; |
| 11474 |
Bool tmp___7 ; |
|
11474 |
Bool tmp___7 ; |
| 11475 |
int tmp___8 ; |
|
11475 |
int tmp___8 ; |
| 11476 |
long tmp___9 ; |
|
11476 |
long tmp___9 ; |
| 11477 |
Int tmp___10 ; |
|
11477 |
Int tmp___10 ; |
| 11478 |
int tmp___11 ; |
|
11478 |
int tmp___11 ; |
| 11479 |
long tmp___12 ; |
|
11479 |
long tmp___12 ; |
| 11480 |
Int tmp___13 ; |
|
11480 |
Int tmp___13 ; |
| 11481 |
int tmp___14 ; |
|
11481 |
int tmp___14 ; |
| 11482 |
long tmp___15 ; |
|
11482 |
long tmp___15 ; |
| 11483 |
Bool tmp___16 ; |
|
11483 |
Bool tmp___16 ; |
| 11484 |
int tmp___17 ; |
|
11484 |
int tmp___17 ; |
| 11485 |
long tmp___18 ; |
|
11485 |
long tmp___18 ; |
| 11486 |
Int tmp___19 ; |
|
11486 |
Int tmp___19 ; |
| 11487 |
int tmp___20 ; |
|
11487 |
int tmp___20 ; |
| 11488 |
long tmp___21 ; |
|
11488 |
long tmp___21 ; |
| 11489 |
HChar buf[50] ; |
|
11489 |
HChar buf[50] ; |
| 11490 |
long tmp___22 ; |
|
11490 |
long tmp___22 ; |
| 11491 |
BBProfEntry tops[200] ; |
|
11491 |
BBProfEntry tops[200] ; |
| 11492 |
ULong score_total ; |
|
11492 |
ULong score_total ; |
| 11493 |
ULong tmp___23 ; |
|
11493 |
ULong tmp___23 ; |
| 11494 |
UInt tmp___24 ; |
|
11494 |
UInt tmp___24 ; |
| 11495 |
long tmp___25 ; |
|
11495 |
long tmp___25 ; |
| 11496 |
|
|
11496 |
|
| 11497 |
{ |
|
11497 |
{ |
| 11498 |
vgPlain_debugLog(1, "main", "entering VG_(shutdown_actions_NORETURN)\n"); |
|
11498 |
vgPlain_debugLog(1, "main", "entering VG_(shutdown_actions_NORETURN)\n"); |
| 11499 |
vgPlain_am_show_nsegments(1, (HChar *)"Memory layout at client shutdown"); |
|
11499 |
vgPlain_am_show_nsegments(1, (HChar *)"Memory layout at client shutdown"); |
| 11500 |
tmp = vgPlain_is_running_thread(tid); |
|
11500 |
tmp = vgPlain_is_running_thread(tid); |
| 11501 |
if (tmp) { |
|
11501 |
if (tmp) { |
| 11502 |
tmp___0 = 1; |
|
11502 |
tmp___0 = 1; |
| 11503 |
} else { |
|
11503 |
} else { |
| 11504 |
tmp___0 = 0; |
|
11504 |
tmp___0 = 0; |
| 11505 |
} |
|
11505 |
} |
| 11506 |
tmp___1 = __builtin_expect((long )tmp___0, 1L); |
|
11506 |
tmp___1 = __builtin_expect((long )tmp___0, 1L); |
| 11507 |
if (tmp___1) { |
|
11507 |
if (tmp___1) { |
| 11508 |
|
|
11508 |
|
| 11509 |
} else { |
|
11509 |
} else { |
| 11510 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_running_thread)(tid)", |
|
11510 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_running_thread)(tid)", |
| 11511 |
(Char const *)"m_main.c", 2373, |
|
11511 |
(Char const *)"m_main.c", 2373, |
| 11512 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11512 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11513 |
} |
|
11513 |
} |
| 11514 |
if ((unsigned int )tids_schedretcode == 1U) { |
|
11514 |
if ((unsigned int )tids_schedretcode == 1U) { |
| 11515 |
tmp___2 = 1; |
|
11515 |
tmp___2 = 1; |
| 11516 |
} else |
|
11516 |
} else |
| 11517 |
if ((unsigned int )tids_schedretcode == 2U) { |
|
11517 |
if ((unsigned int )tids_schedretcode == 2U) { |
| 11518 |
tmp___2 = 1; |
|
11518 |
tmp___2 = 1; |
| 11519 |
} else |
|
11519 |
} else |
| 11520 |
if ((unsigned int )tids_schedretcode == 3U) { |
|
11520 |
if ((unsigned int )tids_schedretcode == 3U) { |
| 11521 |
tmp___2 = 1; |
|
11521 |
tmp___2 = 1; |
| 11522 |
} else { |
|
11522 |
} else { |
| 11523 |
tmp___2 = 0; |
|
11523 |
tmp___2 = 0; |
| 11524 |
} |
|
11524 |
} |
| 11525 |
tmp___3 = __builtin_expect((long )tmp___2, 1L); |
|
11525 |
tmp___3 = __builtin_expect((long )tmp___2, 1L); |
| 11526 |
if (tmp___3) { |
|
11526 |
if (tmp___3) { |
| 11527 |
|
|
11527 |
|
| 11528 |
} else { |
|
11528 |
} else { |
| 11529 |
vgPlain_assert_fail((Bool )1, |
|
11529 |
vgPlain_assert_fail((Bool )1, |
| 11530 |
(Char const *)"tids_schedretcode == VgSrc_ExitThread || tids_schedretcode == VgSrc_ExitProcess || tids_schedretcode == VgSrc_FatalSig", |
|
11530 |
(Char const *)"tids_schedretcode == VgSrc_ExitThread || tids_schedretcode == VgSrc_ExitProcess || tids_schedretcode == VgSrc_FatalSig", |
| 11531 |
(Char const *)"m_main.c", 2377, |
|
11531 |
(Char const *)"m_main.c", 2377, |
| 11532 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11532 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11533 |
} |
|
11533 |
} |
| 11534 |
if ((unsigned int )tids_schedretcode == 1U) { |
|
11534 |
if ((unsigned int )tids_schedretcode == 1U) { |
| 11535 |
tmp___4 = vgPlain_count_living_threads(); |
|
11535 |
tmp___4 = vgPlain_count_living_threads(); |
| 11536 |
if (tmp___4 == 1) { |
|
11536 |
if (tmp___4 == 1) { |
| 11537 |
tmp___5 = 1; |
|
11537 |
tmp___5 = 1; |
| 11538 |
} else { |
|
11538 |
} else { |
| 11539 |
tmp___5 = 0; |
|
11539 |
tmp___5 = 0; |
| 11540 |
} |
|
11540 |
} |
| 11541 |
tmp___6 = __builtin_expect((long )tmp___5, 1L); |
|
11541 |
tmp___6 = __builtin_expect((long )tmp___5, 1L); |
| 11542 |
if (tmp___6) { |
|
11542 |
if (tmp___6) { |
| 11543 |
|
|
11543 |
|
| 11544 |
} else { |
|
11544 |
} else { |
| 11545 |
vgPlain_assert_fail((Bool )1, |
|
11545 |
vgPlain_assert_fail((Bool )1, |
| 11546 |
(Char const *)"VG_(count_living_threads)() == 1", |
|
11546 |
(Char const *)"VG_(count_living_threads)() == 1", |
| 11547 |
(Char const *)"m_main.c", 2382, |
|
11547 |
(Char const *)"m_main.c", 2382, |
| 11548 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11548 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11549 |
} |
|
11549 |
} |
| 11550 |
vgPlain_reap_threads(tid); |
|
11550 |
vgPlain_reap_threads(tid); |
| 11551 |
final_tidyup(tid); |
|
11551 |
final_tidyup(tid); |
| 11552 |
tmp___7 = vgPlain_is_running_thread(tid); |
|
11552 |
tmp___7 = vgPlain_is_running_thread(tid); |
| 11553 |
if (tmp___7) { |
|
11553 |
if (tmp___7) { |
| 11554 |
tmp___8 = 1; |
|
11554 |
tmp___8 = 1; |
| 11555 |
} else { |
|
11555 |
} else { |
| 11556 |
tmp___8 = 0; |
|
11556 |
tmp___8 = 0; |
| 11557 |
} |
|
11557 |
} |
| 11558 |
tmp___9 = __builtin_expect((long )tmp___8, 1L); |
|
11558 |
tmp___9 = __builtin_expect((long )tmp___8, 1L); |
| 11559 |
if (tmp___9) { |
|
11559 |
if (tmp___9) { |
| 11560 |
|
|
11560 |
|
| 11561 |
} else { |
|
11561 |
} else { |
| 11562 |
vgPlain_assert_fail((Bool )1, |
|
11562 |
vgPlain_assert_fail((Bool )1, |
| 11563 |
(Char const *)"VG_(is_running_thread)(tid)", |
|
11563 |
(Char const *)"VG_(is_running_thread)(tid)", |
| 11564 |
(Char const *)"m_main.c", 2393, |
|
11564 |
(Char const *)"m_main.c", 2393, |
| 11565 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11565 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11566 |
} |
|
11566 |
} |
| 11567 |
tmp___10 = vgPlain_count_living_threads(); |
|
11567 |
tmp___10 = vgPlain_count_living_threads(); |
| 11568 |
if (tmp___10 == 1) { |
|
11568 |
if (tmp___10 == 1) { |
| 11569 |
tmp___11 = 1; |
|
11569 |
tmp___11 = 1; |
| 11570 |
} else { |
|
11570 |
} else { |
| 11571 |
tmp___11 = 0; |
|
11571 |
tmp___11 = 0; |
| 11572 |
} |
|
11572 |
} |
| 11573 |
tmp___12 = __builtin_expect((long )tmp___11, 1L); |
|
11573 |
tmp___12 = __builtin_expect((long )tmp___11, 1L); |
| 11574 |
if (tmp___12) { |
|
11574 |
if (tmp___12) { |
| 11575 |
|
|
11575 |
|
| 11576 |
} else { |
|
11576 |
} else { |
| 11577 |
vgPlain_assert_fail((Bool )1, |
|
11577 |
vgPlain_assert_fail((Bool )1, |
| 11578 |
(Char const *)"VG_(count_living_threads)() == 1", |
|
11578 |
(Char const *)"VG_(count_living_threads)() == 1", |
| 11579 |
(Char const *)"m_main.c", 2394, |
|
11579 |
(Char const *)"m_main.c", 2394, |
| 11580 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11580 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11581 |
} |
|
11581 |
} |
| 11582 |
} else { |
|
11582 |
} else { |
| 11583 |
tmp___13 = vgPlain_count_living_threads(); |
|
11583 |
tmp___13 = vgPlain_count_living_threads(); |
| 11584 |
if (tmp___13 >= 1) { |
|
11584 |
if (tmp___13 >= 1) { |
| 11585 |
tmp___14 = 1; |
|
11585 |
tmp___14 = 1; |
| 11586 |
} else { |
|
11586 |
} else { |
| 11587 |
tmp___14 = 0; |
|
11587 |
tmp___14 = 0; |
| 11588 |
} |
|
11588 |
} |
| 11589 |
tmp___15 = __builtin_expect((long )tmp___14, 1L); |
|
11589 |
tmp___15 = __builtin_expect((long )tmp___14, 1L); |
| 11590 |
if (tmp___15) { |
|
11590 |
if (tmp___15) { |
| 11591 |
|
|
11591 |
|
| 11592 |
} else { |
|
11592 |
} else { |
| 11593 |
vgPlain_assert_fail((Bool )1, |
|
11593 |
vgPlain_assert_fail((Bool )1, |
| 11594 |
(Char const *)"VG_(count_living_threads)() >= 1", |
|
11594 |
(Char const *)"VG_(count_living_threads)() >= 1", |
| 11595 |
(Char const *)"m_main.c", 2402, |
|
11595 |
(Char const *)"m_main.c", 2402, |
| 11596 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11596 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11597 |
} |
|
11597 |
} |
| 11598 |
final_tidyup(tid); |
|
11598 |
final_tidyup(tid); |
| 11599 |
tmp___16 = vgPlain_is_running_thread(tid); |
|
11599 |
tmp___16 = vgPlain_is_running_thread(tid); |
| 11600 |
if (tmp___16) { |
|
11600 |
if (tmp___16) { |
| 11601 |
tmp___17 = 1; |
|
11601 |
tmp___17 = 1; |
| 11602 |
} else { |
|
11602 |
} else { |
| 11603 |
tmp___17 = 0; |
|
11603 |
tmp___17 = 0; |
| 11604 |
} |
|
11604 |
} |
| 11605 |
tmp___18 = __builtin_expect((long )tmp___17, 1L); |
|
11605 |
tmp___18 = __builtin_expect((long )tmp___17, 1L); |
| 11606 |
if (tmp___18) { |
|
11606 |
if (tmp___18) { |
| 11607 |
|
|
11607 |
|
| 11608 |
} else { |
|
11608 |
} else { |
| 11609 |
vgPlain_assert_fail((Bool )1, |
|
11609 |
vgPlain_assert_fail((Bool )1, |
| 11610 |
(Char const *)"VG_(is_running_thread)(tid)", |
|
11610 |
(Char const *)"VG_(is_running_thread)(tid)", |
| 11611 |
(Char const *)"m_main.c", 2410, |
|
11611 |
(Char const *)"m_main.c", 2410, |
| 11612 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11612 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11613 |
} |
|
11613 |
} |
| 11614 |
tmp___19 = vgPlain_count_living_threads(); |
|
11614 |
tmp___19 = vgPlain_count_living_threads(); |
| 11615 |
if (tmp___19 >= 1) { |
|
11615 |
if (tmp___19 >= 1) { |
| 11616 |
tmp___20 = 1; |
|
11616 |
tmp___20 = 1; |
| 11617 |
} else { |
|
11617 |
} else { |
| 11618 |
tmp___20 = 0; |
|
11618 |
tmp___20 = 0; |
| 11619 |
} |
|
11619 |
} |
| 11620 |
tmp___21 = __builtin_expect((long )tmp___20, 1L); |
|
11620 |
tmp___21 = __builtin_expect((long )tmp___20, 1L); |
| 11621 |
if (tmp___21) { |
|
11621 |
if (tmp___21) { |
| 11622 |
|
|
11622 |
|
| 11623 |
} else { |
|
11623 |
} else { |
| 11624 |
vgPlain_assert_fail((Bool )1, |
|
11624 |
vgPlain_assert_fail((Bool )1, |
| 11625 |
(Char const *)"VG_(count_living_threads)() >= 1", |
|
11625 |
(Char const *)"VG_(count_living_threads)() >= 1", |
| 11626 |
(Char const *)"m_main.c", 2411, |
|
11626 |
(Char const *)"m_main.c", 2411, |
| 11627 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11627 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11628 |
} |
|
11628 |
} |
| 11629 |
} |
|
11629 |
} |
| 11630 |
vgPlain_threads[tid].status = (ThreadStatus )0; |
|
11630 |
vgPlain_threads[tid].status = (ThreadStatus )0; |
| 11631 |
if (vgPlain_clo_xml) { |
|
11631 |
if (vgPlain_clo_xml) { |
| 11632 |
vgPlain_printf_xml("\n"); |
|
11632 |
vgPlain_printf_xml("\n"); |
| 11633 |
} else |
|
11633 |
} else |
| 11634 |
if (vgPlain_clo_verbosity > 0) { |
|
11634 |
if (vgPlain_clo_verbosity > 0) { |
| 11635 |
vgPlain_message((VgMsgKind )1, "\n"); |
|
11635 |
vgPlain_message((VgMsgKind )1, "\n"); |
| 11636 |
} else { |
|
11636 |
} else { |
| 11637 |
|
|
11637 |
|
| 11638 |
} |
|
11638 |
} |
| 11639 |
if (vgPlain_clo_xml) { |
|
11639 |
if (vgPlain_clo_xml) { |
| 11640 |
vgPlain_elapsed_wallclock_time(buf); |
|
11640 |
vgPlain_elapsed_wallclock_time(buf); |
| 11641 |
vgPlain_printf_xml_no_f_c("<status>\n <state>FINISHED</state>\n <time>%t</time>\n</status>\n\n", |
|
11641 |
vgPlain_printf_xml_no_f_c("<status>\n <state>FINISHED</state>\n <time>%t</time>\n</status>\n\n", |
| 11642 |
buf); |
|
11642 |
buf); |
| 11643 |
} else { |
|
11643 |
} else { |
| 11644 |
|
|
11644 |
|
| 11645 |
} |
|
11645 |
} |
| 11646 |
if (vgPlain_clo_track_fds) { |
|
11646 |
if (vgPlain_clo_track_fds) { |
| 11647 |
vgPlain_show_open_fds(); |
|
11647 |
vgPlain_show_open_fds(); |
| 11648 |
} else { |
|
11648 |
} else { |
| 11649 |
|
|
11649 |
|
| 11650 |
} |
|
11650 |
} |
| 11651 |
tmp___22 = __builtin_expect((long )(! (! vgPlain_tdict.tool_fini)), 1L); |
|
11651 |
tmp___22 = __builtin_expect((long )(! (! vgPlain_tdict.tool_fini)), 1L); |
| 11652 |
if (tmp___22) { |
|
11652 |
if (tmp___22) { |
| 11653 |
|
|
11653 |
|
| 11654 |
} else { |
|
11654 |
} else { |
| 11655 |
vgPlain_assert_fail((Bool )0, (Char const *)"VG_(tdict).tool_fini", |
|
11655 |
vgPlain_assert_fail((Bool )0, (Char const *)"VG_(tdict).tool_fini", |
| 11656 |
(Char const *)"m_main.c", 2443, |
|
11656 |
(Char const *)"m_main.c", 2443, |
| 11657 |
(Char const *)"shutdown_actions_NORETURN", |
|
11657 |
(Char const *)"shutdown_actions_NORETURN", |
| 11658 |
"you forgot to set VgToolInterface function \'tool_fini\'"); |
|
11658 |
"you forgot to set VgToolInterface function \'tool_fini\'"); |
| 11659 |
} |
|
11659 |
} |
| 11660 |
(*(vgPlain_tdict.tool_fini))(0); |
|
11660 |
(*(vgPlain_tdict.tool_fini))(0); |
| 11661 |
if (vgPlain_clo_xml) { |
|
11661 |
if (vgPlain_clo_xml) { |
| 11662 |
if (vgPlain_needs.core_errors) { |
|
11662 |
if (vgPlain_needs.core_errors) { |
| 11663 |
vgPlain_show_error_counts_as_XML(); |
|
11663 |
vgPlain_show_error_counts_as_XML(); |
| 11664 |
} else |
|
11664 |
} else |
| 11665 |
if (vgPlain_needs.tool_errors) { |
|
11665 |
if (vgPlain_needs.tool_errors) { |
| 11666 |
vgPlain_show_error_counts_as_XML(); |
|
11666 |
vgPlain_show_error_counts_as_XML(); |
| 11667 |
} else { |
|
11667 |
} else { |
| 11668 |
|
|
11668 |
|
| 11669 |
} |
|
11669 |
} |
| 11670 |
} else { |
|
11670 |
} else { |
| 11671 |
|
|
11671 |
|
| 11672 |
} |
|
11672 |
} |
| 11673 |
if (vgPlain_needs.core_errors) { |
|
11673 |
if (vgPlain_needs.core_errors) { |
| 11674 |
vgPlain_show_all_errors(vgPlain_clo_verbosity, vgPlain_clo_xml); |
|
11674 |
vgPlain_show_all_errors(vgPlain_clo_verbosity, vgPlain_clo_xml); |
| 11675 |
} else |
|
11675 |
} else |
| 11676 |
if (vgPlain_needs.tool_errors) { |
|
11676 |
if (vgPlain_needs.tool_errors) { |
| 11677 |
vgPlain_show_all_errors(vgPlain_clo_verbosity, vgPlain_clo_xml); |
|
11677 |
vgPlain_show_all_errors(vgPlain_clo_verbosity, vgPlain_clo_xml); |
| 11678 |
} else { |
|
11678 |
} else { |
| 11679 |
|
|
11679 |
|
| 11680 |
} |
|
11680 |
} |
| 11681 |
if (vgPlain_clo_xml) { |
|
11681 |
if (vgPlain_clo_xml) { |
| 11682 |
vgPlain_printf_xml("\n"); |
|
11682 |
vgPlain_printf_xml("\n"); |
| 11683 |
vgPlain_printf_xml("</valgrindoutput>\n"); |
|
11683 |
vgPlain_printf_xml("</valgrindoutput>\n"); |
| 11684 |
vgPlain_printf_xml("\n"); |
|
11684 |
vgPlain_printf_xml("\n"); |
| 11685 |
} else { |
|
11685 |
} else { |
| 11686 |
|
|
11686 |
|
| 11687 |
} |
|
11687 |
} |
| 11688 |
vgPlain_sanity_check_general((Bool )1); |
|
11688 |
vgPlain_sanity_check_general((Bool )1); |
| 11689 |
if (vgPlain_clo_stats) { |
|
11689 |
if (vgPlain_clo_stats) { |
| 11690 |
print_all_stats(); |
|
11690 |
print_all_stats(); |
| 11691 |
} else { |
|
11691 |
} else { |
| 11692 |
|
|
11692 |
|
| 11693 |
} |
|
11693 |
} |
| 11694 |
if (vgPlain_clo_profile_heap) { |
|
11694 |
if (vgPlain_clo_profile_heap) { |
| 11695 |
vgPlain_print_arena_cc_analysis(); |
|
11695 |
vgPlain_print_arena_cc_analysis(); |
| 11696 |
} else { |
|
11696 |
} else { |
| 11697 |
|
|
11697 |
|
| 11698 |
} |
|
11698 |
} |
| 11699 |
if ((int )vgPlain_clo_profile_flags > 0) { |
|
11699 |
if ((int )vgPlain_clo_profile_flags > 0) { |
| 11700 |
tmp___23 = vgPlain_get_BB_profile(tops, (UInt )200); |
|
11700 |
tmp___23 = vgPlain_get_BB_profile(tops, (UInt )200); |
| 11701 |
score_total = tmp___23; |
|
11701 |
score_total = tmp___23; |
| 11702 |
show_BB_profile(tops, (UInt )200, score_total); |
|
11702 |
show_BB_profile(tops, (UInt )200, score_total); |
| 11703 |
} else { |
|
11703 |
} else { |
| 11704 |
|
|
11704 |
|
| 11705 |
} |
|
11705 |
} |
| 11706 |
vgPlain_message_flush(); |
|
11706 |
vgPlain_message_flush(); |
| 11707 |
vgPlain_gdbserver((ThreadId )0); |
|
11707 |
vgPlain_gdbserver((ThreadId )0); |
| 11708 |
vgPlain_debugLog(1, "core_os", "VG_(terminate_NORETURN)(tid=%lld)\n", |
|
11708 |
vgPlain_debugLog(1, "core_os", "VG_(terminate_NORETURN)(tid=%lld)\n", |
| 11709 |
(ULong )tid); |
|
11709 |
(ULong )tid); |
| 11710 |
switch ((unsigned int )tids_schedretcode) { |
|
11710 |
switch ((unsigned int )tids_schedretcode) { |
| 11711 |
case 2U: |
|
11711 |
case 2U: |
| 11712 |
case 1U: |
|
11712 |
case 1U: |
| 11713 |
if (vgPlain_clo_error_exitcode > 0) { |
|
11713 |
if (vgPlain_clo_error_exitcode > 0) { |
| 11714 |
tmp___24 = vgPlain_get_n_errs_found(); |
|
11714 |
tmp___24 = vgPlain_get_n_errs_found(); |
| 11715 |
if (tmp___24 > 0U) { |
|
11715 |
if (tmp___24 > 0U) { |
| 11716 |
vgPlain_exit(vgPlain_clo_error_exitcode); |
|
11716 |
vgPlain_exit(vgPlain_clo_error_exitcode); |
| 11717 |
} else { |
|
11717 |
} else { |
| 11718 |
vgPlain_exit((Int )vgPlain_threads[tid].os_state.exitcode); |
|
11718 |
vgPlain_exit((Int )vgPlain_threads[tid].os_state.exitcode); |
| 11719 |
} |
|
11719 |
} |
| 11720 |
} else { |
|
11720 |
} else { |
| 11721 |
vgPlain_exit((Int )vgPlain_threads[tid].os_state.exitcode); |
|
11721 |
vgPlain_exit((Int )vgPlain_threads[tid].os_state.exitcode); |
| 11722 |
} |
|
11722 |
} |
| 11723 |
vgPlain_core_panic((Char *)"entered the afterlife in main() -- ExitT/P"); |
|
11723 |
vgPlain_core_panic((Char *)"entered the afterlife in main() -- ExitT/P"); |
| 11724 |
break; |
|
11724 |
break; |
| 11725 |
case 3U: |
|
11725 |
case 3U: |
| 11726 |
tmp___25 = __builtin_expect((long )(! (! (vgPlain_threads[tid].os_state.fatalsig != 0))), |
|
11726 |
tmp___25 = __builtin_expect((long )(! (! (vgPlain_threads[tid].os_state.fatalsig != 0))), |
| 11727 |
1L); |
|
11727 |
1L); |
| 11728 |
if (tmp___25) { |
|
11728 |
if (tmp___25) { |
| 11729 |
|
|
11729 |
|
| 11730 |
} else { |
|
11730 |
} else { |
| 11731 |
vgPlain_assert_fail((Bool )1, |
|
11731 |
vgPlain_assert_fail((Bool )1, |
| 11732 |
(Char const *)"VG_(threads)[tid].os_state.fatalsig != 0", |
|
11732 |
(Char const *)"VG_(threads)[tid].os_state.fatalsig != 0", |
| 11733 |
(Char const *)"m_main.c", 2518, |
|
11733 |
(Char const *)"m_main.c", 2518, |
| 11734 |
(Char const *)"shutdown_actions_NORETURN", ""); |
|
11734 |
(Char const *)"shutdown_actions_NORETURN", ""); |
| 11735 |
} |
|
11735 |
} |
| 11736 |
vgPlain_kill_self(vgPlain_threads[tid].os_state.fatalsig); |
|
11736 |
vgPlain_kill_self(vgPlain_threads[tid].os_state.fatalsig); |
| 11737 |
vgPlain_core_panic((Char *)"main(): signal was supposed to be fatal"); |
|
11737 |
vgPlain_core_panic((Char *)"main(): signal was supposed to be fatal"); |
| 11738 |
break; |
|
11738 |
break; |
| 11739 |
default: |
|
11739 |
default: |
| 11740 |
vgPlain_core_panic((Char *)"main(): unexpected scheduler return code"); |
|
11740 |
vgPlain_core_panic((Char *)"main(): unexpected scheduler return code"); |
| 11741 |
} |
|
11741 |
} |
| 11742 |
return; |
|
11742 |
return; |
| 11743 |
} |
|
11743 |
} |
| 11744 |
} |
|
11744 |
} |
| 11745 |
static void final_tidyup(ThreadId tid ) |
|
11745 |
static void final_tidyup(ThreadId tid ) |
| 11746 |
{ |
|
11746 |
{ |
| 11747 |
Addr __libc_freeres_wrapper ; |
|
11747 |
Addr __libc_freeres_wrapper ; |
| 11748 |
Bool tmp ; |
|
11748 |
Bool tmp ; |
| 11749 |
int tmp___0 ; |
|
11749 |
int tmp___0 ; |
| 11750 |
long tmp___1 ; |
|
11750 |
long tmp___1 ; |
| 11751 |
Bool tmp___2 ; |
|
11751 |
Bool tmp___2 ; |
| 11752 |
int tmp___3 ; |
|
11752 |
int tmp___3 ; |
| 11753 |
long tmp___4 ; |
|
11753 |
long tmp___4 ; |
| 11754 |
Bool tmp___5 ; |
|
11754 |
Bool tmp___5 ; |
| 11755 |
int tmp___6 ; |
|
11755 |
int tmp___6 ; |
| 11756 |
long tmp___7 ; |
|
11756 |
long tmp___7 ; |
| 11757 |
|
|
11757 |
|
| 11758 |
{ |
|
11758 |
{ |
| 11759 |
__libc_freeres_wrapper = vgPlain_client___libc_freeres_wrapper; |
|
11759 |
__libc_freeres_wrapper = vgPlain_client___libc_freeres_wrapper; |
| 11760 |
tmp = vgPlain_is_running_thread(tid); |
|
11760 |
tmp = vgPlain_is_running_thread(tid); |
| 11761 |
if (tmp) { |
|
11761 |
if (tmp) { |
| 11762 |
tmp___0 = 1; |
|
11762 |
tmp___0 = 1; |
| 11763 |
} else { |
|
11763 |
} else { |
| 11764 |
tmp___0 = 0; |
|
11764 |
tmp___0 = 0; |
| 11765 |
} |
|
11765 |
} |
| 11766 |
tmp___1 = __builtin_expect((long )tmp___0, 1L); |
|
11766 |
tmp___1 = __builtin_expect((long )tmp___0, 1L); |
| 11767 |
if (tmp___1) { |
|
11767 |
if (tmp___1) { |
| 11768 |
|
|
11768 |
|
| 11769 |
} else { |
|
11769 |
} else { |
| 11770 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_running_thread)(tid)", |
|
11770 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_running_thread)(tid)", |
| 11771 |
(Char const *)"m_main.c", 2550, |
|
11771 |
(Char const *)"m_main.c", 2550, |
| 11772 |
(Char const *)"final_tidyup", ""); |
|
11772 |
(Char const *)"final_tidyup", ""); |
| 11773 |
} |
|
11773 |
} |
| 11774 |
if (! vgPlain_needs.libc_freeres) { |
|
11774 |
if (! vgPlain_needs.libc_freeres) { |
| 11775 |
return; |
|
11775 |
return; |
| 11776 |
} else |
|
11776 |
} else |
| 11777 |
if (! vgPlain_clo_run_libc_freeres) { |
|
11777 |
if (! vgPlain_clo_run_libc_freeres) { |
| 11778 |
return; |
|
11778 |
return; |
| 11779 |
} else |
|
11779 |
} else |
| 11780 |
if (0UL == __libc_freeres_wrapper) { |
|
11780 |
if (0UL == __libc_freeres_wrapper) { |
| 11781 |
return; |
|
11781 |
return; |
| 11782 |
} else { |
|
11782 |
} else { |
| 11783 |
|
|
11783 |
|
| 11784 |
} |
|
11784 |
} |
| 11785 |
if (vgPlain_clo_verbosity > 2) { |
|
11785 |
if (vgPlain_clo_verbosity > 2) { |
| 11786 |
vgPlain_message((VgMsgKind )2, |
|
11786 |
vgPlain_message((VgMsgKind )2, |
| 11787 |
"Caught __NR_exit; running __libc_freeres()\n"); |
|
11787 |
"Caught __NR_exit; running __libc_freeres()\n"); |
| 11788 |
} else |
|
11788 |
} else |
| 11789 |
if (vgPlain_clo_trace_syscalls) { |
|
11789 |
if (vgPlain_clo_trace_syscalls) { |
| 11790 |
vgPlain_message((VgMsgKind )2, |
|
11790 |
vgPlain_message((VgMsgKind )2, |
| 11791 |
"Caught __NR_exit; running __libc_freeres()\n"); |
|
11791 |
"Caught __NR_exit; running __libc_freeres()\n"); |
| 11792 |
} else |
|
11792 |
} else |
| 11793 |
if (vgPlain_clo_trace_sched) { |
|
11793 |
if (vgPlain_clo_trace_sched) { |
| 11794 |
vgPlain_message((VgMsgKind )2, |
|
11794 |
vgPlain_message((VgMsgKind )2, |
| 11795 |
"Caught __NR_exit; running __libc_freeres()\n"); |
|
11795 |
"Caught __NR_exit; running __libc_freeres()\n"); |
| 11796 |
} else { |
|
11796 |
} else { |
| 11797 |
|
|
11797 |
|
| 11798 |
} |
|
11798 |
} |
| 11799 |
vgPlain_set_IP(tid, __libc_freeres_wrapper); |
|
11799 |
vgPlain_set_IP(tid, __libc_freeres_wrapper); |
| 11800 |
vgPlain_sigprocmask(0, (vki_sigset_t const *)((void *)0), |
|
11800 |
vgPlain_sigprocmask(0, (vki_sigset_t const *)((void *)0), |
| 11801 |
& vgPlain_threads[tid].sig_mask); |
|
11801 |
& vgPlain_threads[tid].sig_mask); |
| 11802 |
vgPlain_threads[tid].tmp_sig_mask = vgPlain_threads[tid].sig_mask; |
|
11802 |
vgPlain_threads[tid].tmp_sig_mask = vgPlain_threads[tid].sig_mask; |
| 11803 |
vgPlain_set_default_handler(11); |
|
11803 |
vgPlain_set_default_handler(11); |
| 11804 |
vgPlain_set_default_handler(7); |
|
11804 |
vgPlain_set_default_handler(7); |
| 11805 |
vgPlain_set_default_handler(4); |
|
11805 |
vgPlain_set_default_handler(4); |
| 11806 |
vgPlain_set_default_handler(8); |
|
11806 |
vgPlain_set_default_handler(8); |
| 11807 |
tmp___2 = vgPlain_is_exiting(tid); |
|
11807 |
tmp___2 = vgPlain_is_exiting(tid); |
| 11808 |
if (tmp___2) { |
|
11808 |
if (tmp___2) { |
| 11809 |
tmp___3 = 1; |
|
11809 |
tmp___3 = 1; |
| 11810 |
} else { |
|
11810 |
} else { |
| 11811 |
tmp___3 = 0; |
|
11811 |
tmp___3 = 0; |
| 11812 |
} |
|
11812 |
} |
| 11813 |
tmp___4 = __builtin_expect((long )tmp___3, 1L); |
|
11813 |
tmp___4 = __builtin_expect((long )tmp___3, 1L); |
| 11814 |
if (tmp___4) { |
|
11814 |
if (tmp___4) { |
| 11815 |
|
|
11815 |
|
| 11816 |
} else { |
|
11816 |
} else { |
| 11817 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_exiting)(tid)", |
|
11817 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_exiting)(tid)", |
| 11818 |
(Char const *)"m_main.c", 2599, |
|
11818 |
(Char const *)"m_main.c", 2599, |
| 11819 |
(Char const *)"final_tidyup", ""); |
|
11819 |
(Char const *)"final_tidyup", ""); |
| 11820 |
} |
|
11820 |
} |
| 11821 |
vgPlain_threads[tid].exitreason = (VgSchedReturnCode )0; |
|
11821 |
vgPlain_threads[tid].exitreason = (VgSchedReturnCode )0; |
| 11822 |
vgPlain_scheduler(tid); |
|
11822 |
vgPlain_scheduler(tid); |
| 11823 |
tmp___5 = vgPlain_is_exiting(tid); |
|
11823 |
tmp___5 = vgPlain_is_exiting(tid); |
| 11824 |
if (tmp___5) { |
|
11824 |
if (tmp___5) { |
| 11825 |
tmp___6 = 1; |
|
11825 |
tmp___6 = 1; |
| 11826 |
} else { |
|
11826 |
} else { |
| 11827 |
tmp___6 = 0; |
|
11827 |
tmp___6 = 0; |
| 11828 |
} |
|
11828 |
} |
| 11829 |
tmp___7 = __builtin_expect((long )tmp___6, 1L); |
|
11829 |
tmp___7 = __builtin_expect((long )tmp___6, 1L); |
| 11830 |
if (tmp___7) { |
|
11830 |
if (tmp___7) { |
| 11831 |
|
|
11831 |
|
| 11832 |
} else { |
|
11832 |
} else { |
| 11833 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_exiting)(tid)", |
|
11833 |
vgPlain_assert_fail((Bool )1, (Char const *)"VG_(is_exiting)(tid)", |
| 11834 |
(Char const *)"m_main.c", 2607, |
|
11834 |
(Char const *)"m_main.c", 2607, |
| 11835 |
(Char const *)"final_tidyup", ""); |
|
11835 |
(Char const *)"final_tidyup", ""); |
| 11836 |
} |
|
11836 |
} |
| 11837 |
return; |
|
11837 |
return; |
| 11838 |
} |
|
11838 |
} |
| 11839 |
} |
|
11839 |
} |
| 11840 |
void *memcpy(void *dest , void const *src , SizeT n ) ; |
|
11840 |
void *memcpy(void *dest , void const *src , SizeT n ) ; |
| 11841 |
void *memcpy(void *dest , void const *src , SizeT n ) |
|
11841 |
void *memcpy(void *dest , void const *src , SizeT n ) |
| 11842 |
{ |
|
11842 |
{ |
| 11843 |
void *tmp ; |
|
11843 |
void *tmp ; |
| 11844 |
|
|
11844 |
|
| 11845 |
{ |
|
11845 |
{ |
| 11846 |
tmp = vgPlain_memcpy(dest, src, n); |
|
11846 |
tmp = vgPlain_memcpy(dest, src, n); |
| 11847 |
return (tmp); |
|
11847 |
return (tmp); |
| 11848 |
} |
|
11848 |
} |
| 11849 |
} |
|
11849 |
} |
| 11850 |
void *memset(void *s , int c , SizeT n ) ; |
|
11850 |
void *memset(void *s , int c , SizeT n ) ; |
| 11851 |
void *memset(void *s , int c , SizeT n ) |
|
11851 |
void *memset(void *s , int c , SizeT n ) |
| 11852 |
{ |
|
11852 |
{ |
| 11853 |
void *tmp ; |
|
11853 |
void *tmp ; |
| 11854 |
|
|
11854 |
|
| 11855 |
{ |
|
11855 |
{ |
| 11856 |
tmp = vgPlain_memset(s, c, n); |
|
11856 |
tmp = vgPlain_memset(s, c, n); |
| 11857 |
return (tmp); |
|
11857 |
return (tmp); |
| 11858 |
} |
|
11858 |
} |
| 11859 |
} |
|
11859 |
} |
| 11860 |
void abort(void) ; |
|
11860 |
void abort(void) ; |
| 11861 |
void abort(void) |
|
11861 |
void abort(void) |
| 11862 |
{ |
|
11862 |
{ |
| 11863 |
long tmp ; |
|
11863 |
long tmp ; |
| 11864 |
|
|
11864 |
|
| 11865 |
{ |
|
11865 |
{ |
| 11866 |
vgPlain_printf("Something called raise().\n"); |
|
11866 |
vgPlain_printf("Something called raise().\n"); |
| 11867 |
tmp = __builtin_expect(0L, 1L); |
|
11867 |
tmp = __builtin_expect(0L, 1L); |
| 11868 |
if (tmp) { |
|
11868 |
if (tmp) { |
| 11869 |
|
|
11869 |
|
| 11870 |
} else { |
|
11870 |
} else { |
| 11871 |
vgPlain_assert_fail((Bool )1, (Char const *)"0", |
|
11871 |
vgPlain_assert_fail((Bool )1, (Char const *)"0", |
| 11872 |
(Char const *)"m_main.c", 2652, |
|
11872 |
(Char const *)"m_main.c", 2652, |
| 11873 |
(Char const *)"abort", ""); |
|
11873 |
(Char const *)"abort", ""); |
| 11874 |
} |
|
11874 |
} |
| 11875 |
return; |
|
11875 |
return; |
| 11876 |
} |
|
11876 |
} |
| 11877 |
} |
|
11877 |
} |
| 11878 |
__asm__("\n.text\n\t.globl _start\n\t.type _start,@function\n_start:\n\tmovl $vgPlain_interim_stack, %eax\n\taddl $8192, %eax\n\taddl $(4096 * 256), %eax\n\tsubl $16, %eax\n\tandl $~15, %eax\n\txchgl %eax, %esp\n\tpushl %eax\n\tcall _start_in_C_linux\n\thlt\n.previous\n"); |
|
11878 |
__asm__("\n.text\n\t.globl _start\n\t.type _start,@function\n_start:\n\tmovl $vgPlain_interim_stack, %eax\n\taddl $8192, %eax\n\taddl $(4096 * 256), %eax\n\tsubl $16, %eax\n\tandl $~15, %eax\n\txchgl %eax, %esp\n\tpushl %eax\n\tcall _start_in_C_linux\n\thlt\n.previous\n"); |
| 11879 |
void _start_in_C_linux(UWord *pArgc ) ; |
|
11879 |
void _start_in_C_linux(UWord *pArgc ) ; |
| 11880 |
void _start_in_C_linux(UWord *pArgc ) |
|
11880 |
void _start_in_C_linux(UWord *pArgc ) |
| 11881 |
{ |
|
11881 |
{ |
| 11882 |
Int r ; |
|
11882 |
Int r ; |
| 11883 |
Word argc ; |
|
11883 |
Word argc ; |
| 11884 |
HChar **argv ; |
|
11884 |
HChar **argv ; |
| 11885 |
HChar **envp ; |
|
11885 |
HChar **envp ; |
| 11886 |
|
|
11886 |
|
| 11887 |
{ |
|
11887 |
{ |
| 11888 |
argc = (Word )*(pArgc + 0); |
|
11888 |
argc = (Word )*(pArgc + 0); |
| 11889 |
argv = (HChar **)(pArgc + 1); |
|
11889 |
argv = (HChar **)(pArgc + 1); |
| 11890 |
envp = (HChar **)(pArgc + ((1L + argc) + 1L)); |
|
11890 |
envp = (HChar **)(pArgc + ((1L + argc) + 1L)); |
| 11891 |
vgPlain_memset((void *)(& the_iicii), 0, (SizeT )sizeof(the_iicii)); |
|
11891 |
vgPlain_memset((void *)(& the_iicii), 0, (SizeT )sizeof(the_iicii)); |
| 11892 |
vgPlain_memset((void *)(& the_iifii), 0, (SizeT )sizeof(the_iifii)); |
|
11892 |
vgPlain_memset((void *)(& the_iifii), 0, (SizeT )sizeof(the_iifii)); |
| 11893 |
the_iicii.sp_at_startup = (Addr )pArgc; |
|
11893 |
the_iicii.sp_at_startup = (Addr )pArgc; |
| 11894 |
r = valgrind_main((Int )argc, argv, envp); |
|
11894 |
r = valgrind_main((Int )argc, argv, envp); |
| 11895 |
vgPlain_exit(r); |
|
11895 |
vgPlain_exit(r); |
| 11896 |
} |
|
11896 |
} |
| 11897 |
} |
|
11897 |
} |